0s autopkgtest [01:58:09]: starting date and time: 2024-12-04 01:58:09+0000 0s autopkgtest [01:58:09]: git checkout: be626eda Fix armhf LXD image generation for plucky 0s autopkgtest [01:58:09]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.nm5wjt_i/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:xauth --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-25.secgroup --name adt-plucky-arm64-glib2.0-20241204-012817-juju-7f2275-prod-proposed-migration-environment-15-bd7aeeb4-0eff-4956-a68d-869465396118 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -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'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 130s autopkgtest [02:00:19]: testbed dpkg architecture: arm64 130s autopkgtest [02:00:19]: testbed apt version: 2.9.14ubuntu1 131s autopkgtest [02:00:20]: @@@@@@@@@@@@@@@@@@@@ test bed setup 131s autopkgtest [02:00:20]: testbed release detected to be: None 132s autopkgtest [02:00:21]: updating testbed package index (apt update) 132s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 132s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 132s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 132s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 132s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 133s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 133s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 133s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 133s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [131 kB] 133s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [58.2 kB] 133s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [627 kB] 133s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [20.8 kB] 133s Fetched 1753 kB in 1s (1904 kB/s) 134s Reading package lists... 134s Reading package lists... 135s Building dependency tree... 135s Reading state information... 135s Calculating upgrade... 136s The following package was automatically installed and is no longer required: 136s libassuan0 136s Use 'sudo apt autoremove' to remove it. 136s The following packages will be upgraded: 136s binutils binutils-aarch64-linux-gnu binutils-common dirmngr gnupg gnupg-l10n 136s gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv keyboxd 136s libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgprofng0 libsframe1 136s publicsuffix 136s 21 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 136s Need to get 7826 kB of archives. 136s After this operation, 52.2 kB disk space will be freed. 136s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libcap-ng0 arm64 0.8.5-4 [14.9 kB] 136s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg-wks-client arm64 2.4.4-2ubuntu20 [70.3 kB] 136s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dirmngr arm64 2.4.4-2ubuntu20 [320 kB] 136s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgsm arm64 2.4.4-2ubuntu20 [227 kB] 136s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg-utils arm64 2.4.4-2ubuntu20 [107 kB] 136s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg-agent arm64 2.4.4-2ubuntu20 [224 kB] 136s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg arm64 2.4.4-2ubuntu20 [554 kB] 136s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgconf arm64 2.4.4-2ubuntu20 [103 kB] 136s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg all 2.4.4-2ubuntu20 [359 kB] 136s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 keyboxd arm64 2.4.4-2ubuntu20 [76.0 kB] 136s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgv arm64 2.4.4-2ubuntu20 [153 kB] 136s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 publicsuffix all 20241025.1547-0.1 [135 kB] 136s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libgprofng0 arm64 2.43.50.20241126-3ubuntu1 [781 kB] 136s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libctf0 arm64 2.43.50.20241126-3ubuntu1 [99.0 kB] 136s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libctf-nobfd0 arm64 2.43.50.20241126-3ubuntu1 [102 kB] 136s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils arm64 2.43.50.20241126-3ubuntu1 [3258 B] 136s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils-aarch64-linux-gnu arm64 2.43.50.20241126-3ubuntu1 [3390 kB] 136s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libbinutils arm64 2.43.50.20241126-3ubuntu1 [782 kB] 136s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils-common arm64 2.43.50.20241126-3ubuntu1 [244 kB] 136s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libsframe1 arm64 2.43.50.20241126-3ubuntu1 [14.3 kB] 136s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 137s Fetched 7826 kB in 1s (8561 kB/s) 137s (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 ... 80333 files and directories currently installed.) 137s Preparing to unpack .../libcap-ng0_0.8.5-4_arm64.deb ... 137s Unpacking libcap-ng0:arm64 (0.8.5-4) over (0.8.5-3build1) ... 137s Setting up libcap-ng0:arm64 (0.8.5-4) ... 137s (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 ... 80333 files and directories currently installed.) 137s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_arm64.deb ... 137s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 137s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_arm64.deb ... 138s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 138s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_arm64.deb ... 138s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 138s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_arm64.deb ... 138s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 138s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_arm64.deb ... 138s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 138s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_arm64.deb ... 138s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 138s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_arm64.deb ... 138s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 138s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 138s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 138s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_arm64.deb ... 138s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 138s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_arm64.deb ... 138s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 138s Setting up gpgv (2.4.4-2ubuntu20) ... 138s (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 ... 80333 files and directories currently installed.) 138s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 138s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 138s Preparing to unpack .../1-libgprofng0_2.43.50.20241126-3ubuntu1_arm64.deb ... 138s Unpacking libgprofng0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 138s Preparing to unpack .../2-libctf0_2.43.50.20241126-3ubuntu1_arm64.deb ... 138s Unpacking libctf0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 138s Preparing to unpack .../3-libctf-nobfd0_2.43.50.20241126-3ubuntu1_arm64.deb ... 138s Unpacking libctf-nobfd0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 139s Preparing to unpack .../4-binutils_2.43.50.20241126-3ubuntu1_arm64.deb ... 139s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 139s Preparing to unpack .../5-binutils-aarch64-linux-gnu_2.43.50.20241126-3ubuntu1_arm64.deb ... 139s Unpacking binutils-aarch64-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 139s Preparing to unpack .../6-libbinutils_2.43.50.20241126-3ubuntu1_arm64.deb ... 139s Unpacking libbinutils:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 139s Preparing to unpack .../7-binutils-common_2.43.50.20241126-3ubuntu1_arm64.deb ... 139s Unpacking binutils-common:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 139s Preparing to unpack .../8-libsframe1_2.43.50.20241126-3ubuntu1_arm64.deb ... 139s Unpacking libsframe1:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 139s Preparing to unpack .../9-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 139s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 139s Setting up binutils-common:arm64 (2.43.50.20241126-3ubuntu1) ... 139s Setting up libctf-nobfd0:arm64 (2.43.50.20241126-3ubuntu1) ... 139s Setting up libsframe1:arm64 (2.43.50.20241126-3ubuntu1) ... 139s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 139s Setting up gpgconf (2.4.4-2ubuntu20) ... 139s Setting up libbinutils:arm64 (2.43.50.20241126-3ubuntu1) ... 139s Setting up publicsuffix (20241025.1547-0.1) ... 139s Setting up gpg (2.4.4-2ubuntu20) ... 139s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 139s Setting up libctf0:arm64 (2.43.50.20241126-3ubuntu1) ... 139s Setting up gpg-agent (2.4.4-2ubuntu20) ... 140s Setting up gpgsm (2.4.4-2ubuntu20) ... 140s Setting up dirmngr (2.4.4-2ubuntu20) ... 140s Setting up libgprofng0:arm64 (2.43.50.20241126-3ubuntu1) ... 140s Setting up keyboxd (2.4.4-2ubuntu20) ... 140s Setting up gnupg (2.4.4-2ubuntu20) ... 140s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 140s Setting up binutils-aarch64-linux-gnu (2.43.50.20241126-3ubuntu1) ... 140s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 140s Processing triggers for install-info (7.1.1-1) ... 141s Processing triggers for libc-bin (2.40-1ubuntu3) ... 141s Processing triggers for man-db (2.13.0-1) ... 142s Reading package lists... 143s Building dependency tree... 143s Reading state information... 144s The following packages will be REMOVED: 144s libassuan0* 145s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 145s After this operation, 156 kB disk space will be freed. 145s (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 ... 80338 files and directories currently installed.) 145s Removing libassuan0:arm64 (2.5.6-1build1) ... 145s Processing triggers for libc-bin (2.40-1ubuntu3) ... 145s autopkgtest [02:00:34]: upgrading testbed (apt dist-upgrade and autopurge) 145s Reading package lists... 146s Building dependency tree... 146s Reading state information... 147s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 147s Starting 2 pkgProblemResolver with broken count: 0 147s Done 148s Entering ResolveByKeep 149s 149s The following packages will be upgraded: 149s xauth 150s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 150s Need to get 25.1 kB of archives. 150s After this operation, 0 B of additional disk space will be used. 150s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 xauth arm64 1:1.1.2-1.1 [25.1 kB] 150s Fetched 25.1 kB in 0s (119 kB/s) 150s (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 ... 80333 files and directories currently installed.) 150s Preparing to unpack .../xauth_1%3a1.1.2-1.1_arm64.deb ... 150s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 150s Setting up xauth (1:1.1.2-1.1) ... 150s Processing triggers for man-db (2.13.0-1) ... 151s Reading package lists... 151s Building dependency tree... 151s Reading state information... 152s Starting pkgProblemResolver with broken count: 0 152s Starting 2 pkgProblemResolver with broken count: 0 152s Done 154s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 156s autopkgtest [02:00:45]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 157s autopkgtest [02:00:46]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 170s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (dsc) [4921 B] 170s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (tar) [263 kB] 170s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (tar) [5556 kB] 170s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (diff) [141 kB] 170s gpgv: Signature made Wed Nov 13 21:48:54 2024 UTC 170s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 170s gpgv: Can't check signature: No public key 170s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.2-3.dsc: no acceptable signature found 171s autopkgtest [02:01:00]: testing package glib2.0 version 2.82.2-3 175s autopkgtest [02:01:04]: build not needed 180s autopkgtest [02:01:09]: test build: preparing testbed 181s Reading package lists... 181s Building dependency tree... 181s Reading state information... 182s Starting pkgProblemResolver with broken count: 0 182s Starting 2 pkgProblemResolver with broken count: 0 182s Done 183s The following NEW packages will be installed: 183s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 183s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 183s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libblkid-dev 183s libcc1-0 libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libhwasan0 183s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 183s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev 183s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 183s pkgconf-bin uuid-dev zlib1g-dev 183s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 183s Need to get 64.8 MB of archives. 183s After this operation, 228 MB of additional disk space will be used. 183s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 183s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 183s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-9ubuntu1 [10.6 MB] 184s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-9ubuntu1 [1030 B] 184s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 184s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 184s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-9ubuntu1 [49.6 kB] 184s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-9ubuntu1 [145 kB] 184s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-9ubuntu1 [27.7 kB] 184s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-9ubuntu1 [2892 kB] 184s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-9ubuntu1 [1283 kB] 185s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-9ubuntu1 [2687 kB] 185s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-9ubuntu1 [1152 kB] 185s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-9ubuntu1 [1599 kB] 185s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-9ubuntu1 [2594 kB] 185s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-9ubuntu1 [20.9 MB] 186s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-9ubuntu1 [520 kB] 186s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 186s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 186s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-9ubuntu1 [2473 kB] 186s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-9ubuntu1 [12.1 MB] 186s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-9ubuntu1 [20.1 kB] 186s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 186s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 186s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 186s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libffi-dev arm64 3.4.6-1build1 [59.5 kB] 186s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 uuid-dev arm64 2.40.2-1ubuntu1 [53.6 kB] 186s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libblkid-dev arm64 2.40.2-1ubuntu1 [241 kB] 186s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libsepol-dev arm64 3.7-1 [416 kB] 186s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu3 [200 kB] 186s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu3 [187 kB] 186s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu3 [6704 B] 186s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-dev arm64 10.42-4ubuntu3 [694 kB] 186s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libselinux1-dev arm64 3.7-3ubuntu1 [174 kB] 186s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libmount-dev arm64 2.40.2-1ubuntu1 [33.0 kB] 186s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libsysprof-capture-4-dev arm64 47.2-1 [54.7 kB] 186s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 186s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 186s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 186s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 186s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev arm64 2.82.2-3 [1909 kB] 187s Fetched 64.8 MB in 4s (18.1 MB/s) 187s Selecting previously unselected package libisl23:arm64. 187s (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 ... 80333 files and directories currently installed.) 187s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 187s Unpacking libisl23:arm64 (0.27-1) ... 187s Selecting previously unselected package libmpc3:arm64. 187s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 187s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 187s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 187s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-9ubuntu1_arm64.deb ... 187s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-9ubuntu1) ... 187s Selecting previously unselected package cpp-14. 187s Preparing to unpack .../03-cpp-14_14.2.0-9ubuntu1_arm64.deb ... 187s Unpacking cpp-14 (14.2.0-9ubuntu1) ... 187s Selecting previously unselected package cpp-aarch64-linux-gnu. 187s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 187s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 187s Selecting previously unselected package cpp. 187s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 187s Unpacking cpp (4:14.1.0-2ubuntu1) ... 187s Selecting previously unselected package libcc1-0:arm64. 187s Preparing to unpack .../06-libcc1-0_14.2.0-9ubuntu1_arm64.deb ... 187s Unpacking libcc1-0:arm64 (14.2.0-9ubuntu1) ... 187s Selecting previously unselected package libgomp1:arm64. 187s Preparing to unpack .../07-libgomp1_14.2.0-9ubuntu1_arm64.deb ... 187s Unpacking libgomp1:arm64 (14.2.0-9ubuntu1) ... 187s Selecting previously unselected package libitm1:arm64. 187s Preparing to unpack .../08-libitm1_14.2.0-9ubuntu1_arm64.deb ... 187s Unpacking libitm1:arm64 (14.2.0-9ubuntu1) ... 187s Selecting previously unselected package libasan8:arm64. 187s Preparing to unpack .../09-libasan8_14.2.0-9ubuntu1_arm64.deb ... 187s Unpacking libasan8:arm64 (14.2.0-9ubuntu1) ... 188s Selecting previously unselected package liblsan0:arm64. 188s Preparing to unpack .../10-liblsan0_14.2.0-9ubuntu1_arm64.deb ... 188s Unpacking liblsan0:arm64 (14.2.0-9ubuntu1) ... 188s Selecting previously unselected package libtsan2:arm64. 188s Preparing to unpack .../11-libtsan2_14.2.0-9ubuntu1_arm64.deb ... 188s Unpacking libtsan2:arm64 (14.2.0-9ubuntu1) ... 188s Selecting previously unselected package libubsan1:arm64. 188s Preparing to unpack .../12-libubsan1_14.2.0-9ubuntu1_arm64.deb ... 188s Unpacking libubsan1:arm64 (14.2.0-9ubuntu1) ... 188s Selecting previously unselected package libhwasan0:arm64. 188s Preparing to unpack .../13-libhwasan0_14.2.0-9ubuntu1_arm64.deb ... 188s Unpacking libhwasan0:arm64 (14.2.0-9ubuntu1) ... 188s Selecting previously unselected package libgcc-14-dev:arm64. 188s Preparing to unpack .../14-libgcc-14-dev_14.2.0-9ubuntu1_arm64.deb ... 188s Unpacking libgcc-14-dev:arm64 (14.2.0-9ubuntu1) ... 188s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 188s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-9ubuntu1_arm64.deb ... 188s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-9ubuntu1) ... 189s Selecting previously unselected package gcc-14. 189s Preparing to unpack .../16-gcc-14_14.2.0-9ubuntu1_arm64.deb ... 189s Unpacking gcc-14 (14.2.0-9ubuntu1) ... 189s Selecting previously unselected package gcc-aarch64-linux-gnu. 189s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 189s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 189s Selecting previously unselected package gcc. 189s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 189s Unpacking gcc (4:14.1.0-2ubuntu1) ... 189s Selecting previously unselected package libstdc++-14-dev:arm64. 189s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-9ubuntu1_arm64.deb ... 189s Unpacking libstdc++-14-dev:arm64 (14.2.0-9ubuntu1) ... 189s Selecting previously unselected package g++-14-aarch64-linux-gnu. 189s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-9ubuntu1_arm64.deb ... 189s Unpacking g++-14-aarch64-linux-gnu (14.2.0-9ubuntu1) ... 189s Selecting previously unselected package g++-14. 189s Preparing to unpack .../21-g++-14_14.2.0-9ubuntu1_arm64.deb ... 189s Unpacking g++-14 (14.2.0-9ubuntu1) ... 189s Selecting previously unselected package g++-aarch64-linux-gnu. 189s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 189s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 189s Selecting previously unselected package g++. 189s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 189s Unpacking g++ (4:14.1.0-2ubuntu1) ... 189s Selecting previously unselected package build-essential. 189s Preparing to unpack .../24-build-essential_12.10ubuntu1_arm64.deb ... 189s Unpacking build-essential (12.10ubuntu1) ... 189s Selecting previously unselected package libffi-dev:arm64. 189s Preparing to unpack .../25-libffi-dev_3.4.6-1build1_arm64.deb ... 189s Unpacking libffi-dev:arm64 (3.4.6-1build1) ... 189s Selecting previously unselected package uuid-dev:arm64. 189s Preparing to unpack .../26-uuid-dev_2.40.2-1ubuntu1_arm64.deb ... 189s Unpacking uuid-dev:arm64 (2.40.2-1ubuntu1) ... 190s Selecting previously unselected package libblkid-dev:arm64. 190s Preparing to unpack .../27-libblkid-dev_2.40.2-1ubuntu1_arm64.deb ... 190s Unpacking libblkid-dev:arm64 (2.40.2-1ubuntu1) ... 190s Selecting previously unselected package libsepol-dev:arm64. 190s Preparing to unpack .../28-libsepol-dev_3.7-1_arm64.deb ... 190s Unpacking libsepol-dev:arm64 (3.7-1) ... 190s Selecting previously unselected package libpcre2-16-0:arm64. 190s Preparing to unpack .../29-libpcre2-16-0_10.42-4ubuntu3_arm64.deb ... 190s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 190s Selecting previously unselected package libpcre2-32-0:arm64. 190s Preparing to unpack .../30-libpcre2-32-0_10.42-4ubuntu3_arm64.deb ... 190s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 190s Selecting previously unselected package libpcre2-posix3:arm64. 190s Preparing to unpack .../31-libpcre2-posix3_10.42-4ubuntu3_arm64.deb ... 190s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 190s Selecting previously unselected package libpcre2-dev:arm64. 190s Preparing to unpack .../32-libpcre2-dev_10.42-4ubuntu3_arm64.deb ... 190s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu3) ... 190s Selecting previously unselected package libselinux1-dev:arm64. 190s Preparing to unpack .../33-libselinux1-dev_3.7-3ubuntu1_arm64.deb ... 190s Unpacking libselinux1-dev:arm64 (3.7-3ubuntu1) ... 190s Selecting previously unselected package libmount-dev:arm64. 190s Preparing to unpack .../34-libmount-dev_2.40.2-1ubuntu1_arm64.deb ... 190s Unpacking libmount-dev:arm64 (2.40.2-1ubuntu1) ... 190s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 190s Preparing to unpack .../35-libsysprof-capture-4-dev_47.2-1_arm64.deb ... 190s Unpacking libsysprof-capture-4-dev:arm64 (47.2-1) ... 190s Selecting previously unselected package libpkgconf3:arm64. 190s Preparing to unpack .../36-libpkgconf3_1.8.1-4_arm64.deb ... 190s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 190s Selecting previously unselected package pkgconf-bin. 190s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_arm64.deb ... 190s Unpacking pkgconf-bin (1.8.1-4) ... 190s Selecting previously unselected package pkgconf:arm64. 190s Preparing to unpack .../38-pkgconf_1.8.1-4_arm64.deb ... 190s Unpacking pkgconf:arm64 (1.8.1-4) ... 190s Selecting previously unselected package zlib1g-dev:arm64. 190s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 190s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 190s Selecting previously unselected package libgio-2.0-dev:arm64. 190s Preparing to unpack .../40-libgio-2.0-dev_2.82.2-3_arm64.deb ... 190s Unpacking libgio-2.0-dev:arm64 (2.82.2-3) ... 190s Setting up libgomp1:arm64 (14.2.0-9ubuntu1) ... 190s Setting up libffi-dev:arm64 (3.4.6-1build1) ... 190s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 190s Setting up libsysprof-capture-4-dev:arm64 (47.2-1) ... 190s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 190s Setting up libpkgconf3:arm64 (1.8.1-4) ... 190s Setting up uuid-dev:arm64 (2.40.2-1ubuntu1) ... 190s Setting up libmpc3:arm64 (1.3.1-1build2) ... 190s Setting up libsepol-dev:arm64 (3.7-1) ... 190s Setting up pkgconf-bin (1.8.1-4) ... 190s Setting up libubsan1:arm64 (14.2.0-9ubuntu1) ... 190s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 190s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 190s Setting up libhwasan0:arm64 (14.2.0-9ubuntu1) ... 190s Setting up libasan8:arm64 (14.2.0-9ubuntu1) ... 190s Setting up libtsan2:arm64 (14.2.0-9ubuntu1) ... 190s Setting up libisl23:arm64 (0.27-1) ... 190s Setting up libcc1-0:arm64 (14.2.0-9ubuntu1) ... 190s Setting up liblsan0:arm64 (14.2.0-9ubuntu1) ... 190s Setting up libitm1:arm64 (14.2.0-9ubuntu1) ... 190s Setting up libblkid-dev:arm64 (2.40.2-1ubuntu1) ... 190s Setting up libpcre2-dev:arm64 (10.42-4ubuntu3) ... 190s Setting up libselinux1-dev:arm64 (3.7-3ubuntu1) ... 190s Setting up pkgconf:arm64 (1.8.1-4) ... 190s Setting up cpp-14-aarch64-linux-gnu (14.2.0-9ubuntu1) ... 190s Setting up libgcc-14-dev:arm64 (14.2.0-9ubuntu1) ... 190s Setting up libstdc++-14-dev:arm64 (14.2.0-9ubuntu1) ... 190s Setting up libmount-dev:arm64 (2.40.2-1ubuntu1) ... 190s Setting up libgio-2.0-dev:arm64 (2.82.2-3) ... 190s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 190s Setting up cpp-14 (14.2.0-9ubuntu1) ... 190s Setting up cpp (4:14.1.0-2ubuntu1) ... 190s Setting up gcc-14-aarch64-linux-gnu (14.2.0-9ubuntu1) ... 190s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 190s Setting up g++-14-aarch64-linux-gnu (14.2.0-9ubuntu1) ... 190s Setting up gcc-14 (14.2.0-9ubuntu1) ... 190s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 190s Setting up g++-14 (14.2.0-9ubuntu1) ... 190s Setting up gcc (4:14.1.0-2ubuntu1) ... 190s Setting up g++ (4:14.1.0-2ubuntu1) ... 190s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 190s Setting up build-essential (12.10ubuntu1) ... 190s Processing triggers for libc-bin (2.40-1ubuntu3) ... 191s Processing triggers for man-db (2.13.0-1) ... 191s Processing triggers for libglib2.0-0t64:arm64 (2.82.2-3) ... 191s No schema files found: doing nothing. 191s Processing triggers for install-info (7.1.1-1) ... 192s autopkgtest [02:01:21]: test build: [----------------------- 193s + mode=dynamic 193s + getopt -o --long static -n debian/tests/build -- 193s + getopt_temp= -- 193s + eval set -- -- 193s + set -- -- 193s + true 193s + shift 193s + break 193s + mktemp -d 193s + WORKDIR=/tmp/tmp.CIudArPsxO 193s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 193s + cd /tmp/tmp.CIudArPsxO 193s + [ -n ] 193s + CROSS_COMPILE= 193s + cat 193s + cat 193s + cat 193s + cat 193s + cat 193s + cat 193s + cflags= 193s + pcflags= 193s + packages=glib-2.0 193s + pkg-config --cflags --libs glib-2.0 193s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 193s build (glib, dynamic): OK 193s + echo build (glib, dynamic): OK 193s + [ -x glib-dynamic ] 193s + foo=bar ./glib-dynamic 193s + echo run (glib, dynamic): OKrun (glib, dynamic): OK 193s 193s + cflags= 193s + pcflags= 193s + packages=gobject-2.0 193s + pkg-config --cflags --libs gobject-2.0 193s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 193s + echo build (gobject, dynamic): OK 193s + [ -x gobject-dynamic ] 193s + foo=bar ./gobject-dynamic 193s build (gobject, dynamic): OK 193s run (gobject, dynamic): OK 193s + echo run (gobject, dynamic): OK 193s + cflags= 193s + pcflags= 193s + packages=gio-2.0 193s + pkg-config --cflags --libs gio-2.0 193s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 193s build (gio, dynamic): OK 193s + echo build (gio, dynamic): OK 193s + [ -x gio-dynamic ] 193s + foo=bar ./gio-dynamic 193s + echo run (gio, dynamic): OK 193s + cflags= 193s + pcflags= 193s + packages=gio-unix-2.0 193s + pkg-config --cflags --libs gio-unix-2.0 193s run (gio, dynamic): OK 193s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 193s build (gio-unix, dynamic): OK 193s + echo build (gio-unix, dynamic): OK 193s + [ -x gio-unix-dynamic ] 193s + foo=bar ./gio-unix-dynamic 193s + echo run (gio-unix, dynamic): OK 193s + cflags= 193s + pcflags= 193s + packages=gmodule-2.0 193s run (gio-unix, dynamic): OK 193s + pkg-config --cflags --libs gmodule-2.0 193s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 194s build (gmodule, dynamic): OK 194s + echo build (gmodule, dynamic): OK 194s + [ -x gmodule-dynamic ] 194s + foo=bar ./gmodule-dynamic 194s + echo run (gmodule, dynamic): OK 194s + cflags= 194s + pcflags= 194s + packages=gthread-2.0 194s run (gmodule, dynamic): OK 194s + pkg-config --cflags --libs gthread-2.0 194s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 194s build (gthread, dynamic): OK 194s + echo build (gthread, dynamic): OK 194s + [ -x gthread-dynamic ] 194s + foo=bar ./gthread-dynamic 194s + echo run (gthread, dynamic): OK 194s + rm -rf /tmp/tmp.CIudArPsxO 194s run (gthread, dynamic): OK 194s autopkgtest [02:01:23]: test build: -----------------------] 195s build PASS (superficial) 195s autopkgtest [02:01:24]: test build: - - - - - - - - - - results - - - - - - - - - - 195s autopkgtest [02:01:24]: test build-static: preparing testbed 195s Reading package lists... 195s Building dependency tree... 195s Reading state information... 196s Starting pkgProblemResolver with broken count: 0 196s Starting 2 pkgProblemResolver with broken count: 0 196s Done 197s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 197s autopkgtest [02:01:26]: test build-static: [----------------------- 198s + mode=dynamic 198s + getopt -o --long static -n debian/tests/build -- --static 198s + getopt_temp= --static -- 198s + eval set -- --static -- 198s + set -- --static -- 198s + true 198s + mode=static 198s + shift 198s + continue 198s + true 198s + shift 198s + break 198s + mktemp -d 198s + WORKDIR=/tmp/tmp.DqHik4CHcV 198s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 198s + cd /tmp/tmp.DqHik4CHcV 198s + [ -n ] 198s + CROSS_COMPILE= 198s + cat 198s + cat 198s + cat 198s + cat 198s + cat 198s + cat 198s + cflags= 198s + pcflags= 198s + packages=glib-2.0 198s + cflags=-static 198s + pcflags=--static 198s + pkg-config --static --cflags --libs glib-2.0 198s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 198s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 198s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 198s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 198s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 198s build (glib, static): OK 198s + echo build (glib, static): OK 198s + [ -x glib-static ] 198s + foo=bar ./glib-static 198s + echo run (glib, static): OK 198s + cflags= 198s + pcflags= 198s + packages=gobject-2.0 198s + cflags=-static 198s + pcflags=--static 198s + run (glib, static): OK 198s pkg-config --static --cflags --libs gobject-2.0 198s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 198s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 198s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 198s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 198s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 198s build (gobject, static): OK 198s + echo build (gobject, static): OK 198s + [ -x gobject-static ] 198s + foo=bar ./gobject-static 198s run (gobject, static): OK 198s + echo run (gobject, static): OK 198s + cflags= 198s + pcflags= 198s + packages=gio-2.0 198s + cflags=-static 198s + pcflags=--static 198s + continue 198s + cflags= 198s + pcflags= 198s + packages=gio-unix-2.0 198s + cflags=-static 198s + pcflags=--static 198s + continue 198s + cflags= 198s + pcflags= 198s + packages=gmodule-2.0 198s + cflags=-static 198s + pcflags=--static 198s + pkg-config --static --cflags --libs gmodule-2.0 198s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 198s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 198s (.text+0x604): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 198s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 198s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 198s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 198s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 199s build (gmodule, static): OK 199s + echo build (gmodule, static): OK 199s + [ -x gmodule-static ] 199s + foo=bar ./gmodule-static 199s + echo run (gmodule, static): OK 199s + cflags= 199s + pcflags= 199s + packages=gthread-2.0 199s + cflags=-static 199s + pcflags=--static 199s run (gmodule, static): OK 199s + pkg-config --static --cflags --libs gthread-2.0 199s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 199s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 199s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 199s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 199s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 199s build (gthread, static): OK 199s + echo build (gthread, static): OK 199s + [ -x gthread-static ] 199s + foo=bar ./gthread-static 199s + echo run (gthread, static): OK 199s + rm -rf /tmp/tmp.DqHik4CHcV 199s run (gthread, static): OK 199s autopkgtest [02:01:28]: test build-static: -----------------------] 200s build-static PASS (superficial) 200s autopkgtest [02:01:29]: test build-static: - - - - - - - - - - results - - - - - - - - - - 200s autopkgtest [02:01:29]: test girepository-tools: preparing testbed 336s autopkgtest [02:03:45]: testbed dpkg architecture: arm64 336s autopkgtest [02:03:45]: testbed apt version: 2.9.14ubuntu1 336s autopkgtest [02:03:45]: @@@@@@@@@@@@@@@@@@@@ test bed setup 336s autopkgtest [02:03:45]: testbed release detected to be: plucky 337s autopkgtest [02:03:46]: updating testbed package index (apt update) 337s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 338s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 338s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 338s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 338s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 338s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 338s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 338s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 338s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [131 kB] 338s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [58.2 kB] 338s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [627 kB] 338s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [20.8 kB] 338s Fetched 1753 kB in 1s (1888 kB/s) 340s Reading package lists... 340s Reading package lists... 340s Building dependency tree... 340s Reading state information... 341s Calculating upgrade... 341s The following package was automatically installed and is no longer required: 341s libassuan0 341s Use 'sudo apt autoremove' to remove it. 341s The following packages will be upgraded: 341s binutils binutils-aarch64-linux-gnu binutils-common dirmngr gnupg gnupg-l10n 341s gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv keyboxd 341s libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgprofng0 libsframe1 341s publicsuffix 342s 21 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 342s Need to get 7826 kB of archives. 342s After this operation, 52.2 kB disk space will be freed. 342s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libcap-ng0 arm64 0.8.5-4 [14.9 kB] 342s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg-wks-client arm64 2.4.4-2ubuntu20 [70.3 kB] 342s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dirmngr arm64 2.4.4-2ubuntu20 [320 kB] 342s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgsm arm64 2.4.4-2ubuntu20 [227 kB] 342s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg-utils arm64 2.4.4-2ubuntu20 [107 kB] 342s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg-agent arm64 2.4.4-2ubuntu20 [224 kB] 342s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg arm64 2.4.4-2ubuntu20 [554 kB] 342s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgconf arm64 2.4.4-2ubuntu20 [103 kB] 342s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg all 2.4.4-2ubuntu20 [359 kB] 342s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 keyboxd arm64 2.4.4-2ubuntu20 [76.0 kB] 342s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgv arm64 2.4.4-2ubuntu20 [153 kB] 342s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 publicsuffix all 20241025.1547-0.1 [135 kB] 342s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libgprofng0 arm64 2.43.50.20241126-3ubuntu1 [781 kB] 342s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libctf0 arm64 2.43.50.20241126-3ubuntu1 [99.0 kB] 342s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libctf-nobfd0 arm64 2.43.50.20241126-3ubuntu1 [102 kB] 342s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils arm64 2.43.50.20241126-3ubuntu1 [3258 B] 342s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils-aarch64-linux-gnu arm64 2.43.50.20241126-3ubuntu1 [3390 kB] 342s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libbinutils arm64 2.43.50.20241126-3ubuntu1 [782 kB] 342s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils-common arm64 2.43.50.20241126-3ubuntu1 [244 kB] 342s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libsframe1 arm64 2.43.50.20241126-3ubuntu1 [14.3 kB] 342s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 343s Fetched 7826 kB in 1s (8477 kB/s) 343s (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 ... 80333 files and directories currently installed.) 343s Preparing to unpack .../libcap-ng0_0.8.5-4_arm64.deb ... 343s Unpacking libcap-ng0:arm64 (0.8.5-4) over (0.8.5-3build1) ... 343s Setting up libcap-ng0:arm64 (0.8.5-4) ... 343s (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 ... 80333 files and directories currently installed.) 343s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_arm64.deb ... 343s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 343s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_arm64.deb ... 343s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 344s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_arm64.deb ... 344s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 344s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_arm64.deb ... 344s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 344s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_arm64.deb ... 344s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 344s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_arm64.deb ... 344s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 344s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_arm64.deb ... 344s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 344s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 344s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 344s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_arm64.deb ... 344s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 344s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_arm64.deb ... 344s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 344s Setting up gpgv (2.4.4-2ubuntu20) ... 344s (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 ... 80333 files and directories currently installed.) 344s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 344s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 344s Preparing to unpack .../1-libgprofng0_2.43.50.20241126-3ubuntu1_arm64.deb ... 344s Unpacking libgprofng0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 344s Preparing to unpack .../2-libctf0_2.43.50.20241126-3ubuntu1_arm64.deb ... 344s Unpacking libctf0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 344s Preparing to unpack .../3-libctf-nobfd0_2.43.50.20241126-3ubuntu1_arm64.deb ... 344s Unpacking libctf-nobfd0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 344s Preparing to unpack .../4-binutils_2.43.50.20241126-3ubuntu1_arm64.deb ... 344s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 344s Preparing to unpack .../5-binutils-aarch64-linux-gnu_2.43.50.20241126-3ubuntu1_arm64.deb ... 344s Unpacking binutils-aarch64-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 344s Preparing to unpack .../6-libbinutils_2.43.50.20241126-3ubuntu1_arm64.deb ... 344s Unpacking libbinutils:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 344s Preparing to unpack .../7-binutils-common_2.43.50.20241126-3ubuntu1_arm64.deb ... 344s Unpacking binutils-common:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 344s Preparing to unpack .../8-libsframe1_2.43.50.20241126-3ubuntu1_arm64.deb ... 344s Unpacking libsframe1:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 344s Preparing to unpack .../9-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 344s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 344s Setting up binutils-common:arm64 (2.43.50.20241126-3ubuntu1) ... 344s Setting up libctf-nobfd0:arm64 (2.43.50.20241126-3ubuntu1) ... 344s Setting up libsframe1:arm64 (2.43.50.20241126-3ubuntu1) ... 344s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 344s Setting up gpgconf (2.4.4-2ubuntu20) ... 344s Setting up libbinutils:arm64 (2.43.50.20241126-3ubuntu1) ... 344s Setting up publicsuffix (20241025.1547-0.1) ... 344s Setting up gpg (2.4.4-2ubuntu20) ... 344s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 344s Setting up libctf0:arm64 (2.43.50.20241126-3ubuntu1) ... 344s Setting up gpg-agent (2.4.4-2ubuntu20) ... 345s Setting up gpgsm (2.4.4-2ubuntu20) ... 345s Setting up dirmngr (2.4.4-2ubuntu20) ... 345s Setting up libgprofng0:arm64 (2.43.50.20241126-3ubuntu1) ... 345s Setting up keyboxd (2.4.4-2ubuntu20) ... 345s Setting up gnupg (2.4.4-2ubuntu20) ... 345s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 345s Setting up binutils-aarch64-linux-gnu (2.43.50.20241126-3ubuntu1) ... 345s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 345s Processing triggers for install-info (7.1.1-1) ... 345s Processing triggers for libc-bin (2.40-1ubuntu3) ... 345s Processing triggers for man-db (2.13.0-1) ... 347s Reading package lists... 347s Building dependency tree... 347s Reading state information... 348s The following packages will be REMOVED: 348s libassuan0* 348s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 348s After this operation, 156 kB disk space will be freed. 348s (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 ... 80338 files and directories currently installed.) 348s Removing libassuan0:arm64 (2.5.6-1build1) ... 348s Processing triggers for libc-bin (2.40-1ubuntu3) ... 348s autopkgtest [02:03:57]: upgrading testbed (apt dist-upgrade and autopurge) 348s Reading package lists... 349s Building dependency tree... 349s Reading state information... 349s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 349s Starting 2 pkgProblemResolver with broken count: 0 349s Done 350s Entering ResolveByKeep 350s 351s The following packages will be upgraded: 351s xauth 351s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 351s Need to get 25.1 kB of archives. 351s After this operation, 0 B of additional disk space will be used. 351s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 xauth arm64 1:1.1.2-1.1 [25.1 kB] 351s Fetched 25.1 kB in 0s (106 kB/s) 351s (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 ... 80333 files and directories currently installed.) 351s Preparing to unpack .../xauth_1%3a1.1.2-1.1_arm64.deb ... 351s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 351s Setting up xauth (1:1.1.2-1.1) ... 351s Processing triggers for man-db (2.13.0-1) ... 352s Reading package lists... 352s Building dependency tree... 352s Reading state information... 353s Starting pkgProblemResolver with broken count: 0 353s Starting 2 pkgProblemResolver with broken count: 0 353s Done 353s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 356s Reading package lists... 356s Building dependency tree... 356s Reading state information... 357s Starting pkgProblemResolver with broken count: 0 357s Starting 2 pkgProblemResolver with broken count: 0 357s Done 357s The following NEW packages will be installed: 357s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 357s native-architecture 357s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 357s Need to get 1030 kB of archives. 357s After this operation, 12.6 MB of additional disk space will be used. 357s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0-dev arm64 2.82.2-3 [852 kB] 358s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.3 [1990 B] 358s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.82.2-3 [72.1 kB] 358s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.82.2-3 [103 kB] 358s Fetched 1030 kB in 1s (1465 kB/s) 358s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 358s (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 ... 80333 files and directories currently installed.) 358s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.2-3_arm64.deb ... 358s Unpacking gir1.2-glib-2.0-dev:arm64 (2.82.2-3) ... 358s Selecting previously unselected package native-architecture. 358s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 358s Unpacking native-architecture (0.2.3) ... 358s Selecting previously unselected package libgirepository-2.0-0:arm64. 358s Preparing to unpack .../libgirepository-2.0-0_2.82.2-3_arm64.deb ... 358s Unpacking libgirepository-2.0-0:arm64 (2.82.2-3) ... 359s Selecting previously unselected package girepository-tools:arm64. 359s Preparing to unpack .../girepository-tools_2.82.2-3_arm64.deb ... 359s Unpacking girepository-tools:arm64 (2.82.2-3) ... 359s Setting up native-architecture (0.2.3) ... 359s Setting up libgirepository-2.0-0:arm64 (2.82.2-3) ... 359s Setting up gir1.2-glib-2.0-dev:arm64 (2.82.2-3) ... 359s Setting up girepository-tools:arm64 (2.82.2-3) ... 359s Processing triggers for man-db (2.13.0-1) ... 359s Processing triggers for libc-bin (2.40-1ubuntu3) ... 366s autopkgtest [02:04:15]: test girepository-tools: [----------------------- 366s + cd /tmp/autopkgtest.Gp36pX/autopkgtest_tmp 366s + dpkg-architecture -qDEB_HOST_GNU_TYPE 366s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 366s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 366s + dpkg-architecture -qDEB_HOST_MULTIARCH 366s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 366s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 366s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 366s typelib: GLib-2.0 366s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 366s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 367s autopkgtest [02:04:16]: test girepository-tools: -----------------------] 367s girepository-tools PASS (superficial) 367s autopkgtest [02:04:16]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 367s autopkgtest [02:04:16]: test libgio-2.0-dev-bin: preparing testbed 460s autopkgtest [02:05:49]: testbed dpkg architecture: arm64 460s autopkgtest [02:05:49]: testbed apt version: 2.9.14ubuntu1 460s autopkgtest [02:05:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 461s autopkgtest [02:05:50]: testbed release detected to be: plucky 461s autopkgtest [02:05:50]: updating testbed package index (apt update) 462s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 462s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 462s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 462s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 462s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 462s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 462s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 462s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 462s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [131 kB] 462s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [58.2 kB] 462s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [627 kB] 462s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [20.8 kB] 462s Fetched 1753 kB in 1s (1953 kB/s) 463s Reading package lists... 464s Reading package lists... 464s Building dependency tree... 464s Reading state information... 464s Calculating upgrade... 465s The following package was automatically installed and is no longer required: 465s libassuan0 465s Use 'sudo apt autoremove' to remove it. 465s The following packages will be upgraded: 465s binutils binutils-aarch64-linux-gnu binutils-common dirmngr gnupg gnupg-l10n 465s gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv keyboxd 465s libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgprofng0 libsframe1 465s publicsuffix 465s 21 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 465s Need to get 7826 kB of archives. 465s After this operation, 52.2 kB disk space will be freed. 465s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libcap-ng0 arm64 0.8.5-4 [14.9 kB] 465s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg-wks-client arm64 2.4.4-2ubuntu20 [70.3 kB] 465s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dirmngr arm64 2.4.4-2ubuntu20 [320 kB] 466s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgsm arm64 2.4.4-2ubuntu20 [227 kB] 466s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg-utils arm64 2.4.4-2ubuntu20 [107 kB] 466s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg-agent arm64 2.4.4-2ubuntu20 [224 kB] 466s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg arm64 2.4.4-2ubuntu20 [554 kB] 466s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgconf arm64 2.4.4-2ubuntu20 [103 kB] 466s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg all 2.4.4-2ubuntu20 [359 kB] 466s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 keyboxd arm64 2.4.4-2ubuntu20 [76.0 kB] 466s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgv arm64 2.4.4-2ubuntu20 [153 kB] 466s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 publicsuffix all 20241025.1547-0.1 [135 kB] 466s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libgprofng0 arm64 2.43.50.20241126-3ubuntu1 [781 kB] 466s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libctf0 arm64 2.43.50.20241126-3ubuntu1 [99.0 kB] 466s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libctf-nobfd0 arm64 2.43.50.20241126-3ubuntu1 [102 kB] 466s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils arm64 2.43.50.20241126-3ubuntu1 [3258 B] 466s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils-aarch64-linux-gnu arm64 2.43.50.20241126-3ubuntu1 [3390 kB] 466s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libbinutils arm64 2.43.50.20241126-3ubuntu1 [782 kB] 466s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils-common arm64 2.43.50.20241126-3ubuntu1 [244 kB] 466s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libsframe1 arm64 2.43.50.20241126-3ubuntu1 [14.3 kB] 466s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 467s Fetched 7826 kB in 1s (6147 kB/s) 467s (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 ... 80333 files and directories currently installed.) 467s Preparing to unpack .../libcap-ng0_0.8.5-4_arm64.deb ... 467s Unpacking libcap-ng0:arm64 (0.8.5-4) over (0.8.5-3build1) ... 467s Setting up libcap-ng0:arm64 (0.8.5-4) ... 467s (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 ... 80333 files and directories currently installed.) 467s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_arm64.deb ... 467s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 467s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_arm64.deb ... 467s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 467s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_arm64.deb ... 467s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 467s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_arm64.deb ... 467s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 467s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_arm64.deb ... 467s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 467s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_arm64.deb ... 467s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 467s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_arm64.deb ... 467s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 468s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 468s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 468s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_arm64.deb ... 468s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 468s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_arm64.deb ... 468s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 468s Setting up gpgv (2.4.4-2ubuntu20) ... 468s (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 ... 80333 files and directories currently installed.) 468s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 468s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 468s Preparing to unpack .../1-libgprofng0_2.43.50.20241126-3ubuntu1_arm64.deb ... 468s Unpacking libgprofng0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 468s Preparing to unpack .../2-libctf0_2.43.50.20241126-3ubuntu1_arm64.deb ... 468s Unpacking libctf0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 468s Preparing to unpack .../3-libctf-nobfd0_2.43.50.20241126-3ubuntu1_arm64.deb ... 468s Unpacking libctf-nobfd0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 468s Preparing to unpack .../4-binutils_2.43.50.20241126-3ubuntu1_arm64.deb ... 468s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 468s Preparing to unpack .../5-binutils-aarch64-linux-gnu_2.43.50.20241126-3ubuntu1_arm64.deb ... 468s Unpacking binutils-aarch64-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 468s Preparing to unpack .../6-libbinutils_2.43.50.20241126-3ubuntu1_arm64.deb ... 468s Unpacking libbinutils:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 468s Preparing to unpack .../7-binutils-common_2.43.50.20241126-3ubuntu1_arm64.deb ... 468s Unpacking binutils-common:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 468s Preparing to unpack .../8-libsframe1_2.43.50.20241126-3ubuntu1_arm64.deb ... 468s Unpacking libsframe1:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 468s Preparing to unpack .../9-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 468s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 468s Setting up binutils-common:arm64 (2.43.50.20241126-3ubuntu1) ... 468s Setting up libctf-nobfd0:arm64 (2.43.50.20241126-3ubuntu1) ... 468s Setting up libsframe1:arm64 (2.43.50.20241126-3ubuntu1) ... 468s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 468s Setting up gpgconf (2.4.4-2ubuntu20) ... 468s Setting up libbinutils:arm64 (2.43.50.20241126-3ubuntu1) ... 468s Setting up publicsuffix (20241025.1547-0.1) ... 468s Setting up gpg (2.4.4-2ubuntu20) ... 468s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 468s Setting up libctf0:arm64 (2.43.50.20241126-3ubuntu1) ... 468s Setting up gpg-agent (2.4.4-2ubuntu20) ... 469s Setting up gpgsm (2.4.4-2ubuntu20) ... 469s Setting up dirmngr (2.4.4-2ubuntu20) ... 469s Setting up libgprofng0:arm64 (2.43.50.20241126-3ubuntu1) ... 469s Setting up keyboxd (2.4.4-2ubuntu20) ... 469s Setting up gnupg (2.4.4-2ubuntu20) ... 469s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 469s Setting up binutils-aarch64-linux-gnu (2.43.50.20241126-3ubuntu1) ... 469s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 469s Processing triggers for install-info (7.1.1-1) ... 469s Processing triggers for libc-bin (2.40-1ubuntu3) ... 469s Processing triggers for man-db (2.13.0-1) ... 471s Reading package lists... 471s Building dependency tree... 471s Reading state information... 471s The following packages will be REMOVED: 471s libassuan0* 472s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 472s After this operation, 156 kB disk space will be freed. 472s (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 ... 80338 files and directories currently installed.) 472s Removing libassuan0:arm64 (2.5.6-1build1) ... 472s Processing triggers for libc-bin (2.40-1ubuntu3) ... 472s autopkgtest [02:06:01]: upgrading testbed (apt dist-upgrade and autopurge) 472s Reading package lists... 473s Building dependency tree... 473s Reading state information... 473s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 473s Starting 2 pkgProblemResolver with broken count: 0 473s Done 474s Entering ResolveByKeep 474s 474s The following packages will be upgraded: 474s xauth 475s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 475s Need to get 25.1 kB of archives. 475s After this operation, 0 B of additional disk space will be used. 475s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 xauth arm64 1:1.1.2-1.1 [25.1 kB] 475s Fetched 25.1 kB in 0s (107 kB/s) 475s (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 ... 80333 files and directories currently installed.) 475s Preparing to unpack .../xauth_1%3a1.1.2-1.1_arm64.deb ... 475s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 475s Setting up xauth (1:1.1.2-1.1) ... 475s Processing triggers for man-db (2.13.0-1) ... 476s Reading package lists... 476s Building dependency tree... 476s Reading state information... 476s Starting pkgProblemResolver with broken count: 0 476s Starting 2 pkgProblemResolver with broken count: 0 476s Done 477s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 480s Reading package lists... 480s Building dependency tree... 480s Reading state information... 480s Starting pkgProblemResolver with broken count: 0 480s Starting 2 pkgProblemResolver with broken count: 0 480s Done 481s The following NEW packages will be installed: 481s libgio-2.0-dev-bin python3-packaging 481s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 481s Need to get 180 kB of archives. 481s After this operation, 1066 kB of additional disk space will be used. 481s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 481s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.82.2-3 [128 kB] 482s Fetched 180 kB in 0s (435 kB/s) 482s Selecting previously unselected package python3-packaging. 482s (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 ... 80333 files and directories currently installed.) 482s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 482s Unpacking python3-packaging (24.2-1) ... 482s Selecting previously unselected package libgio-2.0-dev-bin. 482s Preparing to unpack .../libgio-2.0-dev-bin_2.82.2-3_arm64.deb ... 482s Unpacking libgio-2.0-dev-bin (2.82.2-3) ... 482s Setting up python3-packaging (24.2-1) ... 482s Setting up libgio-2.0-dev-bin (2.82.2-3) ... 482s Processing triggers for man-db (2.13.0-1) ... 488s autopkgtest [02:06:17]: test libgio-2.0-dev-bin: [----------------------- 488s + gdbus-codegen --help 488s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 488s [--c-namespace NAMESPACE] [--c-generate-object-manager] 488s [--c-generate-autocleanup {none,objects,all}] 488s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 488s [--generate-rst OUTFILES] [--pragma-once] 488s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 488s [--glib-min-required VERSION] 488s [--glib-max-allowed VERSION] 488s [--symbol-decorator SYMBOL_DECORATOR] 488s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 488s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 488s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 488s [--output FILE | --output-directory OUTDIR] 488s FILE [FILE ...] 488s 488s D-Bus code and documentation generator 488s 488s positional arguments: 488s FILE D-Bus introspection XML file 488s 488s options: 488s -h, --help show this help message and exit 488s --interface-prefix PREFIX 488s String to strip from D-Bus interface names for code 488s and docs 488s --c-namespace NAMESPACE 488s The namespace to use for generated C code 488s --c-generate-object-manager 488s Generate a GDBusObjectManagerClient subclass when 488s generating C code 488s --c-generate-autocleanup {none,objects,all} 488s Generate autocleanup support 488s --generate-docbook OUTFILES 488s Generate Docbook in OUTFILES-org.Project.IFace.xml 488s --generate-md OUTFILES 488s Generate Markdown in OUTFILES-org.Project.IFace.md 488s --generate-rst OUTFILES 488s Generate reStructuredText in OUTFILES- 488s org.Project.IFace.rst 488s --pragma-once Use "pragma once" as the inclusion guard 488s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 488s Add annotation (may be used several times) 488s --glib-min-required VERSION 488s Minimum version of GLib to be supported by the 488s outputted code (default: 2.30) 488s --glib-max-allowed VERSION 488s Maximum version of GLib to be used by the outputted 488s code (default: current GLib version) 488s --symbol-decorator SYMBOL_DECORATOR 488s Macro used to decorate a symbol in the outputted 488s header, possibly to export symbols 488s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 488s Additional header required for decorator specified by 488s --symbol-decorator 488s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 488s Additional define required for decorator specified by 488s --symbol-decorator 488s --generate-c-code OUTFILES 488s Generate C code in OUTFILES.[ch] 488s --header Generate C headers 488s --body Generate C code 488s --interface-info-header 488s Generate GDBusInterfaceInfo C header 488s --interface-info-body 488s Generate GDBusInterfaceInfo C code 488s --output FILE Write output into the specified file 488s --output-directory OUTDIR 488s Location to output generated files 488s + glib-compile-resources --version 488s 2.82.2 488s + glib-genmarshal --version 488s glib-genmarshal version 2.82.2 488s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 488s You may redistribute copies of glib-genmarshal under the terms of 488s the GNU General Public License which can be found in the 488s GLib source package. Sources, examples and contact 488s information are available at http://www.gtk.org 488s + glib-gettextize --version 488s /usr/bin/glib-gettextize (GNU glib) 2.82.2 488s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 488s This is free software; see the source for copying conditions. There is NO 488s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 488s Written by Ulrich Drepper 488s + glib-mkenums --version 488s glib-mkenums version 2.82.2 488s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 488s You may redistribute copies of glib-mkenums under the terms of 488s the GNU General Public License which can be found in the 488s GLib source package. Sources, examples and contact 488s information are available at http://www.gtk.org 488s + gobject-query tree 488s GObject 488s + gtester --version 488s gtester version 2.82.2 488s + gtester-report --version 488s gtester-report (GLib utils) version 2.82.2. 489s autopkgtest [02:06:18]: test libgio-2.0-dev-bin: -----------------------] 489s libgio-2.0-dev-bin PASS (superficial) 489s autopkgtest [02:06:18]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 489s autopkgtest [02:06:18]: test libglib2.0-dev: preparing testbed 579s autopkgtest [02:07:48]: testbed dpkg architecture: arm64 579s autopkgtest [02:07:48]: testbed apt version: 2.9.14ubuntu1 579s autopkgtest [02:07:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 579s autopkgtest [02:07:48]: testbed release detected to be: plucky 580s autopkgtest [02:07:49]: updating testbed package index (apt update) 581s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 581s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 581s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 581s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 581s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 581s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 581s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 581s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 581s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [131 kB] 581s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [58.2 kB] 581s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [627 kB] 581s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [20.8 kB] 581s Fetched 1753 kB in 1s (1931 kB/s) 583s Reading package lists... 583s Reading package lists... 584s Building dependency tree... 584s Reading state information... 585s Calculating upgrade... 585s The following package was automatically installed and is no longer required: 585s libassuan0 585s Use 'sudo apt autoremove' to remove it. 586s The following packages will be upgraded: 586s binutils binutils-aarch64-linux-gnu binutils-common dirmngr gnupg gnupg-l10n 586s gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv keyboxd 586s libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgprofng0 libsframe1 586s publicsuffix 586s 21 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 586s Need to get 7826 kB of archives. 586s After this operation, 52.2 kB disk space will be freed. 586s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libcap-ng0 arm64 0.8.5-4 [14.9 kB] 586s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg-wks-client arm64 2.4.4-2ubuntu20 [70.3 kB] 586s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dirmngr arm64 2.4.4-2ubuntu20 [320 kB] 586s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgsm arm64 2.4.4-2ubuntu20 [227 kB] 586s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg-utils arm64 2.4.4-2ubuntu20 [107 kB] 586s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg-agent arm64 2.4.4-2ubuntu20 [224 kB] 586s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg arm64 2.4.4-2ubuntu20 [554 kB] 586s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgconf arm64 2.4.4-2ubuntu20 [103 kB] 586s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg all 2.4.4-2ubuntu20 [359 kB] 586s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 keyboxd arm64 2.4.4-2ubuntu20 [76.0 kB] 586s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgv arm64 2.4.4-2ubuntu20 [153 kB] 586s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 publicsuffix all 20241025.1547-0.1 [135 kB] 586s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libgprofng0 arm64 2.43.50.20241126-3ubuntu1 [781 kB] 587s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libctf0 arm64 2.43.50.20241126-3ubuntu1 [99.0 kB] 587s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libctf-nobfd0 arm64 2.43.50.20241126-3ubuntu1 [102 kB] 587s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils arm64 2.43.50.20241126-3ubuntu1 [3258 B] 587s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils-aarch64-linux-gnu arm64 2.43.50.20241126-3ubuntu1 [3390 kB] 587s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libbinutils arm64 2.43.50.20241126-3ubuntu1 [782 kB] 587s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils-common arm64 2.43.50.20241126-3ubuntu1 [244 kB] 587s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libsframe1 arm64 2.43.50.20241126-3ubuntu1 [14.3 kB] 587s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 588s Fetched 7826 kB in 1s (5657 kB/s) 588s (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 ... 80333 files and directories currently installed.) 588s Preparing to unpack .../libcap-ng0_0.8.5-4_arm64.deb ... 588s Unpacking libcap-ng0:arm64 (0.8.5-4) over (0.8.5-3build1) ... 588s Setting up libcap-ng0:arm64 (0.8.5-4) ... 588s (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 ... 80333 files and directories currently installed.) 588s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_arm64.deb ... 588s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 588s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_arm64.deb ... 588s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 588s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_arm64.deb ... 588s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 588s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_arm64.deb ... 588s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 589s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_arm64.deb ... 589s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 589s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_arm64.deb ... 589s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 589s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_arm64.deb ... 589s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 589s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 589s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 589s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_arm64.deb ... 589s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 589s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_arm64.deb ... 589s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 589s Setting up gpgv (2.4.4-2ubuntu20) ... 589s (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 ... 80333 files and directories currently installed.) 589s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 589s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 589s Preparing to unpack .../1-libgprofng0_2.43.50.20241126-3ubuntu1_arm64.deb ... 589s Unpacking libgprofng0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 589s Preparing to unpack .../2-libctf0_2.43.50.20241126-3ubuntu1_arm64.deb ... 589s Unpacking libctf0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 589s Preparing to unpack .../3-libctf-nobfd0_2.43.50.20241126-3ubuntu1_arm64.deb ... 589s Unpacking libctf-nobfd0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 589s Preparing to unpack .../4-binutils_2.43.50.20241126-3ubuntu1_arm64.deb ... 589s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 589s Preparing to unpack .../5-binutils-aarch64-linux-gnu_2.43.50.20241126-3ubuntu1_arm64.deb ... 589s Unpacking binutils-aarch64-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 590s Preparing to unpack .../6-libbinutils_2.43.50.20241126-3ubuntu1_arm64.deb ... 590s Unpacking libbinutils:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 590s Preparing to unpack .../7-binutils-common_2.43.50.20241126-3ubuntu1_arm64.deb ... 590s Unpacking binutils-common:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 590s Preparing to unpack .../8-libsframe1_2.43.50.20241126-3ubuntu1_arm64.deb ... 590s Unpacking libsframe1:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 590s Preparing to unpack .../9-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 590s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 590s Setting up binutils-common:arm64 (2.43.50.20241126-3ubuntu1) ... 590s Setting up libctf-nobfd0:arm64 (2.43.50.20241126-3ubuntu1) ... 590s Setting up libsframe1:arm64 (2.43.50.20241126-3ubuntu1) ... 590s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 590s Setting up gpgconf (2.4.4-2ubuntu20) ... 590s Setting up libbinutils:arm64 (2.43.50.20241126-3ubuntu1) ... 590s Setting up publicsuffix (20241025.1547-0.1) ... 590s Setting up gpg (2.4.4-2ubuntu20) ... 590s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 590s Setting up libctf0:arm64 (2.43.50.20241126-3ubuntu1) ... 590s Setting up gpg-agent (2.4.4-2ubuntu20) ... 591s Setting up gpgsm (2.4.4-2ubuntu20) ... 591s Setting up dirmngr (2.4.4-2ubuntu20) ... 591s Setting up libgprofng0:arm64 (2.43.50.20241126-3ubuntu1) ... 591s Setting up keyboxd (2.4.4-2ubuntu20) ... 591s Setting up gnupg (2.4.4-2ubuntu20) ... 591s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 591s Setting up binutils-aarch64-linux-gnu (2.43.50.20241126-3ubuntu1) ... 591s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 591s Processing triggers for install-info (7.1.1-1) ... 591s Processing triggers for libc-bin (2.40-1ubuntu3) ... 591s Processing triggers for man-db (2.13.0-1) ... 593s Reading package lists... 593s Building dependency tree... 593s Reading state information... 594s The following packages will be REMOVED: 594s libassuan0* 595s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 595s After this operation, 156 kB disk space will be freed. 595s (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 ... 80338 files and directories currently installed.) 595s Removing libassuan0:arm64 (2.5.6-1build1) ... 595s Processing triggers for libc-bin (2.40-1ubuntu3) ... 595s autopkgtest [02:08:04]: upgrading testbed (apt dist-upgrade and autopurge) 595s Reading package lists... 596s Building dependency tree... 596s Reading state information... 597s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 597s Starting 2 pkgProblemResolver with broken count: 0 597s Done 599s Entering ResolveByKeep 599s 600s The following packages will be upgraded: 600s xauth 600s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 600s Need to get 25.1 kB of archives. 600s After this operation, 0 B of additional disk space will be used. 600s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 xauth arm64 1:1.1.2-1.1 [25.1 kB] 600s Fetched 25.1 kB in 0s (117 kB/s) 600s (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 ... 80333 files and directories currently installed.) 600s Preparing to unpack .../xauth_1%3a1.1.2-1.1_arm64.deb ... 600s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 600s Setting up xauth (1:1.1.2-1.1) ... 600s Processing triggers for man-db (2.13.0-1) ... 601s Reading package lists... 601s Building dependency tree... 601s Reading state information... 602s Starting pkgProblemResolver with broken count: 0 602s Starting 2 pkgProblemResolver with broken count: 0 602s Done 603s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 606s Reading package lists... 607s Building dependency tree... 607s Reading state information... 607s Starting pkgProblemResolver with broken count: 0 608s Starting 2 pkgProblemResolver with broken count: 0 608s Done 609s The following NEW packages will be installed: 609s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 609s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 609s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gir1.2-glib-2.0-dev 609s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 609s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-dev 609s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 609s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 609s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 609s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 609s pkgconf-bin python3-packaging uuid-dev zlib1g-dev 609s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 609s Need to get 66.1 MB of archives. 609s After this operation, 242 MB of additional disk space will be used. 609s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 609s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 609s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-9ubuntu1 [10.6 MB] 610s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-9ubuntu1 [1030 B] 610s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 610s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 610s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-9ubuntu1 [49.6 kB] 610s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-9ubuntu1 [145 kB] 610s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-9ubuntu1 [27.7 kB] 610s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-9ubuntu1 [2892 kB] 611s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-9ubuntu1 [1283 kB] 611s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-9ubuntu1 [2687 kB] 611s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-9ubuntu1 [1152 kB] 611s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-9ubuntu1 [1599 kB] 611s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-9ubuntu1 [2594 kB] 611s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-9ubuntu1 [20.9 MB] 612s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-9ubuntu1 [520 kB] 612s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 612s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 612s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-9ubuntu1 [2473 kB] 612s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-9ubuntu1 [12.1 MB] 612s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-9ubuntu1 [20.1 kB] 612s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 612s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 612s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 612s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0-dev arm64 2.82.2-3 [852 kB] 612s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.3 [1990 B] 612s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.82.2-3 [72.1 kB] 612s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.82.2-3 [103 kB] 612s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libffi-dev arm64 3.4.6-1build1 [59.5 kB] 612s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 uuid-dev arm64 2.40.2-1ubuntu1 [53.6 kB] 612s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libblkid-dev arm64 2.40.2-1ubuntu1 [241 kB] 612s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libsepol-dev arm64 3.7-1 [416 kB] 612s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu3 [200 kB] 612s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu3 [187 kB] 612s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu3 [6704 B] 612s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-dev arm64 10.42-4ubuntu3 [694 kB] 612s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libselinux1-dev arm64 3.7-3ubuntu1 [174 kB] 612s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libmount-dev arm64 2.40.2-1ubuntu1 [33.0 kB] 612s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libsysprof-capture-4-dev arm64 47.2-1 [54.7 kB] 612s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 612s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 612s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 612s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 612s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev arm64 2.82.2-3 [1909 kB] 612s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 612s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.82.2-3 [128 kB] 612s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev-bin arm64 2.82.2-3 [18.1 kB] 612s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev arm64 2.82.2-3 [18.8 kB] 613s Fetched 66.1 MB in 3s (19.0 MB/s) 613s Selecting previously unselected package libisl23:arm64. 613s (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 ... 80333 files and directories currently installed.) 613s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 613s Unpacking libisl23:arm64 (0.27-1) ... 613s Selecting previously unselected package libmpc3:arm64. 613s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 613s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 613s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 613s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-9ubuntu1_arm64.deb ... 613s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-9ubuntu1) ... 613s Selecting previously unselected package cpp-14. 613s Preparing to unpack .../03-cpp-14_14.2.0-9ubuntu1_arm64.deb ... 613s Unpacking cpp-14 (14.2.0-9ubuntu1) ... 613s Selecting previously unselected package cpp-aarch64-linux-gnu. 614s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 614s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 614s Selecting previously unselected package cpp. 614s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 614s Unpacking cpp (4:14.1.0-2ubuntu1) ... 614s Selecting previously unselected package libcc1-0:arm64. 614s Preparing to unpack .../06-libcc1-0_14.2.0-9ubuntu1_arm64.deb ... 614s Unpacking libcc1-0:arm64 (14.2.0-9ubuntu1) ... 614s Selecting previously unselected package libgomp1:arm64. 614s Preparing to unpack .../07-libgomp1_14.2.0-9ubuntu1_arm64.deb ... 614s Unpacking libgomp1:arm64 (14.2.0-9ubuntu1) ... 614s Selecting previously unselected package libitm1:arm64. 614s Preparing to unpack .../08-libitm1_14.2.0-9ubuntu1_arm64.deb ... 614s Unpacking libitm1:arm64 (14.2.0-9ubuntu1) ... 614s Selecting previously unselected package libasan8:arm64. 614s Preparing to unpack .../09-libasan8_14.2.0-9ubuntu1_arm64.deb ... 614s Unpacking libasan8:arm64 (14.2.0-9ubuntu1) ... 614s Selecting previously unselected package liblsan0:arm64. 614s Preparing to unpack .../10-liblsan0_14.2.0-9ubuntu1_arm64.deb ... 614s Unpacking liblsan0:arm64 (14.2.0-9ubuntu1) ... 614s Selecting previously unselected package libtsan2:arm64. 614s Preparing to unpack .../11-libtsan2_14.2.0-9ubuntu1_arm64.deb ... 614s Unpacking libtsan2:arm64 (14.2.0-9ubuntu1) ... 614s Selecting previously unselected package libubsan1:arm64. 614s Preparing to unpack .../12-libubsan1_14.2.0-9ubuntu1_arm64.deb ... 614s Unpacking libubsan1:arm64 (14.2.0-9ubuntu1) ... 614s Selecting previously unselected package libhwasan0:arm64. 614s Preparing to unpack .../13-libhwasan0_14.2.0-9ubuntu1_arm64.deb ... 614s Unpacking libhwasan0:arm64 (14.2.0-9ubuntu1) ... 614s Selecting previously unselected package libgcc-14-dev:arm64. 614s Preparing to unpack .../14-libgcc-14-dev_14.2.0-9ubuntu1_arm64.deb ... 614s Unpacking libgcc-14-dev:arm64 (14.2.0-9ubuntu1) ... 614s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 614s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-9ubuntu1_arm64.deb ... 614s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-9ubuntu1) ... 615s Selecting previously unselected package gcc-14. 615s Preparing to unpack .../16-gcc-14_14.2.0-9ubuntu1_arm64.deb ... 615s Unpacking gcc-14 (14.2.0-9ubuntu1) ... 615s Selecting previously unselected package gcc-aarch64-linux-gnu. 615s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 615s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 615s Selecting previously unselected package gcc. 615s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 615s Unpacking gcc (4:14.1.0-2ubuntu1) ... 615s Selecting previously unselected package libstdc++-14-dev:arm64. 615s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-9ubuntu1_arm64.deb ... 615s Unpacking libstdc++-14-dev:arm64 (14.2.0-9ubuntu1) ... 615s Selecting previously unselected package g++-14-aarch64-linux-gnu. 615s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-9ubuntu1_arm64.deb ... 615s Unpacking g++-14-aarch64-linux-gnu (14.2.0-9ubuntu1) ... 616s Selecting previously unselected package g++-14. 616s Preparing to unpack .../21-g++-14_14.2.0-9ubuntu1_arm64.deb ... 616s Unpacking g++-14 (14.2.0-9ubuntu1) ... 616s Selecting previously unselected package g++-aarch64-linux-gnu. 616s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 616s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 616s Selecting previously unselected package g++. 616s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 616s Unpacking g++ (4:14.1.0-2ubuntu1) ... 616s Selecting previously unselected package build-essential. 616s Preparing to unpack .../24-build-essential_12.10ubuntu1_arm64.deb ... 616s Unpacking build-essential (12.10ubuntu1) ... 616s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 616s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.82.2-3_arm64.deb ... 616s Unpacking gir1.2-glib-2.0-dev:arm64 (2.82.2-3) ... 616s Selecting previously unselected package native-architecture. 616s Preparing to unpack .../26-native-architecture_0.2.3_all.deb ... 616s Unpacking native-architecture (0.2.3) ... 616s Selecting previously unselected package libgirepository-2.0-0:arm64. 616s Preparing to unpack .../27-libgirepository-2.0-0_2.82.2-3_arm64.deb ... 616s Unpacking libgirepository-2.0-0:arm64 (2.82.2-3) ... 616s Selecting previously unselected package girepository-tools:arm64. 616s Preparing to unpack .../28-girepository-tools_2.82.2-3_arm64.deb ... 616s Unpacking girepository-tools:arm64 (2.82.2-3) ... 616s Selecting previously unselected package libffi-dev:arm64. 616s Preparing to unpack .../29-libffi-dev_3.4.6-1build1_arm64.deb ... 616s Unpacking libffi-dev:arm64 (3.4.6-1build1) ... 616s Selecting previously unselected package uuid-dev:arm64. 616s Preparing to unpack .../30-uuid-dev_2.40.2-1ubuntu1_arm64.deb ... 616s Unpacking uuid-dev:arm64 (2.40.2-1ubuntu1) ... 616s Selecting previously unselected package libblkid-dev:arm64. 616s Preparing to unpack .../31-libblkid-dev_2.40.2-1ubuntu1_arm64.deb ... 616s Unpacking libblkid-dev:arm64 (2.40.2-1ubuntu1) ... 616s Selecting previously unselected package libsepol-dev:arm64. 616s Preparing to unpack .../32-libsepol-dev_3.7-1_arm64.deb ... 616s Unpacking libsepol-dev:arm64 (3.7-1) ... 616s Selecting previously unselected package libpcre2-16-0:arm64. 616s Preparing to unpack .../33-libpcre2-16-0_10.42-4ubuntu3_arm64.deb ... 616s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 616s Selecting previously unselected package libpcre2-32-0:arm64. 616s Preparing to unpack .../34-libpcre2-32-0_10.42-4ubuntu3_arm64.deb ... 616s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 617s Selecting previously unselected package libpcre2-posix3:arm64. 617s Preparing to unpack .../35-libpcre2-posix3_10.42-4ubuntu3_arm64.deb ... 617s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 617s Selecting previously unselected package libpcre2-dev:arm64. 617s Preparing to unpack .../36-libpcre2-dev_10.42-4ubuntu3_arm64.deb ... 617s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu3) ... 617s Selecting previously unselected package libselinux1-dev:arm64. 617s Preparing to unpack .../37-libselinux1-dev_3.7-3ubuntu1_arm64.deb ... 617s Unpacking libselinux1-dev:arm64 (3.7-3ubuntu1) ... 617s Selecting previously unselected package libmount-dev:arm64. 617s Preparing to unpack .../38-libmount-dev_2.40.2-1ubuntu1_arm64.deb ... 617s Unpacking libmount-dev:arm64 (2.40.2-1ubuntu1) ... 617s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 617s Preparing to unpack .../39-libsysprof-capture-4-dev_47.2-1_arm64.deb ... 617s Unpacking libsysprof-capture-4-dev:arm64 (47.2-1) ... 617s Selecting previously unselected package libpkgconf3:arm64. 617s Preparing to unpack .../40-libpkgconf3_1.8.1-4_arm64.deb ... 617s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 617s Selecting previously unselected package pkgconf-bin. 617s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_arm64.deb ... 617s Unpacking pkgconf-bin (1.8.1-4) ... 617s Selecting previously unselected package pkgconf:arm64. 617s Preparing to unpack .../42-pkgconf_1.8.1-4_arm64.deb ... 617s Unpacking pkgconf:arm64 (1.8.1-4) ... 617s Selecting previously unselected package zlib1g-dev:arm64. 617s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 617s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 617s Selecting previously unselected package libgio-2.0-dev:arm64. 617s Preparing to unpack .../44-libgio-2.0-dev_2.82.2-3_arm64.deb ... 617s Unpacking libgio-2.0-dev:arm64 (2.82.2-3) ... 617s Selecting previously unselected package python3-packaging. 617s Preparing to unpack .../45-python3-packaging_24.2-1_all.deb ... 617s Unpacking python3-packaging (24.2-1) ... 617s Selecting previously unselected package libgio-2.0-dev-bin. 617s Preparing to unpack .../46-libgio-2.0-dev-bin_2.82.2-3_arm64.deb ... 617s Unpacking libgio-2.0-dev-bin (2.82.2-3) ... 617s Selecting previously unselected package libglib2.0-dev-bin. 617s Preparing to unpack .../47-libglib2.0-dev-bin_2.82.2-3_arm64.deb ... 617s Unpacking libglib2.0-dev-bin (2.82.2-3) ... 617s Selecting previously unselected package libglib2.0-dev:arm64. 617s Preparing to unpack .../48-libglib2.0-dev_2.82.2-3_arm64.deb ... 617s Unpacking libglib2.0-dev:arm64 (2.82.2-3) ... 617s Setting up native-architecture (0.2.3) ... 617s Setting up libgirepository-2.0-0:arm64 (2.82.2-3) ... 617s Setting up libgomp1:arm64 (14.2.0-9ubuntu1) ... 617s Setting up libffi-dev:arm64 (3.4.6-1build1) ... 617s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 617s Setting up libsysprof-capture-4-dev:arm64 (47.2-1) ... 617s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 617s Setting up python3-packaging (24.2-1) ... 618s Setting up libpkgconf3:arm64 (1.8.1-4) ... 618s Setting up uuid-dev:arm64 (2.40.2-1ubuntu1) ... 618s Setting up libmpc3:arm64 (1.3.1-1build2) ... 618s Setting up libsepol-dev:arm64 (3.7-1) ... 618s Setting up pkgconf-bin (1.8.1-4) ... 618s Setting up libubsan1:arm64 (14.2.0-9ubuntu1) ... 618s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 618s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 618s Setting up gir1.2-glib-2.0-dev:arm64 (2.82.2-3) ... 618s Setting up libhwasan0:arm64 (14.2.0-9ubuntu1) ... 618s Setting up libasan8:arm64 (14.2.0-9ubuntu1) ... 618s Setting up libtsan2:arm64 (14.2.0-9ubuntu1) ... 618s Setting up libisl23:arm64 (0.27-1) ... 618s Setting up libcc1-0:arm64 (14.2.0-9ubuntu1) ... 618s Setting up liblsan0:arm64 (14.2.0-9ubuntu1) ... 618s Setting up libitm1:arm64 (14.2.0-9ubuntu1) ... 618s Setting up libblkid-dev:arm64 (2.40.2-1ubuntu1) ... 618s Setting up libgio-2.0-dev-bin (2.82.2-3) ... 618s Setting up girepository-tools:arm64 (2.82.2-3) ... 618s Setting up libpcre2-dev:arm64 (10.42-4ubuntu3) ... 618s Setting up libselinux1-dev:arm64 (3.7-3ubuntu1) ... 618s Setting up pkgconf:arm64 (1.8.1-4) ... 618s Setting up cpp-14-aarch64-linux-gnu (14.2.0-9ubuntu1) ... 618s Setting up libgcc-14-dev:arm64 (14.2.0-9ubuntu1) ... 618s Setting up libstdc++-14-dev:arm64 (14.2.0-9ubuntu1) ... 618s Setting up libmount-dev:arm64 (2.40.2-1ubuntu1) ... 618s Setting up libglib2.0-dev-bin (2.82.2-3) ... 618s Setting up libgio-2.0-dev:arm64 (2.82.2-3) ... 618s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 618s Setting up cpp-14 (14.2.0-9ubuntu1) ... 618s Setting up cpp (4:14.1.0-2ubuntu1) ... 618s Setting up gcc-14-aarch64-linux-gnu (14.2.0-9ubuntu1) ... 618s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 618s Setting up g++-14-aarch64-linux-gnu (14.2.0-9ubuntu1) ... 618s Setting up gcc-14 (14.2.0-9ubuntu1) ... 618s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 618s Setting up g++-14 (14.2.0-9ubuntu1) ... 618s Setting up gcc (4:14.1.0-2ubuntu1) ... 618s Setting up g++ (4:14.1.0-2ubuntu1) ... 618s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 618s Setting up build-essential (12.10ubuntu1) ... 618s Processing triggers for install-info (7.1.1-1) ... 618s Processing triggers for libc-bin (2.40-1ubuntu3) ... 618s Processing triggers for man-db (2.13.0-1) ... 619s Processing triggers for libglib2.0-0t64:arm64 (2.82.2-3) ... 619s No schema files found: doing nothing. 619s Setting up libglib2.0-dev:arm64 (2.82.2-3) ... 624s autopkgtest [02:08:33]: test libglib2.0-dev: [----------------------- 624s + debian/tests/build 624s + mode=dynamic 624s + getopt -o --long static -n debian/tests/build -- 624s + getopt_temp= -- 624s + eval set -- -- 624s + set -- -- 624s + true 624s + shift 624s + break 624s + mktemp -d 624s + WORKDIR=/tmp/tmp.VDXTO8Q3eJ 624s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 624s + cd /tmp/tmp.VDXTO8Q3eJ 624s + [ -n ] 624s + CROSS_COMPILE= 624s + cat 624s + cat 624s + cat 624s + cat 624s + cat 624s + cat 624s + cflags= 624s + pcflags= 624s + packages=glib-2.0 624s + pkg-config --cflags --libs glib-2.0 624s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 624s + echo build (glib, dynamic): OK 624s + [ -x glib-dynamic ] 624s + foo=bar ./glib-dynamic 624s build (glib, dynamic): OK 624s run (glib, dynamic): OK 624s + echo run (glib, dynamic): OK 624s + cflags= 624s + pcflags= 624s + packages=gobject-2.0 624s + pkg-config --cflags --libs gobject-2.0 624s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 625s build (gobject, dynamic): OK 625s + echo build (gobject, dynamic): OK 625s + [ -x gobject-dynamic ] 625s + foo=bar ./gobject-dynamic 625s run (gobject, dynamic): OK 625s + echo run (gobject, dynamic): OK 625s + cflags= 625s + pcflags= 625s + packages=gio-2.0 625s + pkg-config --cflags --libs gio-2.0 625s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 625s build (gio, dynamic): OK 625s + echo build (gio, dynamic): OK 625s + [ -x gio-dynamic ] 625s + foo=bar ./gio-dynamic 625s + run (gio, dynamic): OK 625s echo run (gio, dynamic): OK 625s + cflags= 625s + pcflags= 625s + packages=gio-unix-2.0 625s + pkg-config --cflags --libs gio-unix-2.0 625s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 625s build (gio-unix, dynamic): OK 625s + echo build (gio-unix, dynamic): OK 625s + [ -x gio-unix-dynamic ] 625s + foo=bar ./gio-unix-dynamic 625s + run (gio-unix, dynamic): OK 625s echo run (gio-unix, dynamic): OK 625s + cflags= 625s + pcflags= 625s + packages=gmodule-2.0 625s + pkg-config --cflags --libs gmodule-2.0 625s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 625s build (gmodule, dynamic): OK 625s + echo build (gmodule, dynamic): OK 625s + [ -x gmodule-dynamic ] 625s + foo=bar ./gmodule-dynamic 625s run (gmodule, dynamic): OK 625s + echo run (gmodule, dynamic): OK 625s + cflags= 625s + pcflags= 625s + packages=gthread-2.0 625s + pkg-config --cflags --libs gthread-2.0 625s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 625s build (gthread, dynamic): OK 625s + echo build (gthread, dynamic): OK 625s + [ -x gthread-dynamic ] 625s + foo=bar ./gthread-dynamic 625s run (gthread, dynamic): OK 625s + echo run (gthread, dynamic): OK 625s + rm -rf /tmp/tmp.VDXTO8Q3eJ 625s + debian/tests/build-static 625s + mode=dynamic 625s + getopt -o --long static -n debian/tests/build -- --static 625s + getopt_temp= --static -- 625s + eval set -- --static -- 625s + set -- --static -- 625s + true 625s + mode=static 625s + shift 625s + continue 625s + true 625s + shift 625s + break 625s + mktemp -d 625s + WORKDIR=/tmp/tmp.fSEPpbN73n 625s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 625s + cd /tmp/tmp.fSEPpbN73n 625s + [ -n ] 625s + CROSS_COMPILE= 625s + cat 625s + cat 625s + cat 625s + cat 625s + cat 625s + cat 625s + cflags= 625s + pcflags= 625s + packages=glib-2.0 625s + cflags=-static 625s + pcflags=--static 625s + pkg-config --static --cflags --libs glib-2.0 625s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 626s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 626s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 626s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 626s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 626s build (glib, static): OK 626s + echo build (glib, static): OK 626s + [ -x glib-static ] 626s + foo=bar ./glib-static 626s run (glib, static): OK 626s + echo run (glib, static): OK 626s + cflags= 626s + pcflags= 626s + packages=gobject-2.0 626s + cflags=-static 626s + pcflags=--static 626s + pkg-config --static --cflags --libs gobject-2.0 626s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 626s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 626s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 626s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 626s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 626s + echo build (gobject, static): OK 626s + [ -x gobject-static ] 626s + foo=bar ./gobject-static 626s build (gobject, static): OK 626s + run (gobject, static): OK 626s echo run (gobject, static): OK 626s + cflags= 626s + pcflags= 626s + packages=gio-2.0 626s + cflags=-static 626s + pcflags=--static 626s + continue 626s + cflags= 626s + pcflags= 626s + packages=gio-unix-2.0 626s + cflags=-static 626s + pcflags=--static 626s + continue 626s + cflags= 626s + pcflags= 626s + packages=gmodule-2.0 626s + cflags=-static 626s + pcflags=--static 626s + pkg-config --static --cflags --libs gmodule-2.0 626s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 626s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 626s (.text+0x604): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 626s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 626s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 626s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 626s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 626s build (gmodule, static): OK 626s + echo build (gmodule, static): OK 626s + [ -x gmodule-static ] 626s + foo=bar ./gmodule-static 626s + run (gmodule, static): OK 626s echo run (gmodule, static): OK 626s + cflags= 626s + pcflags= 626s + packages=gthread-2.0 626s + cflags=-static 626s + pcflags=--static 626s + pkg-config --static --cflags --libs gthread-2.0 626s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-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 627s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 627s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 627s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 627s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 627s build (gthread, static): OK 627s + echo build (gthread, static): OK 627s + [ -x gthread-static ] 627s + foo=bar ./gthread-static 627s + run (gthread, static): OK 627s echo run (gthread, static): OK 627s + rm -rf /tmp/tmp.fSEPpbN73n 627s + debian/tests/girepository-tools 627s + cd /tmp/autopkgtest.Gp36pX/autopkgtest_tmp 627s + dpkg-architecture -qDEB_HOST_GNU_TYPE 627s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 627s + dpkg-architecture -qDEB_HOST_MULTIARCH 627s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 627s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 627s typelib: GLib-2.0 627s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 627s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 627s + debian/tests/libgio-2.0-dev-bin 627s + gdbus-codegen --help 627s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 627s [--c-namespace NAMESPACE] [--c-generate-object-manager] 627s [--c-generate-autocleanup {none,objects,all}] 627s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 627s [--generate-rst OUTFILES] [--pragma-once] 627s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 627s [--glib-min-required VERSION] 627s [--glib-max-allowed VERSION] 627s [--symbol-decorator SYMBOL_DECORATOR] 627s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 627s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 627s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 627s [--output FILE | --output-directory OUTDIR] 627s FILE [FILE ...] 627s 627s D-Bus code and documentation generator 627s 627s positional arguments: 627s FILE D-Bus introspection XML file 627s 627s options: 627s -h, --help show this help message and exit 627s --interface-prefix PREFIX 627s String to strip from D-Bus interface names for code 627s and docs 627s --c-namespace NAMESPACE 627s The namespace to use for generated C code 627s --c-generate-object-manager 627s Generate a GDBusObjectManagerClient subclass when 627s generating C code 627s --c-generate-autocleanup {none,objects,all} 627s Generate autocleanup support 627s --generate-docbook OUTFILES 627s Generate Docbook in OUTFILES-org.Project.IFace.xml 627s --generate-md OUTFILES 627s Generate Markdown in OUTFILES-org.Project.IFace.md 627s --generate-rst OUTFILES 627s Generate reStructuredText in OUTFILES- 627s org.Project.IFace.rst 627s --pragma-once Use "pragma once" as the inclusion guard 627s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 627s Add annotation (may be used several times) 627s --glib-min-required VERSION 627s Minimum version of GLib to be supported by the 627s outputted code (default: 2.30) 627s --glib-max-allowed VERSION 627s Maximum version of GLib to be used by the outputted 627s code (default: current GLib version) 627s --symbol-decorator SYMBOL_DECORATOR 627s Macro used to decorate a symbol in the outputted 627s header, possibly to export symbols 627s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 627s Additional header required for decorator specified by 627s --symbol-decorator 627s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 627s Additional define required for decorator specified by 627s --symbol-decorator 627s --generate-c-code OUTFILES 627s Generate C code in OUTFILES.[ch] 627s --header Generate C headers 627s --body Generate C code 627s --interface-info-header 627s Generate GDBusInterfaceInfo C header 627s --interface-info-body 627s Generate GDBusInterfaceInfo C code 627s --output FILE Write output into the specified file 627s --output-directory OUTDIR 627s Location to output generated files 627s + glib-compile-resources --version 627s 2.82.2 627s + glib-genmarshal --version 627s glib-genmarshal version 2.82.2 627s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 627s You may redistribute copies of glib-genmarshal under the terms of 627s the GNU General Public License which can be found in the 627s GLib source package. Sources, examples and contact 627s information are available at http://www.gtk.org 627s + glib-gettextize --version 627s /usr/bin/glib-gettextize (GNU glib) 2.82.2 627s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 627s This is free software; see the source for copying conditions. There is NO 627s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 627s Written by Ulrich Drepper 627s + glib-mkenums --version 627s glib-mkenums version 2.82.2 627s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 627s You may redistribute copies of glib-mkenums under the terms of 627s the GNU General Public License which can be found in the 627s GLib source package. Sources, examples and contact 627s information are available at http://www.gtk.org 627s + gobject-query tree 627s GObject 627s + gtester --version 627s gtester version 2.82.2 627s + gtester-report --version 627s gtester-report (GLib utils) version 2.82.2. 627s + cd /tmp/autopkgtest.Gp36pX/autopkgtest_tmp 627s + dpkg-architecture -qDEB_HOST_MULTIARCH 627s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 627s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 627s typelib: GLib-2.0 627s + gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 628s + gi-decompile-typelib -o GLib.gir GLib.typelib 628s autopkgtest [02:08:37]: test libglib2.0-dev: -----------------------] 628s autopkgtest [02:08:37]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 628s libglib2.0-dev PASS (superficial) 629s autopkgtest [02:08:38]: test installed-tests: preparing testbed 711s autopkgtest [02:10:00]: testbed dpkg architecture: arm64 711s autopkgtest [02:10:00]: testbed apt version: 2.9.14ubuntu1 712s autopkgtest [02:10:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 712s autopkgtest [02:10:01]: testbed release detected to be: plucky 713s autopkgtest [02:10:02]: updating testbed package index (apt update) 713s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 713s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 713s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 713s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 713s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 713s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 713s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 713s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 714s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [131 kB] 714s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [58.2 kB] 714s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [627 kB] 714s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [20.8 kB] 714s Fetched 1753 kB in 1s (1971 kB/s) 715s Reading package lists... 715s Reading package lists... 715s Building dependency tree... 715s Reading state information... 716s Calculating upgrade... 716s The following package was automatically installed and is no longer required: 716s libassuan0 716s Use 'sudo apt autoremove' to remove it. 716s The following packages will be upgraded: 716s binutils binutils-aarch64-linux-gnu binutils-common dirmngr gnupg gnupg-l10n 716s gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv keyboxd 716s libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgprofng0 libsframe1 716s publicsuffix 717s 21 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 717s Need to get 7826 kB of archives. 717s After this operation, 52.2 kB disk space will be freed. 717s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libcap-ng0 arm64 0.8.5-4 [14.9 kB] 717s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg-wks-client arm64 2.4.4-2ubuntu20 [70.3 kB] 717s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dirmngr arm64 2.4.4-2ubuntu20 [320 kB] 717s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgsm arm64 2.4.4-2ubuntu20 [227 kB] 717s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg-utils arm64 2.4.4-2ubuntu20 [107 kB] 717s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg-agent arm64 2.4.4-2ubuntu20 [224 kB] 717s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg arm64 2.4.4-2ubuntu20 [554 kB] 717s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgconf arm64 2.4.4-2ubuntu20 [103 kB] 717s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg all 2.4.4-2ubuntu20 [359 kB] 717s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 keyboxd arm64 2.4.4-2ubuntu20 [76.0 kB] 717s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgv arm64 2.4.4-2ubuntu20 [153 kB] 717s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 publicsuffix all 20241025.1547-0.1 [135 kB] 717s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libgprofng0 arm64 2.43.50.20241126-3ubuntu1 [781 kB] 717s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libctf0 arm64 2.43.50.20241126-3ubuntu1 [99.0 kB] 717s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libctf-nobfd0 arm64 2.43.50.20241126-3ubuntu1 [102 kB] 717s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils arm64 2.43.50.20241126-3ubuntu1 [3258 B] 717s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils-aarch64-linux-gnu arm64 2.43.50.20241126-3ubuntu1 [3390 kB] 717s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libbinutils arm64 2.43.50.20241126-3ubuntu1 [782 kB] 717s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils-common arm64 2.43.50.20241126-3ubuntu1 [244 kB] 717s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libsframe1 arm64 2.43.50.20241126-3ubuntu1 [14.3 kB] 717s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 718s Fetched 7826 kB in 1s (9077 kB/s) 718s (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 ... 80333 files and directories currently installed.) 718s Preparing to unpack .../libcap-ng0_0.8.5-4_arm64.deb ... 718s Unpacking libcap-ng0:arm64 (0.8.5-4) over (0.8.5-3build1) ... 718s Setting up libcap-ng0:arm64 (0.8.5-4) ... 718s (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 ... 80333 files and directories currently installed.) 718s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_arm64.deb ... 718s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 718s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_arm64.deb ... 718s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 718s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_arm64.deb ... 718s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 718s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_arm64.deb ... 718s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 718s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_arm64.deb ... 718s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 718s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_arm64.deb ... 718s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 718s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_arm64.deb ... 718s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 718s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 718s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 719s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_arm64.deb ... 719s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 719s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_arm64.deb ... 719s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 719s Setting up gpgv (2.4.4-2ubuntu20) ... 719s (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 ... 80333 files and directories currently installed.) 719s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 719s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 719s Preparing to unpack .../1-libgprofng0_2.43.50.20241126-3ubuntu1_arm64.deb ... 719s Unpacking libgprofng0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 719s Preparing to unpack .../2-libctf0_2.43.50.20241126-3ubuntu1_arm64.deb ... 719s Unpacking libctf0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 719s Preparing to unpack .../3-libctf-nobfd0_2.43.50.20241126-3ubuntu1_arm64.deb ... 719s Unpacking libctf-nobfd0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 719s Preparing to unpack .../4-binutils_2.43.50.20241126-3ubuntu1_arm64.deb ... 719s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 719s Preparing to unpack .../5-binutils-aarch64-linux-gnu_2.43.50.20241126-3ubuntu1_arm64.deb ... 719s Unpacking binutils-aarch64-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 719s Preparing to unpack .../6-libbinutils_2.43.50.20241126-3ubuntu1_arm64.deb ... 719s Unpacking libbinutils:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 719s Preparing to unpack .../7-binutils-common_2.43.50.20241126-3ubuntu1_arm64.deb ... 719s Unpacking binutils-common:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 719s Preparing to unpack .../8-libsframe1_2.43.50.20241126-3ubuntu1_arm64.deb ... 719s Unpacking libsframe1:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 719s Preparing to unpack .../9-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 719s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 719s Setting up binutils-common:arm64 (2.43.50.20241126-3ubuntu1) ... 719s Setting up libctf-nobfd0:arm64 (2.43.50.20241126-3ubuntu1) ... 719s Setting up libsframe1:arm64 (2.43.50.20241126-3ubuntu1) ... 719s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 719s Setting up gpgconf (2.4.4-2ubuntu20) ... 719s Setting up libbinutils:arm64 (2.43.50.20241126-3ubuntu1) ... 719s Setting up publicsuffix (20241025.1547-0.1) ... 719s Setting up gpg (2.4.4-2ubuntu20) ... 719s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 719s Setting up libctf0:arm64 (2.43.50.20241126-3ubuntu1) ... 719s Setting up gpg-agent (2.4.4-2ubuntu20) ... 720s Setting up gpgsm (2.4.4-2ubuntu20) ... 720s Setting up dirmngr (2.4.4-2ubuntu20) ... 720s Setting up libgprofng0:arm64 (2.43.50.20241126-3ubuntu1) ... 720s Setting up keyboxd (2.4.4-2ubuntu20) ... 720s Setting up gnupg (2.4.4-2ubuntu20) ... 720s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 720s Setting up binutils-aarch64-linux-gnu (2.43.50.20241126-3ubuntu1) ... 720s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 720s Processing triggers for install-info (7.1.1-1) ... 720s Processing triggers for libc-bin (2.40-1ubuntu3) ... 720s Processing triggers for man-db (2.13.0-1) ... 722s Reading package lists... 722s Building dependency tree... 722s Reading state information... 722s The following packages will be REMOVED: 722s libassuan0* 723s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 723s After this operation, 156 kB disk space will be freed. 723s (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 ... 80338 files and directories currently installed.) 723s Removing libassuan0:arm64 (2.5.6-1build1) ... 723s Processing triggers for libc-bin (2.40-1ubuntu3) ... 723s autopkgtest [02:10:12]: upgrading testbed (apt dist-upgrade and autopurge) 723s Reading package lists... 724s Building dependency tree... 724s Reading state information... 724s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 724s Starting 2 pkgProblemResolver with broken count: 0 724s Done 725s Entering ResolveByKeep 725s 726s The following packages will be upgraded: 726s xauth 726s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 726s Need to get 25.1 kB of archives. 726s After this operation, 0 B of additional disk space will be used. 726s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 xauth arm64 1:1.1.2-1.1 [25.1 kB] 726s Fetched 25.1 kB in 0s (121 kB/s) 726s (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 ... 80333 files and directories currently installed.) 726s Preparing to unpack .../xauth_1%3a1.1.2-1.1_arm64.deb ... 726s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 726s Setting up xauth (1:1.1.2-1.1) ... 726s Processing triggers for man-db (2.13.0-1) ... 727s Reading package lists... 727s Building dependency tree... 727s Reading state information... 727s Starting pkgProblemResolver with broken count: 0 727s Starting 2 pkgProblemResolver with broken count: 0 727s Done 728s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 731s Reading package lists... 731s Building dependency tree... 731s Reading state information... 731s Starting pkgProblemResolver with broken count: 0 732s Starting 2 pkgProblemResolver with broken count: 0 732s Done 732s The following NEW packages will be installed: 732s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 732s libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin libgirepository-2.0-0 732s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-dev-bin libglib2.0-tests 732s libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 libvulkan1 732s libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 732s libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 libxcb-sync1 732s libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 732s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 732s native-architecture python3-dbusmock python3-packaging tzdata-legacy 732s x11-common x11-xkb-utils xserver-common xvfb 733s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 733s Need to get 14.6 MB of archives. 733s After this operation, 80.0 MB of additional disk space will be used. 733s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 dbus-x11 arm64 1.14.10-4ubuntu5 [23.2 kB] 733s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 desktop-file-utils arm64 0.28-1 [53.6 kB] 733s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.3 [1990 B] 733s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.82.2-3 [72.1 kB] 733s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.82.2-3 [103 kB] 733s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 gnome-desktop-testing arm64 2021.1-4 [16.2 kB] 733s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libdrm-radeon1 arm64 2.4.123-1 [20.8 kB] 733s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libfontenc1 arm64 1:1.1.8-1build1 [13.9 kB] 733s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-server0 arm64 1.23.0-1 [35.7 kB] 733s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-randr0 arm64 1.17.0-2 [18.5 kB] 733s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libglapi-mesa arm64 24.2.3-1ubuntu1 [59.4 kB] 733s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libx11-xcb1 arm64 2:1.8.10-2 [8020 B] 733s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-dri2-0 arm64 1.17.0-2 [7418 B] 733s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-dri3-0 arm64 1.17.0-2 [7606 B] 733s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-present0 arm64 1.17.0-2 [6224 B] 733s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-sync1 arm64 1.17.0-2 [9688 B] 733s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-xfixes0 arm64 1.17.0-2 [10.6 kB] 733s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libxshmfence1 arm64 1.3-1build5 [4938 B] 733s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 mesa-libgallium arm64 24.2.3-1ubuntu1 [9030 kB] 733s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libgbm1 arm64 24.2.3-1ubuntu1 [32.9 kB] 733s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 733s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.82.2-3 [128 kB] 733s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libvulkan1 arm64 1.3.296.0-1 [153 kB] 733s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 libgl1-mesa-dri arm64 24.2.3-1ubuntu1 [33.3 kB] 733s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev-bin arm64 2.82.2-3 [18.1 kB] 733s Get:26 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-dbusmock all 0.32.2-2 [90.7 kB] 733s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 tzdata-legacy all 2024b-1ubuntu2 [99.9 kB] 733s Get:28 http://ftpmaster.internal/ubuntu plucky/universe arm64 libglib2.0-tests arm64 2.82.2-3 [2084 kB] 733s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-glx0 arm64 1.17.0-2 [25.5 kB] 733s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-shm0 arm64 1.17.0-2 [5884 B] 734s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libxfixes3 arm64 1:6.0.0-2build1 [11.2 kB] 734s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libxxf86vm1 arm64 1:1.1.4-1build4 [9130 B] 734s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libglx-mesa0 arm64 24.2.3-1ubuntu1 [164 kB] 734s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 734s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libice6 arm64 2:1.1.1-1 [42.3 kB] 734s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libpixman-1-0 arm64 0.44.0-3 [197 kB] 734s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libsm6 arm64 2:1.2.4-1 [16.4 kB] 734s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libxt6t64 arm64 1:1.2.1-1.2build1 [168 kB] 734s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libxmu6 arm64 2:1.1.3-3build2 [47.5 kB] 734s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libxpm4 arm64 1:3.5.17-1build2 [35.1 kB] 734s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libxaw7 arm64 2:1.0.16-1 [184 kB] 734s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 libxfont2 arm64 1:2.0.6-1build1 [88.7 kB] 734s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 libxkbfile1 arm64 1:1.1.0-1build4 [69.4 kB] 734s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrender1 arm64 1:0.9.10-1.1build1 [18.8 kB] 734s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrandr2 arm64 2:1.5.4-1 [19.6 kB] 734s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-xkb-utils arm64 7.7+9 [165 kB] 734s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 734s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 libglvnd0 arm64 1.7.0-1build1 [60.6 kB] 734s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libglx0 arm64 1.7.0-1build1 [33.2 kB] 734s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 libgl1 arm64 1.7.0-1build1 [106 kB] 734s Get:51 http://ftpmaster.internal/ubuntu plucky/universe arm64 xvfb arm64 2:21.1.14-2ubuntu1 [868 kB] 734s Fetched 14.6 MB in 1s (11.2 MB/s) 734s Selecting previously unselected package dbus-x11. 734s (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 ... 80333 files and directories currently installed.) 734s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_arm64.deb ... 734s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 734s Selecting previously unselected package desktop-file-utils. 734s Preparing to unpack .../01-desktop-file-utils_0.28-1_arm64.deb ... 734s Unpacking desktop-file-utils (0.28-1) ... 734s Selecting previously unselected package native-architecture. 734s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 734s Unpacking native-architecture (0.2.3) ... 734s Selecting previously unselected package libgirepository-2.0-0:arm64. 734s Preparing to unpack .../03-libgirepository-2.0-0_2.82.2-3_arm64.deb ... 734s Unpacking libgirepository-2.0-0:arm64 (2.82.2-3) ... 734s Selecting previously unselected package girepository-tools:arm64. 734s Preparing to unpack .../04-girepository-tools_2.82.2-3_arm64.deb ... 734s Unpacking girepository-tools:arm64 (2.82.2-3) ... 734s Selecting previously unselected package gnome-desktop-testing. 734s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_arm64.deb ... 734s Unpacking gnome-desktop-testing (2021.1-4) ... 734s Selecting previously unselected package libdrm-radeon1:arm64. 734s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_arm64.deb ... 734s Unpacking libdrm-radeon1:arm64 (2.4.123-1) ... 734s Selecting previously unselected package libfontenc1:arm64. 734s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_arm64.deb ... 734s Unpacking libfontenc1:arm64 (1:1.1.8-1build1) ... 734s Selecting previously unselected package libwayland-server0:arm64. 734s Preparing to unpack .../08-libwayland-server0_1.23.0-1_arm64.deb ... 734s Unpacking libwayland-server0:arm64 (1.23.0-1) ... 734s Selecting previously unselected package libxcb-randr0:arm64. 734s Preparing to unpack .../09-libxcb-randr0_1.17.0-2_arm64.deb ... 734s Unpacking libxcb-randr0:arm64 (1.17.0-2) ... 735s Selecting previously unselected package libglapi-mesa:arm64. 735s Preparing to unpack .../10-libglapi-mesa_24.2.3-1ubuntu1_arm64.deb ... 735s Unpacking libglapi-mesa:arm64 (24.2.3-1ubuntu1) ... 735s Selecting previously unselected package libx11-xcb1:arm64. 735s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.10-2_arm64.deb ... 735s Unpacking libx11-xcb1:arm64 (2:1.8.10-2) ... 735s Selecting previously unselected package libxcb-dri2-0:arm64. 735s Preparing to unpack .../12-libxcb-dri2-0_1.17.0-2_arm64.deb ... 735s Unpacking libxcb-dri2-0:arm64 (1.17.0-2) ... 735s Selecting previously unselected package libxcb-dri3-0:arm64. 735s Preparing to unpack .../13-libxcb-dri3-0_1.17.0-2_arm64.deb ... 735s Unpacking libxcb-dri3-0:arm64 (1.17.0-2) ... 735s Selecting previously unselected package libxcb-present0:arm64. 735s Preparing to unpack .../14-libxcb-present0_1.17.0-2_arm64.deb ... 735s Unpacking libxcb-present0:arm64 (1.17.0-2) ... 735s Selecting previously unselected package libxcb-sync1:arm64. 735s Preparing to unpack .../15-libxcb-sync1_1.17.0-2_arm64.deb ... 735s Unpacking libxcb-sync1:arm64 (1.17.0-2) ... 735s Selecting previously unselected package libxcb-xfixes0:arm64. 735s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2_arm64.deb ... 735s Unpacking libxcb-xfixes0:arm64 (1.17.0-2) ... 735s Selecting previously unselected package libxshmfence1:arm64. 735s Preparing to unpack .../17-libxshmfence1_1.3-1build5_arm64.deb ... 735s Unpacking libxshmfence1:arm64 (1.3-1build5) ... 735s Selecting previously unselected package mesa-libgallium:arm64. 735s Preparing to unpack .../18-mesa-libgallium_24.2.3-1ubuntu1_arm64.deb ... 735s Unpacking mesa-libgallium:arm64 (24.2.3-1ubuntu1) ... 735s Selecting previously unselected package libgbm1:arm64. 735s Preparing to unpack .../19-libgbm1_24.2.3-1ubuntu1_arm64.deb ... 735s Unpacking libgbm1:arm64 (24.2.3-1ubuntu1) ... 735s Selecting previously unselected package python3-packaging. 735s Preparing to unpack .../20-python3-packaging_24.2-1_all.deb ... 735s Unpacking python3-packaging (24.2-1) ... 735s Selecting previously unselected package libgio-2.0-dev-bin. 735s Preparing to unpack .../21-libgio-2.0-dev-bin_2.82.2-3_arm64.deb ... 735s Unpacking libgio-2.0-dev-bin (2.82.2-3) ... 735s Selecting previously unselected package libvulkan1:arm64. 735s Preparing to unpack .../22-libvulkan1_1.3.296.0-1_arm64.deb ... 735s Unpacking libvulkan1:arm64 (1.3.296.0-1) ... 735s Selecting previously unselected package libgl1-mesa-dri:arm64. 735s Preparing to unpack .../23-libgl1-mesa-dri_24.2.3-1ubuntu1_arm64.deb ... 735s Unpacking libgl1-mesa-dri:arm64 (24.2.3-1ubuntu1) ... 735s Selecting previously unselected package libglib2.0-dev-bin. 735s Preparing to unpack .../24-libglib2.0-dev-bin_2.82.2-3_arm64.deb ... 735s Unpacking libglib2.0-dev-bin (2.82.2-3) ... 735s Selecting previously unselected package python3-dbusmock. 735s Preparing to unpack .../25-python3-dbusmock_0.32.2-2_all.deb ... 735s Unpacking python3-dbusmock (0.32.2-2) ... 735s Selecting previously unselected package tzdata-legacy. 735s Preparing to unpack .../26-tzdata-legacy_2024b-1ubuntu2_all.deb ... 735s Unpacking tzdata-legacy (2024b-1ubuntu2) ... 735s Selecting previously unselected package libglib2.0-tests. 735s Preparing to unpack .../27-libglib2.0-tests_2.82.2-3_arm64.deb ... 735s Unpacking libglib2.0-tests (2.82.2-3) ... 736s Selecting previously unselected package libxcb-glx0:arm64. 736s Preparing to unpack .../28-libxcb-glx0_1.17.0-2_arm64.deb ... 736s Unpacking libxcb-glx0:arm64 (1.17.0-2) ... 736s Selecting previously unselected package libxcb-shm0:arm64. 736s Preparing to unpack .../29-libxcb-shm0_1.17.0-2_arm64.deb ... 736s Unpacking libxcb-shm0:arm64 (1.17.0-2) ... 736s Selecting previously unselected package libxfixes3:arm64. 736s Preparing to unpack .../30-libxfixes3_1%3a6.0.0-2build1_arm64.deb ... 736s Unpacking libxfixes3:arm64 (1:6.0.0-2build1) ... 736s Selecting previously unselected package libxxf86vm1:arm64. 736s Preparing to unpack .../31-libxxf86vm1_1%3a1.1.4-1build4_arm64.deb ... 736s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build4) ... 736s Selecting previously unselected package libglx-mesa0:arm64. 736s Preparing to unpack .../32-libglx-mesa0_24.2.3-1ubuntu1_arm64.deb ... 736s Unpacking libglx-mesa0:arm64 (24.2.3-1ubuntu1) ... 736s Selecting previously unselected package x11-common. 736s Preparing to unpack .../33-x11-common_1%3a7.7+23ubuntu3_all.deb ... 736s Unpacking x11-common (1:7.7+23ubuntu3) ... 736s Selecting previously unselected package libice6:arm64. 736s Preparing to unpack .../34-libice6_2%3a1.1.1-1_arm64.deb ... 736s Unpacking libice6:arm64 (2:1.1.1-1) ... 736s Selecting previously unselected package libpixman-1-0:arm64. 736s Preparing to unpack .../35-libpixman-1-0_0.44.0-3_arm64.deb ... 736s Unpacking libpixman-1-0:arm64 (0.44.0-3) ... 736s Selecting previously unselected package libsm6:arm64. 736s Preparing to unpack .../36-libsm6_2%3a1.2.4-1_arm64.deb ... 736s Unpacking libsm6:arm64 (2:1.2.4-1) ... 736s Selecting previously unselected package libxt6t64:arm64. 736s Preparing to unpack .../37-libxt6t64_1%3a1.2.1-1.2build1_arm64.deb ... 736s Unpacking libxt6t64:arm64 (1:1.2.1-1.2build1) ... 736s Selecting previously unselected package libxmu6:arm64. 736s Preparing to unpack .../38-libxmu6_2%3a1.1.3-3build2_arm64.deb ... 736s Unpacking libxmu6:arm64 (2:1.1.3-3build2) ... 736s Selecting previously unselected package libxpm4:arm64. 736s Preparing to unpack .../39-libxpm4_1%3a3.5.17-1build2_arm64.deb ... 736s Unpacking libxpm4:arm64 (1:3.5.17-1build2) ... 736s Selecting previously unselected package libxaw7:arm64. 736s Preparing to unpack .../40-libxaw7_2%3a1.0.16-1_arm64.deb ... 736s Unpacking libxaw7:arm64 (2:1.0.16-1) ... 736s Selecting previously unselected package libxfont2:arm64. 736s Preparing to unpack .../41-libxfont2_1%3a2.0.6-1build1_arm64.deb ... 736s Unpacking libxfont2:arm64 (1:2.0.6-1build1) ... 736s Selecting previously unselected package libxkbfile1:arm64. 736s Preparing to unpack .../42-libxkbfile1_1%3a1.1.0-1build4_arm64.deb ... 736s Unpacking libxkbfile1:arm64 (1:1.1.0-1build4) ... 736s Selecting previously unselected package libxrender1:arm64. 736s Preparing to unpack .../43-libxrender1_1%3a0.9.10-1.1build1_arm64.deb ... 736s Unpacking libxrender1:arm64 (1:0.9.10-1.1build1) ... 736s Selecting previously unselected package libxrandr2:arm64. 736s Preparing to unpack .../44-libxrandr2_2%3a1.5.4-1_arm64.deb ... 736s Unpacking libxrandr2:arm64 (2:1.5.4-1) ... 736s Selecting previously unselected package x11-xkb-utils. 736s Preparing to unpack .../45-x11-xkb-utils_7.7+9_arm64.deb ... 736s Unpacking x11-xkb-utils (7.7+9) ... 736s Selecting previously unselected package xserver-common. 736s Preparing to unpack .../46-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 736s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 736s Selecting previously unselected package libglvnd0:arm64. 736s Preparing to unpack .../47-libglvnd0_1.7.0-1build1_arm64.deb ... 736s Unpacking libglvnd0:arm64 (1.7.0-1build1) ... 736s Selecting previously unselected package libglx0:arm64. 736s Preparing to unpack .../48-libglx0_1.7.0-1build1_arm64.deb ... 736s Unpacking libglx0:arm64 (1.7.0-1build1) ... 737s Selecting previously unselected package libgl1:arm64. 737s Preparing to unpack .../49-libgl1_1.7.0-1build1_arm64.deb ... 737s Unpacking libgl1:arm64 (1.7.0-1build1) ... 737s Selecting previously unselected package xvfb. 737s Preparing to unpack .../50-xvfb_2%3a21.1.14-2ubuntu1_arm64.deb ... 737s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 737s Setting up gnome-desktop-testing (2021.1-4) ... 737s Setting up libxcb-dri3-0:arm64 (1.17.0-2) ... 737s Setting up libpixman-1-0:arm64 (0.44.0-3) ... 737s Setting up libwayland-server0:arm64 (1.23.0-1) ... 737s Setting up libx11-xcb1:arm64 (2:1.8.10-2) ... 737s Setting up native-architecture (0.2.3) ... 737s Setting up libxcb-xfixes0:arm64 (1.17.0-2) ... 737s Setting up desktop-file-utils (0.28-1) ... 737s Setting up libxpm4:arm64 (1:3.5.17-1build2) ... 737s Setting up libxrender1:arm64 (1:0.9.10-1.1build1) ... 737s Setting up libgirepository-2.0-0:arm64 (2.82.2-3) ... 737s Setting up libdrm-radeon1:arm64 (2.4.123-1) ... 737s Setting up libglvnd0:arm64 (1.7.0-1build1) ... 737s Setting up libxcb-glx0:arm64 (1.17.0-2) ... 737s Setting up x11-common (1:7.7+23ubuntu3) ... 737s Setting up libxcb-shm0:arm64 (1.17.0-2) ... 737s Setting up python3-dbusmock (0.32.2-2) ... 737s Setting up tzdata-legacy (2024b-1ubuntu2) ... 737s Setting up libxxf86vm1:arm64 (1:1.1.4-1build4) ... 737s Setting up libxcb-present0:arm64 (1.17.0-2) ... 737s Setting up libfontenc1:arm64 (1:1.1.8-1build1) ... 737s Setting up python3-packaging (24.2-1) ... 737s Setting up libxfixes3:arm64 (1:6.0.0-2build1) ... 737s Setting up libxcb-sync1:arm64 (1.17.0-2) ... 737s Setting up libxrandr2:arm64 (2:1.5.4-1) ... 737s Setting up libglapi-mesa:arm64 (24.2.3-1ubuntu1) ... 737s Setting up libvulkan1:arm64 (1.3.296.0-1) ... 737s Setting up libxcb-dri2-0:arm64 (1.17.0-2) ... 737s Setting up libxshmfence1:arm64 (1.3-1build5) ... 737s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 737s Setting up libxcb-randr0:arm64 (1.17.0-2) ... 737s Setting up libxkbfile1:arm64 (1:1.1.0-1build4) ... 737s Setting up libxfont2:arm64 (1:2.0.6-1build1) ... 737s Setting up libice6:arm64 (2:1.1.1-1) ... 737s Setting up mesa-libgallium:arm64 (24.2.3-1ubuntu1) ... 737s Setting up libgio-2.0-dev-bin (2.82.2-3) ... 738s Setting up girepository-tools:arm64 (2.82.2-3) ... 738s Setting up libgbm1:arm64 (24.2.3-1ubuntu1) ... 738s Setting up libgl1-mesa-dri:arm64 (24.2.3-1ubuntu1) ... 738s Setting up libsm6:arm64 (2:1.2.4-1) ... 738s Setting up libglib2.0-dev-bin (2.82.2-3) ... 738s Setting up libglx-mesa0:arm64 (24.2.3-1ubuntu1) ... 738s Setting up libglx0:arm64 (1.7.0-1build1) ... 738s Setting up libgl1:arm64 (1.7.0-1build1) ... 738s Setting up libxt6t64:arm64 (1:1.2.1-1.2build1) ... 738s Setting up libglib2.0-tests (2.82.2-3) ... 738s Setting up libxmu6:arm64 (2:1.1.3-3build2) ... 738s Setting up libxaw7:arm64 (2:1.0.16-1) ... 738s Setting up x11-xkb-utils (7.7+9) ... 738s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 738s Setting up xvfb (2:21.1.14-2ubuntu1) ... 738s Processing triggers for man-db (2.13.0-1) ... 738s Processing triggers for libc-bin (2.40-1ubuntu3) ... 743s autopkgtest [02:10:32]: test installed-tests: [----------------------- 743s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 743s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 743s group entry: ubuntu:x:1000: 743s Environment: 743s ADTTMP=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp 743s ADT_ARTIFACTS=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts 743s ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 743s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts 743s AUTOPKGTEST_TESTBED_ARCH=arm64 743s AUTOPKGTEST_TEST_ARCH=arm64 743s AUTOPKGTEST_TMP=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp 743s DEBIAN_FRONTEND=noninteractive 743s DEB_BUILD_OPTIONS=parallel=2 743s GIO_USE_VFS=local 743s GIO_USE_VOLUME_MONITOR=unix 743s HOME=/home/ubuntu 743s LANG=C.UTF-8 743s LOGNAME=ubuntu 743s MAIL=/var/mail/ubuntu 743s OLDPWD=/home/ubuntu 743s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 743s PWD=/tmp/autopkgtest.Gp36pX/build.345/src 743s SHELL=/bin/bash 743s SHLVL=1 743s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests 743s SUDO_GID=1000 743s SUDO_UID=1000 743s SUDO_USER=ubuntu 743s TERM=linux 743s USER=ubuntu 743s XDG_RUNTIME_DIR=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp 743s http_proxy=http://squid.internal:3128 743s https_proxy=http://squid.internal:3128 743s 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 744s run-with-locales: de_DE=ISO-8859-1... 744s Character set: ISO-8859-1 744s Source file: de_DE 744s Output: /tmp/tmp.URGxLhdtfL/de_DE 744s run-with-locales: de_DE.utf8... 744s Character set: UTF-8 744s Source file: de_DE 744s Output: /tmp/tmp.URGxLhdtfL/de_DE.utf8 746s run-with-locales: de_DE@euro.utf8... 746s Character set: UTF-8 746s Source file: de_DE@euro 746s Output: /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8 748s run-with-locales: el_GR.utf8... 748s Character set: UTF-8 748s Source file: el_GR 748s Output: /tmp/tmp.URGxLhdtfL/el_GR.utf8 750s run-with-locales: en_GB=ISO-8859-1... 750s Character set: ISO-8859-1 750s Source file: en_GB 750s Output: /tmp/tmp.URGxLhdtfL/en_GB 750s run-with-locales: en_GB.utf8... 750s Character set: UTF-8 750s Source file: en_GB 750s Output: /tmp/tmp.URGxLhdtfL/en_GB.utf8 752s run-with-locales: en_US=ISO-8859-1... 752s Character set: ISO-8859-1 752s Source file: en_US 752s Output: /tmp/tmp.URGxLhdtfL/en_US 753s run-with-locales: en_US.utf8... 753s Character set: UTF-8 753s Source file: en_US 753s Output: /tmp/tmp.URGxLhdtfL/en_US.utf8 754s run-with-locales: es_ES.utf8... 754s Character set: UTF-8 754s Source file: es_ES 754s Output: /tmp/tmp.URGxLhdtfL/es_ES.utf8 756s run-with-locales: fa_IR=UTF-8... 756s Character set: UTF-8 756s Source file: fa_IR 756s Output: /tmp/tmp.URGxLhdtfL/fa_IR 758s run-with-locales: fa_IR.utf8... 758s Character set: UTF-8 758s Source file: fa_IR 758s Output: /tmp/tmp.URGxLhdtfL/fa_IR.utf8 760s run-with-locales: fr_FR.utf8... 760s Character set: UTF-8 760s Source file: fr_FR 760s Output: /tmp/tmp.URGxLhdtfL/fr_FR.utf8 762s run-with-locales: hr_HR.utf8... 762s Character set: UTF-8 762s Source file: hr_HR 762s Output: /tmp/tmp.URGxLhdtfL/hr_HR.utf8 764s run-with-locales: ja_JP.utf8... 764s Character set: UTF-8 764s Source file: ja_JP 764s Output: /tmp/tmp.URGxLhdtfL/ja_JP.utf8 765s run-with-locales: ja_JP.EUC-JP... 765s Character set: EUC-JP 765s Source file: ja_JP 765s Output: /tmp/tmp.URGxLhdtfL/ja_JP.eucjp 765s run-with-locales: lt_LT.utf8... 765s Character set: UTF-8 765s Source file: lt_LT 765s Output: /tmp/tmp.URGxLhdtfL/lt_LT.utf8 767s run-with-locales: pl_PL=ISO-8859-2... 767s Character set: ISO-8859-2 767s Source file: pl_PL 767s Output: /tmp/tmp.URGxLhdtfL/pl_PL 768s run-with-locales: pl_PL.ISO-8859-2... 768s Character set: ISO-8859-2 768s Source file: pl_PL 768s Output: /tmp/tmp.URGxLhdtfL/pl_PL.iso88592 768s run-with-locales: pl_PL.utf8... 768s Character set: UTF-8 768s Source file: pl_PL 768s Output: /tmp/tmp.URGxLhdtfL/pl_PL.utf8 770s run-with-locales: ru_RU=ISO-8859-5... 770s Character set: ISO-8859-5 770s Source file: ru_RU 770s Output: /tmp/tmp.URGxLhdtfL/ru_RU 770s run-with-locales: ru_RU.utf8... 770s Character set: UTF-8 770s Source file: ru_RU 770s Output: /tmp/tmp.URGxLhdtfL/ru_RU.utf8 772s run-with-locales: sr_RS=UTF-8... 772s Character set: UTF-8 772s Source file: sr_RS 772s Output: /tmp/tmp.URGxLhdtfL/sr_RS 774s run-with-locales: sr_RS@latin=UTF-8... 774s Character set: UTF-8 774s Source file: sr_RS@latin 774s Output: /tmp/tmp.URGxLhdtfL/sr_RS@latin 776s run-with-locales: sv_SE=ISO-8859-1... 776s Character set: ISO-8859-1 776s Source file: sv_SE 776s Output: /tmp/tmp.URGxLhdtfL/sv_SE 776s run-with-locales: sv_SE.utf8... 776s Character set: UTF-8 776s Source file: sv_SE 776s Output: /tmp/tmp.URGxLhdtfL/sv_SE.utf8 778s run-with-locales: tr_TR=ISO-8859-9... 778s Character set: ISO-8859-9 778s Source file: tr_TR 778s Output: /tmp/tmp.URGxLhdtfL/tr_TR 779s run-with-locales: tr_TR.utf8... 779s Character set: UTF-8 779s Source file: tr_TR 779s Output: /tmp/tmp.URGxLhdtfL/tr_TR.utf8 780s run-with-locales: tt_RU=UTF-8... 780s Character set: UTF-8 780s Source file: tt_RU 780s Output: /tmp/tmp.URGxLhdtfL/tt_RU 782s run-with-locales: tt_RU.utf8... 782s Character set: UTF-8 782s Source file: tt_RU 782s Output: /tmp/tmp.URGxLhdtfL/tt_RU.utf8 784s run-with-locales: tt_RU@iqtelif=UTF-8... 784s Character set: UTF-8 784s Source file: tt_RU@iqtelif 784s Output: /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif 786s /tmp/tmp.URGxLhdtfL 786s /tmp/tmp.URGxLhdtfL/pl_PL 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_TIME 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_NAME 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/pl_PL/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/ja_JP.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_TIME 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_NAME 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/tt_RU@iqtelif/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/tt_RU 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_TIME 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_NAME 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/tt_RU/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/ru_RU.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/tr_TR.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/lt_LT.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_TIME 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_NAME 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/ja_JP.eucjp/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/fa_IR 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_TIME 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_NAME 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/fa_IR/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/sv_SE 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_TIME 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_NAME 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/sv_SE/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/en_GB 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_TIME 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_NAME 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/en_GB/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/hr_HR.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/sr_RS 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_TIME 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_NAME 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/sr_RS/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/tt_RU.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/en_GB.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/ru_RU 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_TIME 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_NAME 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/ru_RU/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/pl_PL.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/en_US 786s /tmp/tmp.URGxLhdtfL/en_US/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/en_US/LC_TIME 786s /tmp/tmp.URGxLhdtfL/en_US/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/en_US/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/en_US/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/en_US/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/en_US/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/en_US/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/en_US/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/en_US/LC_NAME 786s /tmp/tmp.URGxLhdtfL/en_US/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/en_US/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/en_US/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/en_US.utf8 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/en_US.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_TIME 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_NAME 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/sr_RS@latin/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/de_DE@euro.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/es_ES.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/fa_IR.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/sv_SE.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/fr_FR.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/tr_TR 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_TIME 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_NAME 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/tr_TR/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/el_GR.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_TIME 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_NAME 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/de_DE.utf8/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_TIME 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_NAME 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/pl_PL.iso88592/LC_CTYPE 786s /tmp/tmp.URGxLhdtfL/de_DE 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_TELEPHONE 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_TIME 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_COLLATE 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_MONETARY 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_MEASUREMENT 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_IDENTIFICATION 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_NUMERIC 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_ADDRESS 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_PAPER 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_NAME 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 786s /tmp/tmp.URGxLhdtfL/de_DE/LC_CTYPE 786s 1..319 786s # Running test: glib/param.test 786s TAP version 14 786s # random seed: R02S232a5a0299cd2310e2a6054fa1bbe2b6 786s 1..32 786s # Start of param tests 786s ok 1 /param/value 786s ok 2 /param/strings 786s ok 3 /param/qdata 786s ok 4 /param/validate 786s ok 5 /param/convert 786s ok 6 /param/implement # SKIP Skipping slow /param/implement test 786s ok 7 /param/default 786s ok 8 /param/is-valid-name 786s # Start of invalid-name tests 786s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 786s ok 9 /param/invalid-name/colon 786s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 786s ok 10 /param/invalid-name/first-char 786s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 786s ok 11 /param/invalid-name/empty 786s # End of invalid-name tests 786s # Start of implement tests 786s # Start of subprocess tests 786s # End of subprocess tests 786s # End of implement tests 786s # End of param tests 786s # Start of value tests 786s ok 12 /value/transform 786s # End of value tests 786s # Start of paramspec tests 786s ok 13 /paramspec/char 786s ok 14 /paramspec/uchar 786s ok 15 /paramspec/int 786s ok 16 /paramspec/uint 786s ok 17 /paramspec/long 786s ok 18 /paramspec/ulong 786s ok 19 /paramspec/int64 786s ok 20 /paramspec/uint64 786s ok 21 /paramspec/float 786s ok 22 /paramspec/double 786s ok 23 /paramspec/unichar 786s ok 24 /paramspec/param 786s ok 25 /paramspec/null-param 786s ok 26 /paramspec/string 786s ok 27 /paramspec/override 786s ok 28 /paramspec/gtype 786s ok 29 /paramspec/variant 786s ok 30 /paramspec/custom 786s ok 31 /paramspec/pool 786s # Start of variant tests 786s ok 32 /paramspec/variant/cmp 786s # End of variant tests 786s # End of paramspec tests 786s ok - glib/param.test 786s # Running test: glib/utils-isolated.test 786s TAP version 14 786s # random seed: R02S1e649f5413369c84b99d52ef429af005 786s 1..11 786s # Start of utils-isolated tests 786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/tmp-dir/.dirs/home 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/tmp-dir/.dirs/cache 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/tmp-dir/.dirs/system-config2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/tmp-dir/.dirs/config 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/tmp-dir/.dirs/system-data2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/tmp-dir/.dirs/data 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/tmp-dir/.dirs/state 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6CTOX2/utils-isolated/tmp-dir/.dirs/runtime 786s ok 1 /utils-isolated/tmp-dir 786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/home-dir/.dirs/home 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/home-dir/.dirs/cache 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/home-dir/.dirs/system-config2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/home-dir/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/home-dir/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/home-dir/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/home-dir/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6CTOX2/utils-isolated/home-dir/.dirs/runtime 787s ok 2 /utils-isolated/home-dir 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-cache-dir/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-cache-dir/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/user-cache-dir/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-cache-dir/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/user-cache-dir/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-cache-dir/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-cache-dir/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-cache-dir/.dirs/runtime 787s ok 3 /utils-isolated/user-cache-dir 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-config-dirs/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-config-dirs/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/system-config-dirs/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-config-dirs/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/system-config-dirs/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-config-dirs/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-config-dirs/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-config-dirs/.dirs/runtime 787s ok 4 /utils-isolated/system-config-dirs 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-config-dir/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-config-dir/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/user-config-dir/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-config-dir/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/user-config-dir/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-config-dir/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-config-dir/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-config-dir/.dirs/runtime 787s ok 5 /utils-isolated/user-config-dir 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-data-dirs/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-data-dirs/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/system-data-dirs/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-data-dirs/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/system-data-dirs/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-data-dirs/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-data-dirs/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6CTOX2/utils-isolated/system-data-dirs/.dirs/runtime 787s ok 6 /utils-isolated/system-data-dirs 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-data-dir/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-data-dir/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/user-data-dir/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-data-dir/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/user-data-dir/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-data-dir/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-data-dir/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-data-dir/.dirs/runtime 787s ok 7 /utils-isolated/user-data-dir 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-state-dir/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-state-dir/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/user-state-dir/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-state-dir/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/user-state-dir/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-state-dir/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-state-dir/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-state-dir/.dirs/runtime 787s ok 8 /utils-isolated/user-state-dir 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-runtime-dir/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-runtime-dir/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/user-runtime-dir/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-runtime-dir/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/user-runtime-dir/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-runtime-dir/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-runtime-dir/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6CTOX2/utils-isolated/user-runtime-dir/.dirs/runtime 787s ok 9 /utils-isolated/user-runtime-dir 787s # Start of cleanup tests 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors/.dirs/runtime 787s Unable to clean up temporary directory /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 787s Unable to clean up temporary directory /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 787s Unable to clean up temporary directory /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/handles-errors: Directory not empty 787s ok 10 /utils-isolated/cleanup/handles-errors 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 787s Unable to clean up temporary directory /tmp/test_utils-isolated_6CTOX2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 787s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 787s # End of cleanup tests 787s # End of utils-isolated tests 787s ok - glib/utils-isolated.test 787s # Running test: glib/object-info.test 787s TAP version 14 787s # random seed: R02S07936bb5a5701fbaf0e9437b846905fb 787s 1..2 787s # Start of object-info tests 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_Z4GOX2/object-info/find-method-using-interfaces/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_Z4GOX2/object-info/find-method-using-interfaces/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_Z4GOX2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_Z4GOX2/object-info/find-method-using-interfaces/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_Z4GOX2/object-info/find-method-using-interfaces/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_Z4GOX2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_Z4GOX2/object-info/find-method-using-interfaces/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_Z4GOX2/object-info/find-method-using-interfaces/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_Z4GOX2/object-info/find-method-using-interfaces/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_Z4GOX2/object-info/find-method-using-interfaces/.dirs/runtime 787s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 787s ok 1 /object-info/find-method-using-interfaces 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_Z4GOX2/object-info/find-vfunc-using-interfaces/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_Z4GOX2/object-info/find-vfunc-using-interfaces/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_Z4GOX2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_Z4GOX2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_Z4GOX2/object-info/find-vfunc-using-interfaces/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_Z4GOX2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_Z4GOX2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_Z4GOX2/object-info/find-vfunc-using-interfaces/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_Z4GOX2/object-info/find-vfunc-using-interfaces/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_Z4GOX2/object-info/find-vfunc-using-interfaces/.dirs/runtime 787s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 787s ok 2 /object-info/find-vfunc-using-interfaces 787s # End of object-info tests 787s ok - glib/object-info.test 787s # Running test: glib/rcbox.test 787s TAP version 14 787s # random seed: R02S9e3bda59ae4f94231f4e509f761ba7f3 787s 1..8 787s # Start of rcbox tests 787s ok 1 /rcbox/new 787s # global_point = 0xb650c152d8d0 787s ok 2 /rcbox/release-full 787s # global_point_a = 0xb650c152d8d0 787s # global_point_b = 0xb650c152d890 787s ok 3 /rcbox/dup 787s ok 4 /rcbox/alignment 787s # End of rcbox tests 787s # Start of atomic-rcbox tests 787s ok 5 /atomic-rcbox/new 787s # global_point = 0xb650c152daa0 787s ok 6 /atomic-rcbox/release-full 787s # global_point_a = 0xb650c152daa0 787s # global_point_b = 0xb650c152da60 787s ok 7 /atomic-rcbox/dup 787s ok 8 /atomic-rcbox/alignment 787s # End of atomic-rcbox tests 787s ok - glib/rcbox.test 787s # Running test: glib/data-input-stream.test 787s TAP version 14 787s # random seed: R02Sdf15bd16ad7d65539d2230b6cb71b0be 787s 1..10 787s # Start of data-input-stream tests 787s ok 1 /data-input-stream/basic 787s ok 2 /data-input-stream/read-lines-LF 787s ok 3 /data-input-stream/read-lines-LF-valid-utf8 787s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 787s ok 5 /data-input-stream/read-lines-CR 787s ok 6 /data-input-stream/read-lines-CR-LF 787s ok 7 /data-input-stream/read-lines-any 787s ok 8 /data-input-stream/read-until 787s ok 9 /data-input-stream/read-upto 787s ok 10 /data-input-stream/read-int 787s # End of data-input-stream tests 787s ok - glib/data-input-stream.test 787s # Running test: glib/defaultiface.test 787s TAP version 14 787s # random seed: R02S3a54f6a453aab0cbd7d8cfcc0444ab83 787s 1..2 787s # Start of gobject tests 787s ok 1 /gobject/static-iface 787s ok 2 /gobject/dynamic-iface 787s # End of gobject tests 787s ok - glib/defaultiface.test 787s # Running test: glib/portal-support-flatpak-none.test 787s TAP version 14 787s # random seed: R02S110ebf368903d6bc7694c12174df6c13 787s 1..1 787s # Start of portal-support tests 787s # Start of flatpak tests 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_ERA5X2/portal-support/flatpak/none/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_ERA5X2/portal-support/flatpak/none/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_ERA5X2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_ERA5X2/portal-support/flatpak/none/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_ERA5X2/portal-support/flatpak/none/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_ERA5X2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_ERA5X2/portal-support/flatpak/none/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_ERA5X2/portal-support/flatpak/none/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_ERA5X2/portal-support/flatpak/none/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_ERA5X2/portal-support/flatpak/none/.dirs/runtime 787s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_ERA5X2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 787s ok 1 /portal-support/flatpak/none 787s # End of flatpak tests 787s # End of portal-support tests 787s ok - glib/portal-support-flatpak-none.test 787s # Running test: glib/object.test 787s TAP version 14 787s # random seed: R02Se7087df0be5f3d258951aa87c5177941 787s 1..2 787s # Start of object tests 787s # Start of constructor tests 787s ok 1 /object/constructor/singleton 787s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 787s # End of constructor tests 787s # End of object tests 787s ok - glib/object.test 787s # Running test: glib/mount-operation.test 787s TAP version 14 787s # random seed: R02Sa4e14a1ed51e795446045d563529f776 787s 1..2 787s # Start of mount-operation tests 787s ok 1 /mount-operation/construction 787s ok 2 /mount-operation/properties 787s # End of mount-operation tests 787s ok - glib/mount-operation.test 787s # Running test: glib/data-output-stream.test 787s TAP version 14 787s # random seed: R02S6a91843792b57da22575c77b7f07e501 787s 1..7 787s # Start of data-output-stream tests 787s ok 1 /data-output-stream/basic 787s ok 2 /data-output-stream/write-lines-LF 787s ok 3 /data-output-stream/write-lines-CR 787s ok 4 /data-output-stream/write-lines-CR-LF 787s ok 5 /data-output-stream/write-int 787s ok 6 /data-output-stream/seek 787s ok 7 /data-output-stream/truncate 787s # End of data-output-stream tests 787s ok - glib/data-output-stream.test 787s # Running test: glib/string.test 787s TAP version 14 787s # random seed: R02Sbfc8a9fc2f2ecf38ea1b2a45e7ed8ac4 787s 1..23 787s # Start of string tests 787s ok 1 /string/test-string-chunks 787s ok 2 /string/test-string-chunk-insert 787s ok 3 /string/test-string-new 787s ok 4 /string/test-string-printf 787s ok 5 /string/test-string-assign 787s ok 6 /string/test-string-append-c 787s ok 7 /string/test-string-append 787s ok 8 /string/test-string-append-vprintf 787s ok 9 /string/test-string-prepend-c 787s ok 10 /string/test-string-prepend 787s ok 11 /string/test-string-insert 787s ok 12 /string/test-string-insert-unichar 787s ok 13 /string/test-string-equal 787s ok 14 /string/test-string-truncate 787s ok 15 /string/test-string-overwrite 787s ok 16 /string/test-string-nul-handling 787s ok 17 /string/test-string-up-down 787s ok 18 /string/test-string-set-size 787s ok 19 /string/test-string-to-bytes 787s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 787s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 787s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 787s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 787s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 787s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 787s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 787s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 787s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 787s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 787s # 5: Replacing "o" with "" (limit 0) in "food for foals" 787s # -> 4 replacements, "fd fr fals" 787s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 787s # -> 3 replacements, "aaaaaaaaa" 787s # 7: Replacing "a" with "" (limit 0) in "aaa" 787s # -> 3 replacements, "" 787s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 787s # -> 1 replacements, "bba" 787s # 9: Replacing "" with "bar" (limit 0) in "foo" 787s # -> 4 replacements, "barfbarobarobar" 787s # 10: Replacing "" with "x" (limit 0) in "" 787s # -> 1 replacements, "x" 787s # 11: Replacing "" with "" (limit 0) in "" 787s # -> 1 replacements, "" 787s ok 20 /string/test-string-replace 787s ok 21 /string/test-string-steal 787s ok 22 /string/test-string-new-take 787s # Start of test-string-new-take tests 787s ok 23 /string/test-string-new-take/null 787s # End of test-string-new-take tests 787s # End of string tests 787s ok - glib/string.test 787s # Running test: glib/refcount.test 787s TAP version 14 787s # random seed: R02Se7e68cbf18d0214ca35b08b1709bff4e 787s 1..4 787s # Start of refcount tests 787s ok 1 /refcount/grefcount 787s ok 2 /refcount/gatomicrefcount 787s # Start of grefcount tests 787s ok 3 /refcount/grefcount/saturation 787s # End of grefcount tests 787s # Start of gatomicrefcount tests 787s ok 4 /refcount/gatomicrefcount/saturation 787s # End of gatomicrefcount tests 787s # End of refcount tests 787s ok - glib/refcount.test 787s # Running test: glib/rwlock.test 787s TAP version 14 787s # random seed: R02Sb433e5f87b60b578f8f5f442a9945f12 787s 1..8 787s # Start of thread tests 787s ok 1 /thread/rwlock1 787s ok 2 /thread/rwlock2 787s ok 3 /thread/rwlock3 787s ok 4 /thread/rwlock4 787s ok 5 /thread/rwlock5 787s ok 6 /thread/rwlock6 792s # Executing: glib/rwlock.test 793s ok 7 /thread/rwlock7 793s # slow test /thread/rwlock7 executed in 5.81 secs 793s ok 8 /thread/rwlock8 793s # End of thread tests 793s ok - glib/rwlock.test 793s # Running test: glib/mappedfile.test 793s TAP version 14 793s # random seed: R02S00c357d2bd18ef9a892ea283caf59b3d 793s 1..7 793s # Start of mappedfile tests 793s ok 1 /mappedfile/basic 793s ok 2 /mappedfile/empty 793s ok 3 /mappedfile/device 793s ok 4 /mappedfile/nonexisting 793s ok 5 /mappedfile/writable 793s ok 6 /mappedfile/writable_fd 793s ok 7 /mappedfile/gbytes 793s # End of mappedfile tests 793s ok - glib/mappedfile.test 793s # Running test: glib/gdbus-peer.test 793s TAP version 14 793s # random seed: R02S68bddf23bad07ca2cb3cf109cfb277de 793s 1..12 793s # Start of gdbus tests 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/.dirs/runtime 793s # Testing with unix:dir address 793s # Testing with unix:tmpdir address 793s # Testing with unix:path address 793s ok 1 /gdbus/peer-to-peer 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2714X2/gdbus/delayed-message-processing/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/delayed-message-processing/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_2714X2/gdbus/delayed-message-processing/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/delayed-message-processing/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_2714X2/gdbus/delayed-message-processing/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/delayed-message-processing/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/delayed-message-processing/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2714X2/gdbus/delayed-message-processing/.dirs/runtime 793s # Testing with unix:dir address 793s ok 2 /gdbus/delayed-message-processing 793s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2714X2/gdbus/nonce-tcp/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/nonce-tcp/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_2714X2/gdbus/nonce-tcp/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/nonce-tcp/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_2714X2/gdbus/nonce-tcp/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/nonce-tcp/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/nonce-tcp/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2714X2/gdbus/nonce-tcp/.dirs/runtime 793s ok 3 /gdbus/nonce-tcp 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2714X2/gdbus/tcp-anonymous/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/tcp-anonymous/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_2714X2/gdbus/tcp-anonymous/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/tcp-anonymous/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_2714X2/gdbus/tcp-anonymous/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/tcp-anonymous/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/tcp-anonymous/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2714X2/gdbus/tcp-anonymous/.dirs/runtime 793s ok 4 /gdbus/tcp-anonymous 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2714X2/gdbus/credentials/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/credentials/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_2714X2/gdbus/credentials/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/credentials/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_2714X2/gdbus/credentials/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/credentials/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/credentials/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2714X2/gdbus/credentials/.dirs/runtime 793s ok 5 /gdbus/credentials 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2714X2/gdbus/codegen-peer-to-peer/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/codegen-peer-to-peer/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_2714X2/gdbus/codegen-peer-to-peer/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/codegen-peer-to-peer/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_2714X2/gdbus/codegen-peer-to-peer/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/codegen-peer-to-peer/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/codegen-peer-to-peer/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2714X2/gdbus/codegen-peer-to-peer/.dirs/runtime 793s # Testing with unix:dir address 793s # Machine ID: b79db68aee5143e99181674a8cf917cf 794s ok 6 /gdbus/codegen-peer-to-peer 794s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 794s # Start of peer-to-peer tests 794s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/signals/.dirs/home 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/signals/.dirs/cache 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/signals/.dirs/system-config2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/signals/.dirs/config 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/signals/.dirs/system-data2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/signals/.dirs/data 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/signals/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/signals/.dirs/runtime 794s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 794s # Testing with unix:dir address 794s ok 7 /gdbus/peer-to-peer/signals 794s # Start of invalid tests 794s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/server/.dirs/home 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/server/.dirs/cache 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/server/.dirs/config 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/server/.dirs/data 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/server/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 794s ok 8 /gdbus/peer-to-peer/invalid/server 794s # Start of conn tests 794s # Start of stream tests 794s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 794s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 794s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 794s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 794s # End of stream tests 794s # Start of addr tests 794s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 794s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 794s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_2714X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 794s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 794s # End of addr tests 794s # End of conn tests 794s # End of invalid tests 794s # End of peer-to-peer tests 794s # End of gdbus tests 794s ok - glib/gdbus-peer.test 794s # Running test: glib/signals.test 794s TAP version 14 794s # random seed: R02Sc8d99f7e55773fad4ede18f4f6c553a9 794s 1..31 794s # Start of gobject tests 794s # Start of signals tests 794s ok 1 /gobject/signals/all-types 794s ok 2 /gobject/signals/variant 794s ok 3 /gobject/signals/destroy-target-object 794s ok 4 /gobject/signals/generic-marshaller-1 794s ok 5 /gobject/signals/generic-marshaller-2 794s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 794s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 794s ok 8 /gobject/signals/generic-marshaller-int-return 794s ok 9 /gobject/signals/generic-marshaller-uint-return 794s ok 10 /gobject/signals/generic-marshaller-interface-return 794s ok 11 /gobject/signals/custom-marshaller 794s ok 12 /gobject/signals/connect 794s ok 13 /gobject/signals/emission-hook 794s ok 14 /gobject/signals/emitv 794s ok 15 /gobject/signals/accumulator 794s # Signal: accumulator-class-first 794s # Signal: accumulator-class-last 794s # Signal: accumulator-class-cleanup 794s # Signal: accumulator-class-first-last 794s # Signal: accumulator-class-first-last-cleanup 794s # Signal: accumulator-class-last-cleanup 794s ok 16 /gobject/signals/accumulator-class 794s ok 17 /gobject/signals/introspection 794s ok 18 /gobject/signals/block-handler 794s ok 19 /gobject/signals/stop-emission 794s ok 20 /gobject/signals/invocation-hint 794s ok 21 /gobject/signals/test-disconnection-wrong-object 794s ok 22 /gobject/signals/clear-signal-handler 794s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 794s ok 23 /gobject/signals/lookup 794s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 794s ok 24 /gobject/signals/parse-name 794s ok 25 /gobject/signals/is-valid-name 794s ok 26 /gobject/signals/weak-ref-disconnect 794s # Start of lookup tests 794s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 794s ok 27 /gobject/signals/lookup/invalid 794s # End of lookup tests 794s # Start of parse-name tests 794s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 794s # Parser input: 794s # Parser input: 7zip 794s # Parser input: invalid:signal 794s # Parser input: simple-detailed:: 794s # Parser input: simple-detailed: 794s # Parser input: : 794s # Parser input: :: 794s # Parser input: :valid-detail 794s # Parser input: ::valid-detail 794s ok 28 /gobject/signals/parse-name/invalid 794s # End of parse-name tests 794s # Start of invalid-name tests 794s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 794s ok 29 /gobject/signals/invalid-name/colon 794s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 794s ok 30 /gobject/signals/invalid-name/first-char 794s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 794s ok 31 /gobject/signals/invalid-name/empty 794s # End of invalid-name tests 794s # End of signals tests 794s # End of gobject tests 794s ok - glib/signals.test 794s # Running test: glib/win32-appinfo.test 794s TAP version 14 794s # random seed: R02S90a2379d47d4614d9e491a6420554082 794s 1..5 794s # Start of appinfo tests 794s ok 1 /appinfo/utf16-strfuncs 794s ok 2 /appinfo/win32-extract-executable 794s ok 3 /appinfo/win32-rundll32-fixup 794s ok 4 /appinfo/win32-parse-filename 794s ok 5 /appinfo/win32-utf16-conversion-fail 794s # Start of subprocess tests 794s # End of subprocess tests 794s # End of appinfo tests 794s ok - glib/win32-appinfo.test 794s # Running test: glib/option-context.test 794s TAP version 14 794s # random seed: R02Sc54bca7792ff1bce64b87cc615299032 794s 1..57 794s # Start of option tests 794s ok 1 /option/basic 794s ok 2 /option/translate 794s ok 3 /option/strict-posix 794s # Start of help tests 794s ok 4 /option/help/options 794s ok 5 /option/help/no-options 794s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 794s ok 6 /option/help/no-help-options 794s # End of help tests 794s # Start of group tests 794s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 794s ok 7 /option/group/captions 794s ok 8 /option/group/main 794s ok 9 /option/group/error-hook 794s ok 10 /option/group/parse 794s # Start of captions tests 794s # Start of subprocess tests 794s # End of subprocess tests 794s # End of captions tests 794s # End of group tests 794s # Start of restoration tests 794s ok 11 /option/restoration/int 794s ok 12 /option/restoration/string 794s ok 13 /option/restoration/boolean 794s # End of restoration tests 794s # Start of arg tests 794s ok 14 /option/arg/reverse-string 794s ok 15 /option/arg/optional-int 794s # Start of repetition tests 794s ok 16 /option/arg/repetition/int 794s ok 17 /option/arg/repetition/string 794s ok 18 /option/arg/repetition/filename 794s ok 19 /option/arg/repetition/double 794s ok 20 /option/arg/repetition/locale 794s ok 21 /option/arg/repetition/int64 794s # End of repetition tests 794s # Start of array tests 794s ok 22 /option/arg/array/string 794s # End of array tests 794s # Start of callback tests 794s ok 23 /option/arg/callback/string 794s ok 24 /option/arg/callback/count 794s ok 25 /option/arg/callback/optional1 794s ok 26 /option/arg/callback/optional2 794s ok 27 /option/arg/callback/optional3 794s ok 28 /option/arg/callback/optional4 794s ok 29 /option/arg/callback/optional5 794s ok 30 /option/arg/callback/optional6 794s ok 31 /option/arg/callback/optional7 794s ok 32 /option/arg/callback/optional8 794s # End of callback tests 794s # Start of remaining tests 794s ok 33 /option/arg/remaining/callback 794s ok 34 /option/arg/remaining/callback-false 794s ok 35 /option/arg/remaining/non-option 794s ok 36 /option/arg/remaining/separator 794s ok 37 /option/arg/remaining/array 794s # End of remaining tests 794s # Start of ignore tests 794s ok 38 /option/arg/ignore/long 794s ok 39 /option/arg/ignore/short 794s ok 40 /option/arg/ignore/arg 794s # End of ignore tests 794s # Start of rest tests 794s ok 41 /option/arg/rest/non-option 794s ok 42 /option/arg/rest/separator1 794s ok 43 /option/arg/rest/separator2 794s ok 44 /option/arg/rest/separator3 794s ok 45 /option/arg/rest/separator4 794s ok 46 /option/arg/rest/separator5 794s # End of rest tests 794s # End of arg tests 794s # Start of context tests 794s ok 47 /option/context/add 794s ok 48 /option/context/empty2 794s ok 49 /option/context/empty3 794s # End of context tests 794s # Start of bug tests 794s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 794s ok 50 /option/bug/unknown-short 794s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 794s ok 51 /option/bug/lonely-dash 794s ok 52 /option/bug/triple-dash 794s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 794s ok 53 /option/bug/missing-arg 794s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 794s ok 54 /option/bug/dash-arg 794s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 794s ok 55 /option/bug/short-remaining 794s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 794s ok 56 /option/bug/double-free 794s ok 57 /option/bug/double-zero 794s # End of bug tests 794s # End of option tests 794s ok - glib/option-context.test 794s # Running test: glib/mutex.test 794s TAP version 14 794s # random seed: R02S2219694eb9100255d9fcbbadb9eeaef0 794s 1..17 794s # Start of thread tests 794s ok 1 /thread/mutex1 794s ok 2 /thread/mutex2 794s ok 3 /thread/mutex3 794s ok 4 /thread/mutex4 797s # Executing: glib/mutex.test 798s ok 5 /thread/mutex5 798s # slow test /thread/mutex5 executed in 3.40 secs 798s # Start of mutex tests 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s # /thread/mutex/errno summary: Validates that errno is not touched upon return 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 798s ok 6 /thread/mutex/errno 798s # Start of perf tests 798s # max perf: inf mips 798s ok 7 /thread/mutex/perf/uncontended 798s # Start of contended tests 798s # max perf: 2.000000 mips 798s ok 8 /thread/mutex/perf/contended/1 798s # max perf: inf mips 798s ok 9 /thread/mutex/perf/contended/2 798s # max perf: inf mips 798s ok 10 /thread/mutex/perf/contended/3 798s # max perf: inf mips 798s ok 11 /thread/mutex/perf/contended/4 798s # max perf: 3.000000 mips 798s ok 12 /thread/mutex/perf/contended/5 798s # max perf: 3.500000 mips 798s ok 13 /thread/mutex/perf/contended/6 798s # max perf: 2.666667 mips 798s ok 14 /thread/mutex/perf/contended/7 798s # max perf: 4.500000 mips 798s ok 15 /thread/mutex/perf/contended/8 798s # max perf: 5.000000 mips 798s ok 16 /thread/mutex/perf/contended/9 798s # max perf: 11.000000 mips 798s ok 17 /thread/mutex/perf/contended/10 798s # End of contended tests 798s # End of perf tests 798s # End of mutex tests 798s # End of thread tests 798s ok - glib/mutex.test 798s # Running test: glib/unicode.test 798s TAP version 14 798s # random seed: R02S452a1c2d0f45808a7984da52ca9c77c3 798s 1..39 798s # Start of unicode tests 798s ok 1 /unicode/alnum 798s ok 2 /unicode/alpha 798s ok 3 /unicode/break-type 798s ok 4 /unicode/canonical-decomposition 798s ok 5 /unicode/casefold 798s # Cannot set locale to lt_LT, skipping 798s # Cannot set locale to lt_LT, skipping 798s # Cannot set locale to lt_LT, skipping 798s # Cannot set locale to lt_LT, skipping 798s # Cannot set locale to lt_LT, skipping 798s # Cannot set locale to lt_LT, skipping 798s # Cannot set locale to lt_LT, skipping 798s # Cannot set locale to lt_LT, skipping 798s # Cannot set locale to lt_LT, skipping 798s # Cannot set locale to lt_LT, skipping 798s # Cannot set locale to lt_LT, skipping 798s ok 6 /unicode/casemap_and_casefold 798s ok 7 /unicode/cases 798s ok 8 /unicode/character-type 798s ok 9 /unicode/cntrl 798s ok 10 /unicode/combining-class 798s ok 11 /unicode/compose 798s ok 12 /unicode/decompose 798s ok 13 /unicode/decompose-tail 798s ok 14 /unicode/defined 798s ok 15 /unicode/digit 798s ok 16 /unicode/digit-value 798s ok 17 /unicode/fully-decompose-canonical 798s ok 18 /unicode/fully-decompose-len 798s ok 19 /unicode/normalization 798s ok 20 /unicode/graph 798s # Testing script Zyyy (code 1517910393) 798s # Testing script Zinh (code 1516858984) 798s # Testing script Zmth (code 1517122664) 798s # Testing script Arab (code 1098015074) 798s # Testing script Armn (code 1098018158) 798s # Testing script Beng (code 1113943655) 798s # Testing script Bopo (code 1114599535) 798s # Testing script Cher (code 1130915186) 798s # Testing script Copt (code 1131376756) 798s # Testing script Cyrl (code 1132032620) 798s # Testing script Dsrt (code 1148416628) 798s # Testing script Deva (code 1147500129) 798s # Testing script Ethi (code 1165256809) 798s # Testing script Geor (code 1197830002) 798s # Testing script Goth (code 1198486632) 798s # Testing script Grek (code 1198679403) 798s # Testing script Gujr (code 1198877298) 798s # Testing script Guru (code 1198879349) 798s # Testing script Hani (code 1214344809) 798s # Testing script Hang (code 1214344807) 798s # Testing script Hebr (code 1214603890) 798s # Testing script Hira (code 1214870113) 798s # Testing script Knda (code 1265525857) 798s # Testing script Kana (code 1264676449) 798s # Testing script Khmr (code 1265134962) 798s # Testing script Laoo (code 1281453935) 798s # Testing script Latn (code 1281455214) 798s # Testing script Mlym (code 1298954605) 798s # Testing script Mong (code 1299148391) 798s # Testing script Mymr (code 1299803506) 798s # Testing script Ogam (code 1332175213) 798s # Testing script Ital (code 1232363884) 798s # Testing script Orya (code 1332902241) 798s # Testing script Runr (code 1383427698) 798s # Testing script Sinh (code 1399418472) 798s # Testing script Syrc (code 1400468067) 798s # Testing script Taml (code 1415671148) 798s # Testing script Telu (code 1415933045) 798s # Testing script Thaa (code 1416126817) 798s # Testing script Thai (code 1416126825) 798s # Testing script Tibt (code 1416192628) 798s # Testing script Cans (code 1130458739) 798s # Testing script Yiii (code 1500080489) 798s # Testing script Tglg (code 1416064103) 798s # Testing script Hano (code 1214344815) 798s # Testing script Buhd (code 1114990692) 798s # Testing script Tagb (code 1415669602) 798s # Testing script Brai (code 1114792297) 798s # Testing script Cprt (code 1131442804) 798s # Testing script Limb (code 1281977698) 798s # Testing script Osma (code 1332964705) 798s # Testing script Shaw (code 1399349623) 798s # Testing script Linb (code 1281977954) 798s # Testing script Tale (code 1415670885) 798s # Testing script Ugar (code 1432838514) 798s # Testing script Talu (code 1415670901) 798s # Testing script Bugi (code 1114990441) 798s # Testing script Glag (code 1198285159) 798s # Testing script Tfng (code 1415999079) 798s # Testing script Sylo (code 1400466543) 798s # Testing script Xpeo (code 1483761007) 798s # Testing script Khar (code 1265131890) 798s # Testing script Zzzz (code 1517976186) 798s # Testing script Bali (code 1113681001) 798s # Testing script Xsux (code 1483961720) 798s # Testing script Phnx (code 1349021304) 798s # Testing script Phag (code 1349017959) 798s # Testing script Nkoo (code 1315663727) 798s # Testing script Kali (code 1264675945) 798s # Testing script Lepc (code 1281716323) 798s # Testing script Rjng (code 1382706791) 798s # Testing script Sund (code 1400204900) 798s # Testing script Saur (code 1398895986) 798s # Testing script Cham (code 1130914157) 798s # Testing script Olck (code 1332503403) 798s # Testing script Vaii (code 1449224553) 798s # Testing script Cari (code 1130459753) 798s # Testing script Lyci (code 1283023721) 798s # Testing script Lydi (code 1283023977) 798s # Testing script Avst (code 1098281844) 798s # Testing script Bamu (code 1113681269) 798s # Testing script Egyp (code 1164409200) 798s # Testing script Armi (code 1098018153) 798s # Testing script Phli (code 1349020777) 798s # Testing script Prti (code 1349678185) 798s # Testing script Java (code 1247901281) 798s # Testing script Kthi (code 1265920105) 798s # Testing script Lisu (code 1281979253) 798s # Testing script Mtei (code 1299473769) 798s # Testing script Sarb (code 1398895202) 798s # Testing script Orkh (code 1332898664) 798s # Testing script Samr (code 1398893938) 798s # Testing script Lana (code 1281453665) 798s # Testing script Tavt (code 1415673460) 798s # Testing script Batk (code 1113683051) 798s # Testing script Brah (code 1114792296) 798s # Testing script Mand (code 1298230884) 798s # Testing script Cakm (code 1130457965) 798s # Testing script Merc (code 1298494051) 798s # Testing script Mero (code 1298494063) 798s # Testing script Plrd (code 1349284452) 798s # Testing script Shrd (code 1399353956) 798s # Testing script Sora (code 1399812705) 798s # Testing script Takr (code 1415670642) 798s # Testing script Bass (code 1113682803) 798s # Testing script Aghb (code 1097295970) 798s # Testing script Dupl (code 1148547180) 798s # Testing script Elba (code 1164730977) 798s # Testing script Gran (code 1198678382) 798s # Testing script Khoj (code 1265135466) 798s # Testing script Sind (code 1399418468) 798s # Testing script Lina (code 1281977953) 798s # Testing script Mahj (code 1298229354) 798s # Testing script Mani (code 1298230889) 798s # Testing script Mend (code 1298493028) 798s # Testing script Modi (code 1299145833) 798s # Testing script Mroo (code 1299345263) 798s # Testing script Nbat (code 1315070324) 798s # Testing script Narb (code 1315009122) 798s # Testing script Perm (code 1348825709) 798s # Testing script Hmng (code 1215131239) 798s # Testing script Palm (code 1348562029) 798s # Testing script Pauc (code 1348564323) 798s # Testing script Phlp (code 1349020784) 798s # Testing script Sidd (code 1399415908) 798s # Testing script Tirh (code 1416196712) 798s # Testing script Wara (code 1466004065) 798s # Testing script Ahom (code 1097363309) 798s # Testing script Hluw (code 1215067511) 798s # Testing script Hatr (code 1214346354) 798s # Testing script Mult (code 1299541108) 798s # Testing script Hung (code 1215655527) 798s # Testing script Sgnw (code 1399287415) 798s # Testing script Adlm (code 1097100397) 798s # Testing script Bhks (code 1114139507) 798s # Testing script Marc (code 1298231907) 798s # Testing script Newa (code 1315272545) 798s # Testing script Osge (code 1332963173) 798s # Testing script Tang (code 1415671399) 798s # Testing script Gonm (code 1198485101) 798s # Testing script Nshu (code 1316186229) 798s # Testing script Soyo (code 1399814511) 798s # Testing script Zanb (code 1516334690) 798s # Testing script Dogr (code 1148151666) 798s # Testing script Gong (code 1198485095) 798s # Testing script Rohg (code 1383032935) 798s # Testing script Maka (code 1298230113) 798s # Testing script Medf (code 1298490470) 798s # Testing script Sogo (code 1399809903) 798s # Testing script Sogd (code 1399809892) 798s # Testing script Elym (code 1164736877) 798s # Testing script Nand (code 1315008100) 798s # Testing script Hmnp (code 1215131248) 798s # Testing script Wcho (code 1466132591) 798s # Testing script Chrs (code 1130918515) 798s # Testing script Diak (code 1147756907) 798s # Testing script Kits (code 1265202291) 798s # Testing script Yezi (code 1499822697) 798s # Testing script Cpmn (code 1131441518) 798s # Testing script Ougr (code 1333094258) 798s # Testing script Tnsa (code 1416524641) 798s # Testing script Toto (code 1416590447) 798s # Testing script Vith (code 1449751656) 798s # Testing script Kawi (code 1264678761) 798s # Testing script Nagm (code 1315006317) 798s ok 21 /unicode/iso15924 798s ok 22 /unicode/lower 798s ok 23 /unicode/mark 798s ok 24 /unicode/mirror 798s ok 25 /unicode/print 798s ok 26 /unicode/punctuation 798s ok 27 /unicode/script 798s ok 28 /unicode/space 798s ok 29 /unicode/strdown 798s ok 30 /unicode/strup 798s ok 31 /unicode/turkish-strupdown 798s ok 32 /unicode/title 798s ok 33 /unicode/upper 798s ok 34 /unicode/validate 798s ok 35 /unicode/wide 798s ok 36 /unicode/xdigit 798s ok 37 /unicode/xdigit-value 798s ok 38 /unicode/zero-width 798s ok 39 /unicode/normalize 798s # End of unicode tests 798s ok - glib/unicode.test 798s # Running test: glib/autoptr-gio.test 798s TAP version 14 798s # random seed: R02S265e0d68fab6ebb5b14af3291c932c95 798s 1..1 798s # Start of autoptr tests 798s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 798s ok 1 /autoptr/autoptr 798s # End of autoptr tests 798s ok - glib/autoptr-gio.test 798s # Running test: glib/task.test 798s TAP version 14 798s # random seed: R02S1be85f615f49b41edcade9a52d548c76 798s 1..36 798s # Start of gtask tests 798s ok 1 /gtask/basic 798s ok 2 /gtask/error 798s ok 3 /gtask/error-literal 798s ok 4 /gtask/error-literal-from-variable 798s ok 5 /gtask/return-from-same-iteration 798s ok 6 /gtask/return-from-toplevel 798s ok 7 /gtask/return-from-anon-thread 798s ok 8 /gtask/return-from-wrong-thread 798s ok 9 /gtask/no-callback 798s ok 10 /gtask/report-error 798s ok 11 /gtask/priority 798s ok 12 /gtask/name 798s ok 13 /gtask/static-name 798s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 798s ok 14 /gtask/asynchronous-cancellation 798s ok 15 /gtask/check-cancellable 798s ok 16 /gtask/return-if-cancelled 798s ok 17 /gtask/run-in-thread 798s ok 18 /gtask/run-in-thread-sync 798s ok 19 /gtask/run-in-thread-priority 799s ok 20 /gtask/run-in-thread-nested 799s ok 21 /gtask/run-in-thread-overflow 799s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 799s # GLib-GIO-DEBUG: GTask 0xb74b8f766950 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 799s # GLib-GIO-DEBUG: GTask 0xb74b8f766a30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 799s ok 22 /gtask/return-on-cancel 799s # GLib-GIO-DEBUG: GTask 0xb74b8f7dee90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 799s # GLib-GIO-DEBUG: GTask 0xb74b8f7dce80 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 799s ok 23 /gtask/return-on-cancel-sync 799s ok 24 /gtask/return-on-cancel-atomic 799s ok 25 /gtask/return-pointer 799s ok 26 /gtask/return-value 799s ok 27 /gtask/return-prefixed-error 799s ok 28 /gtask/object-keepalive 799s ok 29 /gtask/legacy-error 799s ok 30 /gtask/finalize-without-return 799s # Start of name tests 799s ok 31 /gtask/name/macro-wrapper 799s # End of name tests 799s # Start of return tests 799s ok 32 /gtask/return/error-first 799s ok 33 /gtask/return/value-first 799s # Start of in-idle tests 799s ok 34 /gtask/return/in-idle/error-first 799s ok 35 /gtask/return/in-idle/value-first 799s # End of in-idle tests 799s # End of return tests 799s # Start of attach-source tests 799s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 799s ok 36 /gtask/attach-source/set-name 799s # End of attach-source tests 799s # End of gtask tests 799s ok - glib/task.test 799s # Running test: glib/gdbus-introspection.test 799s TAP version 14 799s # random seed: R02Scf2258b1e3596ca3082deba17d0e40cd 799s 1..4 799s # Start of gdbus tests 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-parser/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-parser/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-parser/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-parser/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-parser/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-parser/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-parser/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-parser/.dirs/runtime 799s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 799s ok 1 /gdbus/introspection-parser 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-generate/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-generate/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-generate/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-generate/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-generate/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-generate/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-generate/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-generate/.dirs/runtime 799s ok 2 /gdbus/introspection-generate 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-default-direction/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-default-direction/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-default-direction/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-default-direction/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-default-direction/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-default-direction/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-default-direction/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-default-direction/.dirs/runtime 799s ok 3 /gdbus/introspection-default-direction 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-extra-data/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-extra-data/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-extra-data/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-extra-data/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-extra-data/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-extra-data/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-extra-data/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_3IYVX2/gdbus/introspection-extra-data/.dirs/runtime 799s ok 4 /gdbus/introspection-extra-data 799s # End of gdbus tests 799s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 799s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 799s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 799s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 799s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 799s ok - glib/gdbus-introspection.test 799s # Running test: glib/gdbus-serialization.test 799s TAP version 14 799s # random seed: R02S7f71d8762ea5e28eb1b33cb33d8cd57b 799s 1..18 799s # Start of gdbus tests 799s # Start of message-serialize tests 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/basic/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/basic/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/basic/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/basic/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/basic/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/basic/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/basic/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/basic/.dirs/runtime 799s ok 1 /gdbus/message-serialize/basic 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/complex/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/complex/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/complex/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/complex/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/complex/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/complex/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/complex/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/complex/.dirs/runtime 799s ok 2 /gdbus/message-serialize/complex 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/invalid/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/invalid/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/invalid/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/invalid/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/invalid/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/invalid/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/invalid/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/invalid/.dirs/runtime 799s ok 3 /gdbus/message-serialize/invalid 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/.dirs/runtime 799s ok 4 /gdbus/message-serialize/header-checks 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/double-array/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/double-array/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/double-array/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/double-array/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/double-array/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/double-array/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/double-array/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/double-array/.dirs/runtime 799s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 799s ok 5 /gdbus/message-serialize/double-array 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/empty-structure/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/empty-structure/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/empty-structure/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/empty-structure/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/empty-structure/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/empty-structure/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/empty-structure/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/empty-structure/.dirs/runtime 799s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 799s ok 6 /gdbus/message-serialize/empty-structure 799s # Start of header-checks tests 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/valid/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/valid/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/valid/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/valid/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/valid/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 799s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 799s ok 7 /gdbus/message-serialize/header-checks/valid 799s # End of header-checks tests 799s # End of message-serialize tests 799s # Start of message-parse tests 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 799s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 799s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/non-signature-header/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/non-signature-header/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/non-signature-header/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/non-signature-header/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/non-signature-header/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/non-signature-header/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/non-signature-header/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/non-signature-header/.dirs/runtime 799s ok 9 /gdbus/message-parse/non-signature-header 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-signature-header/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-signature-header/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-signature-header/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-signature-header/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-signature-header/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-signature-header/.dirs/runtime 799s ok 10 /gdbus/message-parse/empty-signature-header 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/multiple-signature-header/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/multiple-signature-header/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/multiple-signature-header/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/multiple-signature-header/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/multiple-signature-header/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 799s ok 11 /gdbus/message-parse/multiple-signature-header 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/over-long-signature-header/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/over-long-signature-header/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/over-long-signature-header/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/over-long-signature-header/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/over-long-signature-header/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 799s ok 12 /gdbus/message-parse/over-long-signature-header 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-header-nesting/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-header-nesting/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-header-nesting/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-header-nesting/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-header-nesting/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 799s ok 13 /gdbus/message-parse/deep-header-nesting 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-body-nesting/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-body-nesting/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-body-nesting/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-body-nesting/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-body-nesting/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 799s ok 14 /gdbus/message-parse/deep-body-nesting 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/truncated/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/truncated/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/truncated/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/truncated/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/truncated/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/truncated/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/truncated/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/truncated/.dirs/runtime 799s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 799s ok 15 /gdbus/message-parse/truncated 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-structure/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-structure/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-structure/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-structure/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-structure/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-structure/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-structure/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/empty-structure/.dirs/runtime 799s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 799s ok 16 /gdbus/message-parse/empty-structure 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/missing-header/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/missing-header/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/missing-header/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/missing-header/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/missing-header/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/missing-header/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/missing-header/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/missing-header/.dirs/runtime 799s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 799s ok 17 /gdbus/message-parse/missing-header 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/invalid-header-type/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/invalid-header-type/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/invalid-header-type/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/invalid-header-type/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/invalid-header-type/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_A8FVX2/gdbus/message-parse/invalid-header-type/.dirs/runtime 799s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 799s ok 18 /gdbus/message-parse/invalid-header-type 799s # End of message-parse tests 799s # End of gdbus tests 799s ok - glib/gdbus-serialization.test 799s # Running test: glib/socket-service.test 799s TAP version 14 799s # random seed: R02S410de683b0b2cfa71ef55dd9efbf63e9 799s 1..4 799s # Start of socket-service tests 799s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 799s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc2c2990be390 and GSocketClientAsyncConnectData 0xc2c2990b6630 799s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 799s ok 1 /socket-service/start-stop 799s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc2c2990bfef0 and GSocketClientAsyncConnectData 0xc2c2990bfc90 799s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 799s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 799s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc2c2990c0400 for GSocketClientAsyncConnectData 0xc2c2990b6630 799s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 799s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 799s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 799s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 799s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 799s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc2c2990c1280 for GSocketClientAsyncConnectData 0xc2c2990bfc90 799s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 799s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 799s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 799s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 799s ok 2 /socket-service/read_write_async 799s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc2c2990c1d00 and GSocketClientAsyncConnectData 0xc2c2990c19b0 799s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 799s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 799s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc2c2990c1ca0 for GSocketClientAsyncConnectData 0xc2c2990c19b0 799s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 799s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 799s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 799s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 799s ok 3 /socket-service/read_writev_async 799s # Start of threaded tests 799s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 799s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc2c2990c5780 and GSocketClientAsyncConnectData 0xc2c2990b6630 799s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 799s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 799s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc2c2990c5970 for GSocketClientAsyncConnectData 0xc2c2990b6630 799s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 799s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 799s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 799s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 799s ok 4 /socket-service/threaded/712570 799s # End of threaded tests 799s # End of socket-service tests 799s ok - glib/socket-service.test 799s # Running test: glib/search-utils.test 799s TAP version 14 799s # random seed: R02S894708eb768feb373c2c01e3518894eb 799s # GLib-DEBUG: Current user locale: C.UTF-8 799s 1..6 799s # Start of search tests 799s # GLib-DEBUG: Started 799s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 799s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 799s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 799s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 799s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 799s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 799s ok 1 /search/basic 799s # GLib-DEBUG: Started 799s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 799s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 799s # GLib-DEBUG: 'ele' - 'élève' should match: OK 799s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 799s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 799s ok 2 /search/composed 799s # GLib-DEBUG: Started 799s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 799s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 799s ok 3 /search/decomposed 799s # GLib-DEBUG: Started 799s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 799s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 799s ok 4 /search/turkish 799s # GLib-DEBUG: Started 799s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 799s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 799s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 799s ok 5 /search/c_locale_unicode 799s # GLib-DEBUG: Started 799s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 799s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 799s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 799s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 799s ok 6 /search/multi_words 799s # End of search tests 799s ok - glib/search-utils.test 799s # Running test: glib/completion.test 799s TAP version 14 799s # random seed: R02Sba721c01cb6c6a865607d9ae89b2d13c 799s 1..1 799s # Start of completion tests 799s ok 1 /completion/test-completion 799s # End of completion tests 799s ok - glib/completion.test 799s # Running test: glib/async-close-output-stream.test 799s TAP version 14 799s # random seed: R02Sf36fdd8f42777f1362086a51838e72c8 799s 1..3 799s # Start of close-async tests 799s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 799s ok 1 /close-async/without-flush 799s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 799s ok 2 /close-async/with-flush 799s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 799s ok 3 /close-async/with-async-flush 799s # End of close-async tests 799s ok - glib/async-close-output-stream.test 799s # Running test: glib/atomic-c-89.test 799s TAP version 14 799s # random seed: R02Sc3a7f5c5e0c7f91bf507584d11a55a55 799s 1..2 799s # Start of atomic tests 799s ok 1 /atomic/types 799s ok 2 /atomic/threaded 799s # End of atomic tests 799s ok - glib/atomic-c-89.test 799s # Running test: glib/cxx-17.test 799s TAP version 14 799s # random seed: R02S34b19d03695f1b78c6bfbd607b60b279 799s 1..2 799s # Start of gtask tests 799s # 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. 799s ok 1 /gtask/name 799s # Start of name tests 799s # 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. 799s ok 2 /gtask/name/macro-wrapper 799s # End of name tests 799s # End of gtask tests 799s ok - glib/cxx-17.test 799s # Running test: glib/stream-rw_all.test 799s TAP version 14 799s # random seed: R02Sf8c9cb255b58810af8d139d18e00d15e 799s 1..3 799s # Start of stream tests 799s # Start of read_all_async tests 799s ok 1 /stream/read_all_async/memory 799s # End of read_all_async tests 799s # Start of write_all_async tests 799s ok 2 /stream/write_all_async/memory 799s # End of write_all_async tests 799s # Start of read_write_all_async tests 799s ok 3 /stream/read_write_all_async/pipe 799s # End of read_write_all_async tests 799s # End of stream tests 799s ok - glib/stream-rw_all.test 799s # Running test: glib/thumbnail-verification.test 799s TAP version 14 799s # random seed: R02Sfafc07111a57d05e2b46ecfc26b5c56d 799s 1..1 799s # Start of png-thumbs tests 799s ok 1 /png-thumbs/validity 799s # End of png-thumbs tests 799s ok - glib/thumbnail-verification.test 799s # Running test: glib/rec-mutex.test 799s TAP version 14 799s # random seed: R02S846f5991e971716e179e92de1cb66b8d 799s 1..29 799s # Start of thread tests 799s ok 1 /thread/rec-mutex1 799s ok 2 /thread/rec-mutex2 799s ok 3 /thread/rec-mutex3 799s ok 4 /thread/rec-mutex4 799s # Start of rec-mutex tests 799s # Start of perf tests 799s # Start of uncontended tests 799s # max perf: 1.000000 mips 799s ok 5 /thread/rec-mutex/perf/uncontended/depth1 799s # max perf: inf mips 799s ok 6 /thread/rec-mutex/perf/uncontended/depth2 799s # max perf: 1.000000 mips 799s ok 7 /thread/rec-mutex/perf/uncontended/depth3 799s # max perf: inf mips 799s ok 8 /thread/rec-mutex/perf/uncontended/depth4 799s # max perf: inf mips 799s ok 9 /thread/rec-mutex/perf/uncontended/depth5 799s # End of uncontended tests 799s # Start of contended1 tests 799s # max perf: inf mips 799s ok 10 /thread/rec-mutex/perf/contended1/depth1 799s # max perf: inf mips 799s ok 11 /thread/rec-mutex/perf/contended1/depth2 799s # max perf: inf mips 799s ok 12 /thread/rec-mutex/perf/contended1/depth3 799s # max perf: inf mips 799s ok 13 /thread/rec-mutex/perf/contended1/depth4 799s # max perf: inf mips 799s ok 14 /thread/rec-mutex/perf/contended1/depth5 799s # End of contended1 tests 799s # Start of contended2 tests 799s # max perf: 3.000000 mips 799s ok 15 /thread/rec-mutex/perf/contended2/depth1 799s # max perf: 3.000000 mips 799s ok 16 /thread/rec-mutex/perf/contended2/depth2 799s # max perf: 3.000000 mips 799s ok 17 /thread/rec-mutex/perf/contended2/depth3 799s # max perf: 3.000000 mips 799s ok 18 /thread/rec-mutex/perf/contended2/depth4 799s # max perf: inf mips 799s ok 19 /thread/rec-mutex/perf/contended2/depth5 799s # End of contended2 tests 799s # Start of contended3 tests 799s # max perf: 4.000000 mips 799s ok 20 /thread/rec-mutex/perf/contended3/depth1 799s # max perf: 2.000000 mips 799s ok 21 /thread/rec-mutex/perf/contended3/depth2 799s # max perf: 2.000000 mips 799s ok 22 /thread/rec-mutex/perf/contended3/depth3 799s # max perf: 4.000000 mips 799s ok 23 /thread/rec-mutex/perf/contended3/depth4 799s # max perf: 2.000000 mips 799s ok 24 /thread/rec-mutex/perf/contended3/depth5 799s # End of contended3 tests 799s # Start of contended4 tests 799s # max perf: 1.666667 mips 799s ok 25 /thread/rec-mutex/perf/contended4/depth1 799s # max perf: 2.500000 mips 799s ok 26 /thread/rec-mutex/perf/contended4/depth2 799s # max perf: 2.500000 mips 799s ok 27 /thread/rec-mutex/perf/contended4/depth3 799s # max perf: 2.500000 mips 799s ok 28 /thread/rec-mutex/perf/contended4/depth4 799s # max perf: 2.500000 mips 799s ok 29 /thread/rec-mutex/perf/contended4/depth5 799s # End of contended4 tests 799s # End of perf tests 799s # End of rec-mutex tests 799s # End of thread tests 799s ok - glib/rec-mutex.test 799s # Running test: glib/autoptr-girepository.test 799s TAP version 14 799s # random seed: R02S7267c42f5a7b32db4207e20c0404c9d3 799s 1..24 799s # Start of autoptr tests 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/repository/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/repository/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/repository/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/repository/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/repository/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/repository/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/repository/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/repository/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 1 /autoptr/repository 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/typelib/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/typelib/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/typelib/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/typelib/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/typelib/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/typelib/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/typelib/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/typelib/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 2 /autoptr/typelib 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/base-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/base-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/base-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/base-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/base-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/base-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/base-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/base-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 3 /autoptr/base-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/arg-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/arg-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/arg-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/arg-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/arg-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/arg-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/arg-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/arg-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 4 /autoptr/arg-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callable-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callable-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/callable-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callable-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/callable-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callable-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callable-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callable-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 5 /autoptr/callable-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callback-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callback-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/callback-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callback-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/callback-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callback-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callback-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/callback-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 6 /autoptr/callback-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/constant-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/constant-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/constant-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/constant-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/constant-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/constant-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/constant-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/constant-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 7 /autoptr/constant-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/enum-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/enum-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/enum-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/enum-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/enum-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/enum-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/enum-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/enum-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 8 /autoptr/enum-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/field-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/field-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/field-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/field-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/field-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/field-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/field-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/field-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 9 /autoptr/field-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/flags-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/flags-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/flags-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/flags-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/flags-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/flags-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/flags-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/flags-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 10 /autoptr/flags-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/function-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/function-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/function-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/function-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/function-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/function-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/function-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/function-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 11 /autoptr/function-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/interface-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/interface-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/interface-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/interface-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/interface-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/interface-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/interface-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/interface-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 12 /autoptr/interface-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/object-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/object-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/object-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/object-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/object-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/object-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/object-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/object-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 13 /autoptr/object-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/property-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/property-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/property-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/property-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/property-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/property-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/property-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/property-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 14 /autoptr/property-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/registered-type-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/registered-type-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/registered-type-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/registered-type-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/registered-type-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/registered-type-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/registered-type-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/registered-type-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 15 /autoptr/registered-type-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/signal-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/signal-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/signal-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/signal-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/signal-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/signal-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/signal-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/signal-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 16 /autoptr/signal-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/struct-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/struct-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/struct-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/struct-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/struct-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/struct-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/struct-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/struct-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 17 /autoptr/struct-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/type-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/type-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/type-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/type-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/type-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/type-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/type-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/type-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 18 /autoptr/type-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/union-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/union-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/union-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/union-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/union-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/union-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/union-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/union-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 19 /autoptr/union-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/value-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/value-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/value-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/value-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/value-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/value-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/value-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/value-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 20 /autoptr/value-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/vfunc-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/vfunc-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/vfunc-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/vfunc-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/autoptr/vfunc-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/vfunc-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/autoptr/vfunc-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/autoptr/vfunc-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 21 /autoptr/vfunc-info 799s # End of autoptr tests 799s # Start of auto tests 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/arg-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/arg-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/auto/arg-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/arg-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/auto/arg-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/arg-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/arg-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/auto/arg-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 22 /auto/arg-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/type-info/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/type-info/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/auto/type-info/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/type-info/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/auto/type-info/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/type-info/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/type-info/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/auto/type-info/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 23 /auto/type-info 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/function-invoker/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/function-invoker/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O3RRX2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_O3RRX2/auto/function-invoker/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/function-invoker/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O3RRX2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_O3RRX2/auto/function-invoker/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/function-invoker/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O3RRX2/auto/function-invoker/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O3RRX2/auto/function-invoker/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 24 /auto/function-invoker 799s # End of auto tests 799s ok - glib/autoptr-girepository.test 799s # Running test: glib/utils-c-89.test 799s TAP version 14 799s # random seed: R02S9a11b81bc776eacfb5fd1d6f408f80a1 799s 1..40 799s # Start of utils tests 799s ok 1 /utils/language-names 799s ok 2 /utils/locale-variants 799s ok 3 /utils/version 799s ok 4 /utils/appname 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 799s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 799s ok 5 /utils/prgname-thread-safety 799s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 799s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 799s ok 6 /utils/tmpdir 799s ok 7 /utils/basic_bits 799s ok 8 /utils/bits 799s ok 9 /utils/swap 799s ok 10 /utils/find-program 799s ok 11 /utils/find-program-for-path 799s ok 12 /utils/debug 799s ok 13 /utils/codeset 799s ok 14 /utils/codeset2 799s ok 15 /utils/console-charset 799s ok 16 /utils/gettext 799s ok 17 /utils/username 799s ok 18 /utils/realname 799s ok 19 /utils/hostname 799s ok 20 /utils/xdgdirs 799s ok 21 /utils/specialdir 799s # NAME: Ubuntu 799s ok 22 /utils/os-info 799s ok 23 /utils/clear-pointer 799s ok 24 /utils/clear-pointer-cast 799s ok 25 /utils/take-pointer 799s ok 26 /utils/clear-source 799s ok 27 /utils/misc-mem 799s # /utils/aligned-mem summary: Aligned memory allocator 799s # Alignment must not be zero 799s # Alignment must be a power of two 799s # Alignment must be a multiple of sizeof(void*) 799s ok 28 /utils/aligned-mem 799s # /utils/free-sized summary: Check that g_free_sized() works 799s ok 29 /utils/free-sized 799s ok 30 /utils/nullify 799s ok 31 /utils/atexit 799s ok 32 /utils/check-setuid 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 799s ok 33 /utils/int-limits 799s ok 34 /utils/clear-list 799s ok 35 /utils/clear-slist 799s # Start of specialdir tests 799s ok 36 /utils/specialdir/desktop 799s # End of specialdir tests 799s # Start of clear-pointer tests 799s ok 37 /utils/clear-pointer/side-effects 799s # End of clear-pointer tests 799s # Start of aligned-mem tests 799s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 799s ok 38 /utils/aligned-mem/alignment 799s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 799s ok 39 /utils/aligned-mem/zeroed 799s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 799s ok 40 /utils/aligned-mem/free-sized 799s # Start of subprocess tests 799s # End of subprocess tests 799s # End of aligned-mem tests 799s # End of utils tests 799s ok - glib/utils-c-89.test 799s # Running test: glib/pollable.test 799s TAP version 14 799s # random seed: R02Sdc48ca24e7a22cec2a04fa0fb6411b20 799s 1..6 799s # Start of pollable tests 799s ok 1 /pollable/converter 799s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 799s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbf5bb5abc7b0 and GSocketClientAsyncConnectData 0xbf5bb5aafae0 799s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 799s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 799s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbf5bb5abd870 for GSocketClientAsyncConnectData 0xbf5bb5aafae0 799s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 799s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 799s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 799s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 799s ok 2 /pollable/socket 799s # Start of unix tests 799s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 799s ok 3 /pollable/unix/pipe 799s # /pollable/unix/pty summary: Test that PTYs are considered pollable 799s ok 4 /pollable/unix/pty 799s # /pollable/unix/file summary: Test that regular files are not considered pollable 799s ok 5 /pollable/unix/file 799s # /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 799s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 799s # End of unix tests 799s # End of pollable tests 799s ok - glib/pollable.test 799s # Running test: glib/singleton.test 799s TAP version 14 799s # random seed: R02Sdc2d01395ed63fcc195ea54186b68343 799s 1..2 799s # Start of gobject tests 799s # Start of singleton tests 799s ok 1 /gobject/singleton/construction 799s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 799s ok 2 /gobject/singleton/construct-property 799s # End of singleton tests 799s # End of gobject tests 799s ok - glib/singleton.test 799s # Running test: glib/regex.test 799s TAP version 14 799s # random seed: R02S39d2ce4293e5b3dff5e189ab24e28e4b 799s 1..848 799s # Start of regex tests 799s ok 1 /regex/properties 799s ok 2 /regex/class 799s ok 3 /regex/lookahead 799s ok 4 /regex/lookbehind 799s ok 5 /regex/subpattern 799s ok 6 /regex/condition 799s ok 7 /regex/recursion 799s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 799s ok 8 /regex/multiline 799s ok 9 /regex/explicit-crlf 799s ok 10 /regex/max-lookbehind 799s ok 11 /regex/compile-errors 799s ok 12 /regex/jit-unsupported-matching 799s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 799s ok 13 /regex/unmatched-named-subpattern 799s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 799s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 799s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 800s ok 14 /regex/compiled-regex-after-jit-failure 800s # Start of new tests 800s ok 15 /regex/new/1 800s ok 16 /regex/new/2 800s ok 17 /regex/new/3 800s ok 18 /regex/new/4 800s ok 19 /regex/new/5 800s ok 20 /regex/new/6 800s ok 21 /regex/new/7 800s ok 22 /regex/new/8 800s ok 23 /regex/new/9 800s ok 24 /regex/new/10 800s ok 25 /regex/new/11 800s ok 26 /regex/new/12 800s ok 27 /regex/new/13 800s ok 28 /regex/new/14 800s ok 29 /regex/new/15 800s ok 30 /regex/new/16 800s ok 31 /regex/new/17 800s ok 32 /regex/new/18 800s ok 33 /regex/new/19 800s ok 34 /regex/new/71 800s ok 35 /regex/new/80 800s ok 36 /regex/new/82 800s # End of new tests 800s # Start of new-check-flags tests 800s ok 37 /regex/new-check-flags/20 800s ok 38 /regex/new-check-flags/21 800s ok 39 /regex/new-check-flags/22 800s ok 40 /regex/new-check-flags/23 800s ok 41 /regex/new-check-flags/24 800s ok 42 /regex/new-check-flags/25 800s ok 43 /regex/new-check-flags/26 800s ok 44 /regex/new-check-flags/27 800s ok 45 /regex/new-check-flags/28 800s ok 46 /regex/new-check-flags/29 800s ok 47 /regex/new-check-flags/30 800s ok 48 /regex/new-check-flags/31 800s ok 49 /regex/new-check-flags/32 800s ok 50 /regex/new-check-flags/33 800s ok 51 /regex/new-check-flags/34 800s ok 52 /regex/new-check-flags/35 800s ok 53 /regex/new-check-flags/36 800s # End of new-check-flags tests 800s # Start of new-fail tests 800s ok 54 /regex/new-fail/37 800s ok 55 /regex/new-fail/38 800s ok 56 /regex/new-fail/39 800s ok 57 /regex/new-fail/40 800s ok 58 /regex/new-fail/41 800s ok 59 /regex/new-fail/42 800s ok 60 /regex/new-fail/43 800s ok 61 /regex/new-fail/44 800s ok 62 /regex/new-fail/45 800s ok 63 /regex/new-fail/46 800s ok 64 /regex/new-fail/47 800s ok 65 /regex/new-fail/48 800s ok 66 /regex/new-fail/49 800s ok 67 /regex/new-fail/50 800s ok 68 /regex/new-fail/51 800s ok 69 /regex/new-fail/52 800s ok 70 /regex/new-fail/53 800s ok 71 /regex/new-fail/54 800s ok 72 /regex/new-fail/55 800s ok 73 /regex/new-fail/56 800s ok 74 /regex/new-fail/57 800s ok 75 /regex/new-fail/58 800s ok 76 /regex/new-fail/59 800s ok 77 /regex/new-fail/60 800s ok 78 /regex/new-fail/61 800s ok 79 /regex/new-fail/62 800s ok 80 /regex/new-fail/63 800s ok 81 /regex/new-fail/64 800s ok 82 /regex/new-fail/65 800s ok 83 /regex/new-fail/66 800s ok 84 /regex/new-fail/67 800s ok 85 /regex/new-fail/68 800s ok 86 /regex/new-fail/69 800s ok 87 /regex/new-fail/70 800s ok 88 /regex/new-fail/72 800s ok 89 /regex/new-fail/73 800s ok 90 /regex/new-fail/74 800s ok 91 /regex/new-fail/75 800s ok 92 /regex/new-fail/76 800s ok 93 /regex/new-fail/77 800s ok 94 /regex/new-fail/78 800s ok 95 /regex/new-fail/79 800s ok 96 /regex/new-fail/81 800s ok 97 /regex/new-fail/83 800s ok 98 /regex/new-fail/84 800s ok 99 /regex/new-fail/85 800s ok 100 /regex/new-fail/86 800s ok 101 /regex/new-fail/87 800s ok 102 /regex/new-fail/88 800s ok 103 /regex/new-fail/89 800s ok 104 /regex/new-fail/90 800s ok 105 /regex/new-fail/91 800s # End of new-fail tests 800s # Start of match-simple tests 800s ok 106 /regex/match-simple/92 800s ok 107 /regex/match-simple/93 800s ok 108 /regex/match-simple/94 800s ok 109 /regex/match-simple/95 800s ok 110 /regex/match-simple/96 800s ok 111 /regex/match-simple/97 800s ok 112 /regex/match-simple/98 800s ok 113 /regex/match-simple/99 800s ok 114 /regex/match-simple/100 800s ok 115 /regex/match-simple/101 800s ok 116 /regex/match-simple/102 800s ok 117 /regex/match-simple/103 800s ok 118 /regex/match-simple/104 800s ok 119 /regex/match-simple/105 800s ok 120 /regex/match-simple/106 800s ok 121 /regex/match-simple/107 800s ok 122 /regex/match-simple/108 800s ok 123 /regex/match-simple/109 800s ok 124 /regex/match-simple/110 800s ok 125 /regex/match-simple/111 800s ok 126 /regex/match-simple/112 800s ok 127 /regex/match-simple/113 800s ok 128 /regex/match-simple/114 800s ok 129 /regex/match-simple/115 800s ok 130 /regex/match-simple/116 800s ok 131 /regex/match-simple/117 800s ok 132 /regex/match-simple/118 800s ok 133 /regex/match-simple/119 800s ok 134 /regex/match-simple/120 800s ok 135 /regex/match-simple/121 800s ok 136 /regex/match-simple/122 800s ok 137 /regex/match-simple/123 800s ok 138 /regex/match-simple/124 800s ok 139 /regex/match-simple/125 800s ok 140 /regex/match-simple/126 800s ok 141 /regex/match-simple/127 800s ok 142 /regex/match-simple/128 800s ok 143 /regex/match-simple/129 800s ok 144 /regex/match-simple/130 800s ok 145 /regex/match-simple/131 800s ok 146 /regex/match-simple/132 800s ok 147 /regex/match-simple/133 800s ok 148 /regex/match-simple/134 800s ok 149 /regex/match-simple/135 800s ok 150 /regex/match-simple/136 800s ok 151 /regex/match-simple/137 800s ok 152 /regex/match-simple/138 800s ok 153 /regex/match-simple/139 800s ok 154 /regex/match-simple/140 800s ok 155 /regex/match-simple/141 800s ok 156 /regex/match-simple/142 800s ok 157 /regex/match-simple/143 800s ok 158 /regex/match-simple/144 800s ok 159 /regex/match-simple/145 800s ok 160 /regex/match-simple/146 800s ok 161 /regex/match-simple/147 800s ok 162 /regex/match-simple/148 800s ok 163 /regex/match-simple/149 800s ok 164 /regex/match-simple/150 800s ok 165 /regex/match-simple/151 800s ok 166 /regex/match-simple/152 800s ok 167 /regex/match-simple/153 800s ok 168 /regex/match-simple/154 800s ok 169 /regex/match-simple/155 800s ok 170 /regex/match-simple/156 800s ok 171 /regex/match-simple/157 800s ok 172 /regex/match-simple/158 800s ok 173 /regex/match-simple/159 800s ok 174 /regex/match-simple/160 800s ok 175 /regex/match-simple/161 800s ok 176 /regex/match-simple/162 800s ok 177 /regex/match-simple/163 800s ok 178 /regex/match-simple/164 800s # End of match-simple tests 800s # Start of match-simple-optimized tests 800s ok 179 /regex/match-simple-optimized/92 800s ok 180 /regex/match-simple-optimized/93 800s ok 181 /regex/match-simple-optimized/94 800s ok 182 /regex/match-simple-optimized/95 800s ok 183 /regex/match-simple-optimized/96 800s ok 184 /regex/match-simple-optimized/97 800s ok 185 /regex/match-simple-optimized/98 800s ok 186 /regex/match-simple-optimized/99 800s ok 187 /regex/match-simple-optimized/100 800s ok 188 /regex/match-simple-optimized/101 800s ok 189 /regex/match-simple-optimized/102 800s ok 190 /regex/match-simple-optimized/103 800s ok 191 /regex/match-simple-optimized/104 800s ok 192 /regex/match-simple-optimized/105 800s ok 193 /regex/match-simple-optimized/106 800s ok 194 /regex/match-simple-optimized/107 800s ok 195 /regex/match-simple-optimized/108 800s ok 196 /regex/match-simple-optimized/109 800s ok 197 /regex/match-simple-optimized/110 800s ok 198 /regex/match-simple-optimized/111 800s ok 199 /regex/match-simple-optimized/112 800s ok 200 /regex/match-simple-optimized/113 800s ok 201 /regex/match-simple-optimized/114 800s ok 202 /regex/match-simple-optimized/115 800s ok 203 /regex/match-simple-optimized/116 800s ok 204 /regex/match-simple-optimized/117 800s ok 205 /regex/match-simple-optimized/118 800s ok 206 /regex/match-simple-optimized/119 800s ok 207 /regex/match-simple-optimized/120 800s ok 208 /regex/match-simple-optimized/121 800s ok 209 /regex/match-simple-optimized/122 800s ok 210 /regex/match-simple-optimized/123 800s ok 211 /regex/match-simple-optimized/124 800s ok 212 /regex/match-simple-optimized/125 800s ok 213 /regex/match-simple-optimized/126 800s ok 214 /regex/match-simple-optimized/127 800s ok 215 /regex/match-simple-optimized/128 800s ok 216 /regex/match-simple-optimized/129 800s ok 217 /regex/match-simple-optimized/130 800s ok 218 /regex/match-simple-optimized/131 800s ok 219 /regex/match-simple-optimized/132 800s ok 220 /regex/match-simple-optimized/133 800s ok 221 /regex/match-simple-optimized/134 800s ok 222 /regex/match-simple-optimized/135 800s ok 223 /regex/match-simple-optimized/136 800s ok 224 /regex/match-simple-optimized/137 800s ok 225 /regex/match-simple-optimized/138 800s ok 226 /regex/match-simple-optimized/139 800s ok 227 /regex/match-simple-optimized/140 800s ok 228 /regex/match-simple-optimized/141 800s ok 229 /regex/match-simple-optimized/142 800s ok 230 /regex/match-simple-optimized/143 800s ok 231 /regex/match-simple-optimized/144 800s ok 232 /regex/match-simple-optimized/145 800s ok 233 /regex/match-simple-optimized/146 800s ok 234 /regex/match-simple-optimized/147 800s ok 235 /regex/match-simple-optimized/148 800s ok 236 /regex/match-simple-optimized/149 800s ok 237 /regex/match-simple-optimized/150 800s ok 238 /regex/match-simple-optimized/151 800s ok 239 /regex/match-simple-optimized/152 800s ok 240 /regex/match-simple-optimized/153 800s ok 241 /regex/match-simple-optimized/154 800s ok 242 /regex/match-simple-optimized/155 800s ok 243 /regex/match-simple-optimized/156 800s ok 244 /regex/match-simple-optimized/157 800s ok 245 /regex/match-simple-optimized/158 800s ok 246 /regex/match-simple-optimized/159 800s ok 247 /regex/match-simple-optimized/160 800s ok 248 /regex/match-simple-optimized/161 800s ok 249 /regex/match-simple-optimized/162 800s ok 250 /regex/match-simple-optimized/163 800s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 800s ok 251 /regex/match-simple-optimized/164 800s # End of match-simple-optimized tests 800s # Start of match tests 800s ok 252 /regex/match/165 800s ok 253 /regex/match/166 800s ok 254 /regex/match/167 800s ok 255 /regex/match/168 800s ok 256 /regex/match/169 800s ok 257 /regex/match/170 800s ok 258 /regex/match/171 800s ok 259 /regex/match/172 800s ok 260 /regex/match/173 800s ok 261 /regex/match/174 800s ok 262 /regex/match/175 800s ok 263 /regex/match/176 800s ok 264 /regex/match/177 800s ok 265 /regex/match/178 800s ok 266 /regex/match/179 800s ok 267 /regex/match/180 800s ok 268 /regex/match/181 800s ok 269 /regex/match/182 800s ok 270 /regex/match/183 800s ok 271 /regex/match/184 800s ok 272 /regex/match/185 800s ok 273 /regex/match/186 800s ok 274 /regex/match/187 800s ok 275 /regex/match/188 800s ok 276 /regex/match/189 800s ok 277 /regex/match/190 800s ok 278 /regex/match/191 800s ok 279 /regex/match/192 800s ok 280 /regex/match/193 800s ok 281 /regex/match/194 800s ok 282 /regex/match/195 800s ok 283 /regex/match/196 800s ok 284 /regex/match/197 800s ok 285 /regex/match/198 800s ok 286 /regex/match/199 800s ok 287 /regex/match/200 800s ok 288 /regex/match/201 800s ok 289 /regex/match/202 800s ok 290 /regex/match/203 800s ok 291 /regex/match/204 800s ok 292 /regex/match/205 800s ok 293 /regex/match/206 800s ok 294 /regex/match/207 800s ok 295 /regex/match/208 800s ok 296 /regex/match/209 800s ok 297 /regex/match/210 800s ok 298 /regex/match/211 800s ok 299 /regex/match/212 800s ok 300 /regex/match/213 800s ok 301 /regex/match/214 800s ok 302 /regex/match/215 800s ok 303 /regex/match/216 800s ok 304 /regex/match/217 800s ok 305 /regex/match/218 800s ok 306 /regex/match/219 800s ok 307 /regex/match/220 800s ok 308 /regex/match/221 800s ok 309 /regex/match/222 800s ok 310 /regex/match/223 800s ok 311 /regex/match/224 800s ok 312 /regex/match/225 800s ok 313 /regex/match/226 800s ok 314 /regex/match/227 800s ok 315 /regex/match/228 800s ok 316 /regex/match/229 800s ok 317 /regex/match/230 800s ok 318 /regex/match/231 800s ok 319 /regex/match/232 800s ok 320 /regex/match/233 800s ok 321 /regex/match/234 800s ok 322 /regex/match/235 800s ok 323 /regex/match/236 800s ok 324 /regex/match/237 800s ok 325 /regex/match/238 800s ok 326 /regex/match/239 800s ok 327 /regex/match/240 800s ok 328 /regex/match/241 800s ok 329 /regex/match/242 800s ok 330 /regex/match/243 800s ok 331 /regex/match/244 800s ok 332 /regex/match/245 800s ok 333 /regex/match/246 800s ok 334 /regex/match/partial281 800s ok 335 /regex/match/partial282 800s ok 336 /regex/match/partial283 800s ok 337 /regex/match/partial284 800s ok 338 /regex/match/partial285 800s ok 339 /regex/match/partial286 800s ok 340 /regex/match/partial287 800s ok 341 /regex/match/partial288 800s ok 342 /regex/match/partial289 800s ok 343 /regex/match/partial290 800s ok 344 /regex/match/partial291 800s ok 345 /regex/match/partial292 800s ok 346 /regex/match/partial293 800s ok 347 /regex/match/partial294 800s ok 348 /regex/match/partial295 800s ok 349 /regex/match/partial296 800s ok 350 /regex/match/partial297 800s ok 351 /regex/match/partial298 800s ok 352 /regex/match/partial299 800s ok 353 /regex/match/partial300 800s ok 354 /regex/match/partial301 800s ok 355 /regex/match/partial302 800s # Start of next0 tests 800s ok 356 /regex/match/next0/247 800s ok 357 /regex/match/next0/248 800s ok 358 /regex/match/next0/249 800s ok 359 /regex/match/next0/250 800s # End of next0 tests 800s # Start of next1 tests 800s ok 360 /regex/match/next1/251 800s ok 361 /regex/match/next1/252 800s ok 362 /regex/match/next1/253 800s ok 363 /regex/match/next1/254 800s ok 364 /regex/match/next1/255 800s # End of next1 tests 800s # Start of next2 tests 800s ok 365 /regex/match/next2/256 800s ok 366 /regex/match/next2/257 800s ok 367 /regex/match/next2/258 800s ok 368 /regex/match/next2/259 800s ok 369 /regex/match/next2/260 800s ok 370 /regex/match/next2/261 800s ok 371 /regex/match/next2/262 800s ok 372 /regex/match/next2/263 800s # End of next2 tests 800s # Start of next3 tests 800s ok 373 /regex/match/next3/264 800s ok 374 /regex/match/next3/265 800s ok 375 /regex/match/next3/266 800s ok 376 /regex/match/next3/267 800s ok 377 /regex/match/next3/268 800s ok 378 /regex/match/next3/269 800s # End of next3 tests 800s # Start of next4 tests 800s ok 379 /regex/match/next4/270 800s # End of next4 tests 800s # Start of count tests 800s ok 380 /regex/match/count/271 800s ok 381 /regex/match/count/272 800s ok 382 /regex/match/count/273 800s ok 383 /regex/match/count/274 800s ok 384 /regex/match/count/275 800s ok 385 /regex/match/count/276 800s ok 386 /regex/match/count/277 800s ok 387 /regex/match/count/278 800s ok 388 /regex/match/count/279 800s ok 389 /regex/match/count/280 800s # End of count tests 800s # Start of count-optimized tests 800s ok 390 /regex/match/count-optimized/271 800s ok 391 /regex/match/count-optimized/272 800s ok 392 /regex/match/count-optimized/273 800s ok 393 /regex/match/count-optimized/274 800s ok 394 /regex/match/count-optimized/275 800s ok 395 /regex/match/count-optimized/276 800s ok 396 /regex/match/count-optimized/277 800s ok 397 /regex/match/count-optimized/278 800s ok 398 /regex/match/count-optimized/279 800s ok 399 /regex/match/count-optimized/280 800s # End of count-optimized tests 800s # Start of partial-optimized tests 800s ok 400 /regex/match/partial-optimized/281 800s ok 401 /regex/match/partial-optimized/282 800s ok 402 /regex/match/partial-optimized/283 800s ok 403 /regex/match/partial-optimized/284 800s ok 404 /regex/match/partial-optimized/285 800s ok 405 /regex/match/partial-optimized/286 800s ok 406 /regex/match/partial-optimized/287 800s ok 407 /regex/match/partial-optimized/288 800s ok 408 /regex/match/partial-optimized/289 800s ok 409 /regex/match/partial-optimized/290 800s ok 410 /regex/match/partial-optimized/291 800s ok 411 /regex/match/partial-optimized/292 800s ok 412 /regex/match/partial-optimized/293 800s ok 413 /regex/match/partial-optimized/294 800s ok 414 /regex/match/partial-optimized/295 800s ok 415 /regex/match/partial-optimized/296 800s ok 416 /regex/match/partial-optimized/297 800s ok 417 /regex/match/partial-optimized/298 800s ok 418 /regex/match/partial-optimized/299 800s ok 419 /regex/match/partial-optimized/300 800s ok 420 /regex/match/partial-optimized/301 800s ok 421 /regex/match/partial-optimized/302 800s # End of partial-optimized tests 800s # Start of subpattern tests 800s ok 422 /regex/match/subpattern/303 800s ok 423 /regex/match/subpattern/304 800s ok 424 /regex/match/subpattern/305 800s ok 425 /regex/match/subpattern/306 800s ok 426 /regex/match/subpattern/307 800s ok 427 /regex/match/subpattern/308 800s ok 428 /regex/match/subpattern/309 800s ok 429 /regex/match/subpattern/310 800s ok 430 /regex/match/subpattern/311 800s ok 431 /regex/match/subpattern/312 800s ok 432 /regex/match/subpattern/313 800s ok 433 /regex/match/subpattern/314 800s ok 434 /regex/match/subpattern/315 800s # Start of named tests 800s # Start of dupnames tests 800s ok 435 /regex/match/subpattern/named/dupnames/325 800s ok 436 /regex/match/subpattern/named/dupnames/326 800s ok 437 /regex/match/subpattern/named/dupnames/327 800s ok 438 /regex/match/subpattern/named/dupnames/328 800s ok 439 /regex/match/subpattern/named/dupnames/329 800s # End of dupnames tests 800s # End of named tests 800s # End of subpattern tests 800s # Start of subpattern-optimized tests 800s ok 440 /regex/match/subpattern-optimized/303 800s ok 441 /regex/match/subpattern-optimized/304 800s ok 442 /regex/match/subpattern-optimized/305 800s ok 443 /regex/match/subpattern-optimized/306 800s ok 444 /regex/match/subpattern-optimized/307 800s ok 445 /regex/match/subpattern-optimized/308 800s ok 446 /regex/match/subpattern-optimized/309 800s ok 447 /regex/match/subpattern-optimized/310 800s ok 448 /regex/match/subpattern-optimized/311 800s ok 449 /regex/match/subpattern-optimized/312 800s ok 450 /regex/match/subpattern-optimized/313 800s ok 451 /regex/match/subpattern-optimized/314 800s ok 452 /regex/match/subpattern-optimized/315 800s # End of subpattern-optimized tests 800s # Start of named tests 800s # Start of subpattern tests 800s ok 453 /regex/match/named/subpattern/316 800s ok 454 /regex/match/named/subpattern/317 800s ok 455 /regex/match/named/subpattern/318 800s ok 456 /regex/match/named/subpattern/319 800s ok 457 /regex/match/named/subpattern/320 800s ok 458 /regex/match/named/subpattern/321 800s ok 459 /regex/match/named/subpattern/322 800s ok 460 /regex/match/named/subpattern/323 800s ok 461 /regex/match/named/subpattern/324 800s ok 462 /regex/match/named/subpattern/330 800s ok 463 /regex/match/named/subpattern/331 800s ok 464 /regex/match/named/subpattern/332 800s ok 465 /regex/match/named/subpattern/333 800s ok 466 /regex/match/named/subpattern/334 800s # End of subpattern tests 800s # End of named tests 800s # End of match tests 800s # Start of match-optimized tests 800s ok 467 /regex/match-optimized/165 800s ok 468 /regex/match-optimized/166 800s ok 469 /regex/match-optimized/167 800s ok 470 /regex/match-optimized/168 800s ok 471 /regex/match-optimized/169 800s ok 472 /regex/match-optimized/170 800s ok 473 /regex/match-optimized/171 800s ok 474 /regex/match-optimized/172 800s ok 475 /regex/match-optimized/173 800s ok 476 /regex/match-optimized/174 800s ok 477 /regex/match-optimized/175 800s ok 478 /regex/match-optimized/176 800s ok 479 /regex/match-optimized/177 800s ok 480 /regex/match-optimized/178 800s ok 481 /regex/match-optimized/179 800s ok 482 /regex/match-optimized/180 800s ok 483 /regex/match-optimized/181 800s ok 484 /regex/match-optimized/182 800s ok 485 /regex/match-optimized/183 800s ok 486 /regex/match-optimized/184 800s ok 487 /regex/match-optimized/185 800s ok 488 /regex/match-optimized/186 800s ok 489 /regex/match-optimized/187 800s ok 490 /regex/match-optimized/188 800s ok 491 /regex/match-optimized/189 800s ok 492 /regex/match-optimized/190 800s ok 493 /regex/match-optimized/191 800s ok 494 /regex/match-optimized/192 800s ok 495 /regex/match-optimized/193 800s ok 496 /regex/match-optimized/194 800s ok 497 /regex/match-optimized/195 800s ok 498 /regex/match-optimized/196 800s ok 499 /regex/match-optimized/197 800s ok 500 /regex/match-optimized/198 800s ok 501 /regex/match-optimized/199 800s ok 502 /regex/match-optimized/200 800s ok 503 /regex/match-optimized/201 800s ok 504 /regex/match-optimized/202 800s ok 505 /regex/match-optimized/203 800s ok 506 /regex/match-optimized/204 800s ok 507 /regex/match-optimized/205 800s ok 508 /regex/match-optimized/206 800s ok 509 /regex/match-optimized/207 800s ok 510 /regex/match-optimized/208 800s ok 511 /regex/match-optimized/209 800s ok 512 /regex/match-optimized/210 800s ok 513 /regex/match-optimized/211 800s ok 514 /regex/match-optimized/212 800s ok 515 /regex/match-optimized/213 800s ok 516 /regex/match-optimized/214 800s ok 517 /regex/match-optimized/215 800s ok 518 /regex/match-optimized/216 800s ok 519 /regex/match-optimized/217 800s ok 520 /regex/match-optimized/218 800s ok 521 /regex/match-optimized/219 800s ok 522 /regex/match-optimized/220 800s ok 523 /regex/match-optimized/221 800s ok 524 /regex/match-optimized/222 800s ok 525 /regex/match-optimized/223 800s ok 526 /regex/match-optimized/224 800s ok 527 /regex/match-optimized/225 800s ok 528 /regex/match-optimized/226 800s ok 529 /regex/match-optimized/227 800s ok 530 /regex/match-optimized/228 800s ok 531 /regex/match-optimized/229 800s ok 532 /regex/match-optimized/230 800s ok 533 /regex/match-optimized/231 800s ok 534 /regex/match-optimized/232 800s ok 535 /regex/match-optimized/233 800s ok 536 /regex/match-optimized/234 800s ok 537 /regex/match-optimized/235 800s ok 538 /regex/match-optimized/236 800s ok 539 /regex/match-optimized/237 800s ok 540 /regex/match-optimized/238 800s ok 541 /regex/match-optimized/239 800s ok 542 /regex/match-optimized/240 800s ok 543 /regex/match-optimized/241 800s ok 544 /regex/match-optimized/242 800s ok 545 /regex/match-optimized/243 800s ok 546 /regex/match-optimized/244 800s ok 547 /regex/match-optimized/245 800s ok 548 /regex/match-optimized/246 800s # End of match-optimized tests 800s # Start of fetch-all0 tests 800s ok 549 /regex/fetch-all0/335 800s ok 550 /regex/fetch-all0/336 800s # End of fetch-all0 tests 800s # Start of fetch-all1 tests 800s ok 551 /regex/fetch-all1/337 800s ok 552 /regex/fetch-all1/338 800s ok 553 /regex/fetch-all1/339 800s # End of fetch-all1 tests 800s # Start of fetch-all2 tests 800s ok 554 /regex/fetch-all2/340 800s ok 555 /regex/fetch-all2/341 800s ok 556 /regex/fetch-all2/342 800s # End of fetch-all2 tests 800s # Start of fetch-all3 tests 800s ok 557 /regex/fetch-all3/343 800s ok 558 /regex/fetch-all3/344 800s ok 559 /regex/fetch-all3/345 800s ok 560 /regex/fetch-all3/346 800s ok 561 /regex/fetch-all3/347 800s # End of fetch-all3 tests 800s # Start of split tests 800s # Start of simple0 tests 800s ok 562 /regex/split/simple0/348 800s ok 563 /regex/split/simple0/349 800s ok 564 /regex/split/simple0/364 800s ok 565 /regex/split/simple0/365 800s # End of simple0 tests 800s # Start of simple1 tests 800s ok 566 /regex/split/simple1/350 800s ok 567 /regex/split/simple1/351 800s # End of simple1 tests 800s # Start of simple2 tests 800s ok 568 /regex/split/simple2/352 800s ok 569 /regex/split/simple2/358 800s ok 570 /regex/split/simple2/360 800s # End of simple2 tests 800s # Start of simple3 tests 800s ok 571 /regex/split/simple3/353 800s ok 572 /regex/split/simple3/354 800s ok 573 /regex/split/simple3/355 800s ok 574 /regex/split/simple3/356 800s ok 575 /regex/split/simple3/357 800s ok 576 /regex/split/simple3/359 800s ok 577 /regex/split/simple3/361 800s ok 578 /regex/split/simple3/362 800s ok 579 /regex/split/simple3/363 800s # End of simple3 tests 800s # End of split tests 800s # Start of split0 tests 800s ok 580 /regex/split0/366 800s ok 581 /regex/split0/368 800s # End of split0 tests 800s # Start of full-split0 tests 800s ok 582 /regex/full-split0/367 800s ok 583 /regex/full-split0/369 800s ok 584 /regex/full-split0/370 800s ok 585 /regex/full-split0/371 800s ok 586 /regex/full-split0/372 800s # End of full-split0 tests 800s # Start of split1 tests 800s ok 587 /regex/split1/373 800s ok 588 /regex/split1/376 800s # End of split1 tests 800s # Start of full-split1 tests 800s ok 589 /regex/full-split1/374 800s ok 590 /regex/full-split1/375 800s ok 591 /regex/full-split1/377 800s ok 592 /regex/full-split1/378 800s ok 593 /regex/full-split1/404 800s # End of full-split1 tests 800s # Start of split2 tests 800s ok 594 /regex/split2/379 800s ok 595 /regex/split2/383 800s ok 596 /regex/split2/395 800s # End of split2 tests 800s # Start of full-split2 tests 800s ok 597 /regex/full-split2/380 800s ok 598 /regex/full-split2/381 800s ok 599 /regex/full-split2/382 800s ok 600 /regex/full-split2/384 800s ok 601 /regex/full-split2/396 800s ok 602 /regex/full-split2/399 800s ok 603 /regex/full-split2/405 800s # End of full-split2 tests 800s # Start of split3 tests 800s ok 604 /regex/split3/385 800s ok 605 /regex/split3/387 800s ok 606 /regex/split3/389 800s ok 607 /regex/split3/391 800s ok 608 /regex/split3/393 800s ok 609 /regex/split3/397 800s ok 610 /regex/split3/400 800s ok 611 /regex/split3/402 800s # End of split3 tests 800s # Start of full-split3 tests 800s ok 612 /regex/full-split3/386 800s ok 613 /regex/full-split3/388 800s ok 614 /regex/full-split3/390 800s ok 615 /regex/full-split3/392 800s ok 616 /regex/full-split3/394 800s ok 617 /regex/full-split3/398 800s ok 618 /regex/full-split3/401 800s ok 619 /regex/full-split3/403 800s ok 620 /regex/full-split3/406 800s ok 621 /regex/full-split3/407 800s # End of full-split3 tests 800s # Start of check-repacement tests 800s ok 622 /regex/check-repacement/408 800s ok 623 /regex/check-repacement/409 800s ok 624 /regex/check-repacement/410 800s ok 625 /regex/check-repacement/411 800s ok 626 /regex/check-repacement/412 800s ok 627 /regex/check-repacement/413 800s ok 628 /regex/check-repacement/414 800s ok 629 /regex/check-repacement/415 800s # End of check-repacement tests 800s # Start of expand tests 800s ok 630 /regex/expand/416 800s ok 631 /regex/expand/417 800s ok 632 /regex/expand/418 800s ok 633 /regex/expand/419 800s ok 634 /regex/expand/420 800s ok 635 /regex/expand/421 800s ok 636 /regex/expand/422 800s ok 637 /regex/expand/423 800s ok 638 /regex/expand/424 800s ok 639 /regex/expand/425 800s ok 640 /regex/expand/426 800s ok 641 /regex/expand/427 800s ok 642 /regex/expand/428 800s ok 643 /regex/expand/429 800s ok 644 /regex/expand/430 800s ok 645 /regex/expand/431 800s ok 646 /regex/expand/432 800s ok 647 /regex/expand/433 800s ok 648 /regex/expand/434 800s ok 649 /regex/expand/435 800s ok 650 /regex/expand/436 800s ok 651 /regex/expand/437 800s ok 652 /regex/expand/438 800s ok 653 /regex/expand/439 800s ok 654 /regex/expand/440 800s ok 655 /regex/expand/441 800s ok 656 /regex/expand/442 800s ok 657 /regex/expand/443 800s ok 658 /regex/expand/444 800s ok 659 /regex/expand/445 800s ok 660 /regex/expand/446 800s ok 661 /regex/expand/447 800s ok 662 /regex/expand/448 800s ok 663 /regex/expand/449 800s ok 664 /regex/expand/450 800s ok 665 /regex/expand/451 800s ok 666 /regex/expand/452 800s ok 667 /regex/expand/453 800s ok 668 /regex/expand/454 800s ok 669 /regex/expand/455 800s ok 670 /regex/expand/456 800s ok 671 /regex/expand/457 800s ok 672 /regex/expand/458 800s ok 673 /regex/expand/459 800s ok 674 /regex/expand/460 800s ok 675 /regex/expand/461 800s ok 676 /regex/expand/462 800s ok 677 /regex/expand/463 800s ok 678 /regex/expand/464 800s ok 679 /regex/expand/465 800s ok 680 /regex/expand/466 800s ok 681 /regex/expand/467 800s ok 682 /regex/expand/468 800s ok 683 /regex/expand/469 800s ok 684 /regex/expand/470 800s ok 685 /regex/expand/471 800s ok 686 /regex/expand/472 800s ok 687 /regex/expand/473 800s ok 688 /regex/expand/474 800s ok 689 /regex/expand/475 800s ok 690 /regex/expand/476 800s ok 691 /regex/expand/477 800s ok 692 /regex/expand/478 800s ok 693 /regex/expand/479 800s ok 694 /regex/expand/480 800s ok 695 /regex/expand/481 800s # End of expand tests 800s # Start of replace tests 800s ok 696 /regex/replace/482 800s ok 697 /regex/replace/483 800s ok 698 /regex/replace/484 800s ok 699 /regex/replace/485 800s ok 700 /regex/replace/486 800s ok 701 /regex/replace/487 800s ok 702 /regex/replace/488 800s ok 703 /regex/replace/489 800s ok 704 /regex/replace/490 800s ok 705 /regex/replace/491 800s ok 706 /regex/replace/492 800s ok 707 /regex/replace/493 800s ok 708 /regex/replace/494 800s ok 709 /regex/replace/495 800s ok 710 /regex/replace/496 800s ok 711 /regex/replace/497 800s ok 712 /regex/replace/498 800s ok 713 /regex/replace/499 800s ok 714 /regex/replace/500 800s ok 715 /regex/replace/501 800s ok 716 /regex/replace/502 800s ok 717 /regex/replace/503 800s ok 718 /regex/replace/504 800s ok 719 /regex/replace/505 800s ok 720 /regex/replace/506 800s ok 721 /regex/replace/507 800s ok 722 /regex/replace/508 800s ok 723 /regex/replace/509 800s # End of replace tests 800s # Start of replace-optimized tests 800s ok 724 /regex/replace-optimized/482 800s ok 725 /regex/replace-optimized/483 800s ok 726 /regex/replace-optimized/484 800s ok 727 /regex/replace-optimized/485 800s ok 728 /regex/replace-optimized/486 800s ok 729 /regex/replace-optimized/487 800s ok 730 /regex/replace-optimized/488 800s ok 731 /regex/replace-optimized/489 800s ok 732 /regex/replace-optimized/490 800s ok 733 /regex/replace-optimized/491 800s ok 734 /regex/replace-optimized/492 800s ok 735 /regex/replace-optimized/493 800s ok 736 /regex/replace-optimized/494 800s ok 737 /regex/replace-optimized/495 800s ok 738 /regex/replace-optimized/496 800s ok 739 /regex/replace-optimized/497 800s ok 740 /regex/replace-optimized/498 800s ok 741 /regex/replace-optimized/499 800s ok 742 /regex/replace-optimized/500 800s ok 743 /regex/replace-optimized/501 800s ok 744 /regex/replace-optimized/502 800s ok 745 /regex/replace-optimized/503 800s ok 746 /regex/replace-optimized/504 800s ok 747 /regex/replace-optimized/505 800s ok 748 /regex/replace-optimized/506 800s ok 749 /regex/replace-optimized/507 800s ok 750 /regex/replace-optimized/508 800s ok 751 /regex/replace-optimized/509 800s # End of replace-optimized tests 800s # Start of replace-literally tests 800s ok 752 /regex/replace-literally/510 800s ok 753 /regex/replace-literally/511 800s ok 754 /regex/replace-literally/512 800s ok 755 /regex/replace-literally/513 800s ok 756 /regex/replace-literally/514 800s ok 757 /regex/replace-literally/515 800s ok 758 /regex/replace-literally/516 800s ok 759 /regex/replace-literally/517 800s ok 760 /regex/replace-literally/518 800s ok 761 /regex/replace-literally/519 800s ok 762 /regex/replace-literally/520 800s ok 763 /regex/replace-literally/521 800s ok 764 /regex/replace-literally/522 800s ok 765 /regex/replace-literally/523 800s ok 766 /regex/replace-literally/524 800s ok 767 /regex/replace-literally/525 800s ok 768 /regex/replace-literally/526 800s ok 769 /regex/replace-literally/527 800s ok 770 /regex/replace-literally/528 800s ok 771 /regex/replace-literally/529 800s # End of replace-literally tests 800s # Start of string-number tests 800s ok 772 /regex/string-number/530 800s ok 773 /regex/string-number/531 800s ok 774 /regex/string-number/532 800s ok 775 /regex/string-number/533 800s ok 776 /regex/string-number/534 800s ok 777 /regex/string-number/535 800s ok 778 /regex/string-number/536 800s ok 779 /regex/string-number/537 800s ok 780 /regex/string-number/538 800s ok 781 /regex/string-number/539 800s ok 782 /regex/string-number/540 800s ok 783 /regex/string-number/541 800s ok 784 /regex/string-number/542 800s ok 785 /regex/string-number/543 800s ok 786 /regex/string-number/544 800s # End of string-number tests 800s # Start of escape_nul tests 800s ok 787 /regex/escape_nul/545 800s ok 788 /regex/escape_nul/546 800s ok 789 /regex/escape_nul/547 800s ok 790 /regex/escape_nul/548 800s ok 791 /regex/escape_nul/549 800s ok 792 /regex/escape_nul/550 800s ok 793 /regex/escape_nul/551 800s ok 794 /regex/escape_nul/552 800s ok 795 /regex/escape_nul/553 800s ok 796 /regex/escape_nul/554 800s ok 797 /regex/escape_nul/555 800s ok 798 /regex/escape_nul/556 800s ok 799 /regex/escape_nul/557 800s ok 800 /regex/escape_nul/558 800s ok 801 /regex/escape_nul/559 800s # End of escape_nul tests 800s # Start of escape tests 800s ok 802 /regex/escape/560 800s ok 803 /regex/escape/561 800s ok 804 /regex/escape/562 800s ok 805 /regex/escape/563 800s ok 806 /regex/escape/564 800s ok 807 /regex/escape/565 800s ok 808 /regex/escape/566 800s ok 809 /regex/escape/567 800s ok 810 /regex/escape/568 800s ok 811 /regex/escape/569 800s ok 812 /regex/escape/570 800s ok 813 /regex/escape/571 800s ok 814 /regex/escape/572 800s ok 815 /regex/escape/573 800s ok 816 /regex/escape/574 800s ok 817 /regex/escape/575 800s ok 818 /regex/escape/576 800s ok 819 /regex/escape/577 800s # End of escape tests 800s # Start of match-all0 tests 800s ok 820 /regex/match-all0/578 800s ok 821 /regex/match-all0/580 800s # End of match-all0 tests 800s # Start of match-all-full0 tests 800s ok 822 /regex/match-all-full0/579 800s ok 823 /regex/match-all-full0/581 800s ok 824 /regex/match-all-full0/582 800s ok 825 /regex/match-all-full0/583 800s # End of match-all-full0 tests 800s # Start of match-all1 tests 800s ok 826 /regex/match-all1/584 800s ok 827 /regex/match-all1/586 800s ok 828 /regex/match-all1/591 800s # End of match-all1 tests 800s # Start of match-all-full1 tests 800s ok 829 /regex/match-all-full1/585 800s ok 830 /regex/match-all-full1/587 800s ok 831 /regex/match-all-full1/588 800s ok 832 /regex/match-all-full1/589 800s ok 833 /regex/match-all-full1/590 800s ok 834 /regex/match-all-full1/592 800s # End of match-all-full1 tests 800s # Start of match-all2 tests 800s ok 835 /regex/match-all2/593 800s ok 836 /regex/match-all2/595 800s ok 837 /regex/match-all2/597 800s # End of match-all2 tests 800s # Start of match-all-full2 tests 800s ok 838 /regex/match-all-full2/594 800s ok 839 /regex/match-all-full2/596 800s ok 840 /regex/match-all-full2/598 800s # End of match-all-full2 tests 800s # Start of match-all3 tests 800s ok 841 /regex/match-all3/599 800s ok 842 /regex/match-all3/601 800s # End of match-all3 tests 800s # Start of match-all-full3 tests 800s ok 843 /regex/match-all-full3/600 800s ok 844 /regex/match-all-full3/602 800s # End of match-all-full3 tests 800s # Start of match-notempty tests 800s ok 845 /regex/match-notempty/603 800s # End of match-notempty tests 800s # Start of match-notempty-optimized tests 800s ok 846 /regex/match-notempty-optimized/603 800s # End of match-notempty-optimized tests 800s # Start of match-notempty-atstart tests 800s ok 847 /regex/match-notempty-atstart/604 800s # End of match-notempty-atstart tests 800s # Start of match-notempty-atstart-optimized tests 800s ok 848 /regex/match-notempty-atstart-optimized/604 800s # End of match-notempty-atstart-optimized tests 800s # End of regex tests 800s ok - glib/regex.test 800s # Running test: glib/gdbus-connection.test 800s TAP version 14 800s # random seed: R02Sa7ed91bbb8982d6d254469626d0da361 800s 1..9 800s # Start of gdbus tests 800s # Start of connection tests 800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/bus-failure/.dirs/home 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/bus-failure/.dirs/cache 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/bus-failure/.dirs/system-config2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/bus-failure/.dirs/config 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/bus-failure/.dirs/system-data2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/bus-failure/.dirs/data 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/bus-failure/.dirs/state 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_E716X2/gdbus/connection/bus-failure/.dirs/runtime 800s ok 1 /gdbus/connection/bus-failure 800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/basic/.dirs/home 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/basic/.dirs/cache 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/basic/.dirs/system-config2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/basic/.dirs/config 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/basic/.dirs/system-data2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/basic/.dirs/data 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/basic/.dirs/state 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_E716X2/gdbus/connection/basic/.dirs/runtime 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 800s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s ok 2 /gdbus/connection/basic 800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/life-cycle/.dirs/home 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/life-cycle/.dirs/cache 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/life-cycle/.dirs/system-config2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/life-cycle/.dirs/config 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/life-cycle/.dirs/system-data2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/life-cycle/.dirs/data 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/life-cycle/.dirs/state 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_E716X2/gdbus/connection/life-cycle/.dirs/runtime 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 800s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s ok 3 /gdbus/connection/life-cycle 800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/send/.dirs/home 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/send/.dirs/cache 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/send/.dirs/system-config2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/send/.dirs/config 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/send/.dirs/system-data2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/send/.dirs/data 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/send/.dirs/state 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_E716X2/gdbus/connection/send/.dirs/runtime 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 800s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s ok 4 /gdbus/connection/send 800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signals/.dirs/home 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signals/.dirs/cache 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/signals/.dirs/system-config2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signals/.dirs/config 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/signals/.dirs/system-data2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signals/.dirs/data 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signals/.dirs/state 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signals/.dirs/runtime 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 800s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s ok 5 /gdbus/connection/signals 800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signal-match-rules/.dirs/home 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signal-match-rules/.dirs/cache 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/signal-match-rules/.dirs/system-config2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signal-match-rules/.dirs/config 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/signal-match-rules/.dirs/system-data2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signal-match-rules/.dirs/data 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signal-match-rules/.dirs/state 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_E716X2/gdbus/connection/signal-match-rules/.dirs/runtime 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 800s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s ok 6 /gdbus/connection/signal-match-rules 800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/filter/.dirs/home 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/filter/.dirs/cache 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/filter/.dirs/system-config2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/filter/.dirs/config 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/filter/.dirs/system-data2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/filter/.dirs/data 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/filter/.dirs/state 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_E716X2/gdbus/connection/filter/.dirs/runtime 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 800s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s ok 7 /gdbus/connection/filter 800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/serials/.dirs/home 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/serials/.dirs/cache 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/serials/.dirs/system-config2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/serials/.dirs/config 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/serials/.dirs/system-data2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/serials/.dirs/data 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/serials/.dirs/state 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_E716X2/gdbus/connection/serials/.dirs/runtime 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 800s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s ok 8 /gdbus/connection/serials 800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/cancel/.dirs/home 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/cancel/.dirs/cache 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/cancel/.dirs/system-config2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/cancel/.dirs/config 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_E716X2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_E716X2/gdbus/connection/cancel/.dirs/system-data2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/cancel/.dirs/data 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_E716X2/gdbus/connection/cancel/.dirs/state 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_E716X2/gdbus/connection/cancel/.dirs/runtime 800s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 800s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 800s ok 9 /gdbus/connection/cancel 800s # End of connection tests 800s # End of gdbus tests 800s ok - glib/gdbus-connection.test 800s # Running test: glib/utils-c-99.test 800s TAP version 14 800s # random seed: R02S2cb5360f95d9281b736612fbed21296c 800s 1..40 800s # Start of utils tests 800s ok 1 /utils/language-names 800s ok 2 /utils/locale-variants 800s ok 3 /utils/version 800s ok 4 /utils/appname 800s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 800s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 800s ok 5 /utils/prgname-thread-safety 800s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 800s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 800s ok 6 /utils/tmpdir 800s ok 7 /utils/basic_bits 800s ok 8 /utils/bits 800s ok 9 /utils/swap 800s ok 10 /utils/find-program 800s ok 11 /utils/find-program-for-path 800s ok 12 /utils/debug 800s ok 13 /utils/codeset 800s ok 14 /utils/codeset2 800s ok 15 /utils/console-charset 800s ok 16 /utils/gettext 800s ok 17 /utils/username 800s ok 18 /utils/realname 800s ok 19 /utils/hostname 800s ok 20 /utils/xdgdirs 800s ok 21 /utils/specialdir 800s # NAME: Ubuntu 800s ok 22 /utils/os-info 800s ok 23 /utils/clear-pointer 800s ok 24 /utils/clear-pointer-cast 800s ok 25 /utils/take-pointer 800s ok 26 /utils/clear-source 800s ok 27 /utils/misc-mem 800s # /utils/aligned-mem summary: Aligned memory allocator 800s # Alignment must not be zero 800s # Alignment must be a power of two 800s # Alignment must be a multiple of sizeof(void*) 800s ok 28 /utils/aligned-mem 800s # /utils/free-sized summary: Check that g_free_sized() works 800s ok 29 /utils/free-sized 800s ok 30 /utils/nullify 800s ok 31 /utils/atexit 800s ok 32 /utils/check-setuid 800s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 800s ok 33 /utils/int-limits 800s ok 34 /utils/clear-list 800s ok 35 /utils/clear-slist 800s # Start of specialdir tests 800s ok 36 /utils/specialdir/desktop 800s # End of specialdir tests 800s # Start of clear-pointer tests 800s ok 37 /utils/clear-pointer/side-effects 800s # End of clear-pointer tests 800s # Start of aligned-mem tests 800s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 800s ok 38 /utils/aligned-mem/alignment 800s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 800s ok 39 /utils/aligned-mem/zeroed 800s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 800s ok 40 /utils/aligned-mem/free-sized 800s # Start of subprocess tests 800s # End of subprocess tests 800s # End of aligned-mem tests 800s # End of utils tests 800s ok - glib/utils-c-99.test 800s # Running test: glib/strvbuilder.test 800s TAP version 14 800s # random seed: R02Sc260213407ee2550a823a90b99a3c241 800s 1..7 800s # Start of strvbuilder tests 800s ok 1 /strvbuilder/empty 800s ok 2 /strvbuilder/add 800s ok 3 /strvbuilder/addv 800s ok 4 /strvbuilder/add_many 800s ok 5 /strvbuilder/take 800s ok 6 /strvbuilder/ref 800s ok 7 /strvbuilder/unref_to_strv 800s # End of strvbuilder tests 800s ok - glib/strvbuilder.test 800s # Running test: glib/dynamictype.test 800s TAP version 14 800s # random seed: R02S6df2f8cb419cb940d42d6693c684de10 800s 1..2 800s # Start of gobject tests 800s ok 1 /gobject/dynamic-type 800s # Start of dynamic-type tests 800s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 800s ok 2 /gobject/dynamic-type/query 800s # End of dynamic-type tests 800s # End of gobject tests 800s ok - glib/dynamictype.test 800s # Running test: glib/live-g-file.test 800s TAP version 14 800s # random seed: R02Sb5987c1df16989d451c86068f6f219dd 800s 1..13 800s # Start of live-g-file tests 800s # Cleaning target testing structure in 'testdir_live-g-file'... 800s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 800s ok 1 /live-g-file/prep_clean_structure 800s # 800s # Going to create testing structure in 'testdir_live-g-file'... 800s # Creating directory 'dir1'... 800s # Creating directory 'dir1/subdir'... 800s # Creating directory 'dir2'... 800s # Creating directory 'dir-target'... 800s # Creating directory 'dir_no-access'... 800s # Creating directory 'dir_no-write'... 800s # Creating file 'target-file'... 800s # Creating file 'normal_file'... 800s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 800s # Creating file 'executable_file'... 800s # Creating file 'private_file'... 800s # Creating file 'normal_file2'... 800s # Creating file 'readonly_file'... 800s # Creating file 'UTF_pr?i?lis? z'... 800s # Creating directory 'dir_pr?i?lis? z'... 800s # Creating symlink 'lost_symlink' --> 'nowhere'... 800s # Creating directory 'dir_hidden'... 800s # Creating file 'dir_hidden/.a-hidden-file'... 800s # Creating file 'dir_hidden/file-in-.hidden1'... 800s # Creating file 'dir_hidden/file-in-.hidden2'... 800s # Creating pattern file... 800s # done. 800s ok 2 /live-g-file/create_structure 800s # Testing sample structure in 'testdir_live-g-file'... 800s # Testing file 'dir1'... 800s # Testing file 'dir1/subdir'... 800s # Testing file 'dir2'... 800s # Testing file 'dir-target'... 800s # Testing file 'dir_no-access'... 800s # Testing file 'dir_no-write'... 800s # Testing file 'target-file'... 800s # Testing file 'normal_file'... 800s # Testing file 'normal_file-symlink'... 800s # Testing file 'executable_file'... 800s # Testing file 'private_file'... 800s # Testing file 'normal_file2'... 800s # Testing file 'readonly_file'... 800s # Testing file 'UTF_pr?i?lis? z'... 800s # Testing file 'dir_pr?i?lis? z'... 800s # Testing file 'lost_symlink'... 800s # Testing file 'dir_hidden'... 800s # Testing file 'dir_hidden/.a-hidden-file'... 800s # Testing file 'dir_hidden/file-in-.hidden1'... 800s # Testing file 'dir_hidden/file-in-.hidden2'... 800s # Testing pattern file... 800s # read 65536 bytes, total = 65536 of 65536. 800s ok 3 /live-g-file/test_initial_structure 800s # Traversing through the sample structure in 'testdir_live-g-file'... 800s # Found file dir1, relative to root: dir1 800s # Found file subdir, relative to root: dir1/subdir 800s # Found file dir2, relative to root: dir2 800s # Found file dir-target, relative to root: dir-target 800s # Found file dir_no-access, relative to root: dir_no-access 800s # Found file dir_no-write, relative to root: dir_no-write 800s # Found file target-file, relative to root: target-file 800s # Found file normal_file, relative to root: normal_file 800s # Found file normal_file-symlink, relative to root: normal_file-symlink 800s # Found file executable_file, relative to root: executable_file 800s # Found file private_file, relative to root: private_file 800s # Found file normal_file2, relative to root: normal_file2 800s # Found file readonly_file, relative to root: readonly_file 800s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 800s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 800s # Found file lost_symlink, relative to root: lost_symlink 800s # Found file dir_hidden, relative to root: dir_hidden 800s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 800s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 800s # Found file .hidden, relative to root: dir_hidden/.hidden 800s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 800s # Found file pattern_file, relative to root: pattern_file 800s ok 4 /live-g-file/test_traverse_structure 800s # Test enumerate 'testdir_live-g-file'... 800s # Testing file 'dir_no-access' 800s # Testing file 'normal_file' 800s # Testing file 'normal_file-symlink' 800s # Testing file 'not_exists' 800s # Testing file 'not_exists' 800s # Testing file 'not_exists2' 800s # Testing file 'not_exists3' 800s # Testing file 'not_exists4' 800s # Testing file 'dir_no-execute/file' 800s ok 5 /live-g-file/test_enumerate 800s # test_open: 'dir1' 800s # test_open: 'dir_no-access' 800s # test_open: 'target-file' 800s # test_open: 'normal_file-symlink' 800s # test_open: 'executable_file' 800s # test_open: 'private_file' 800s # test_open: 'readonly_file' 800s # test_open: 'UTF_pr?i?lis? z' 800s # test_open: 'pattern_file' 800s # test_open: 'not_exists' 800s # test_open: 'dir_no-execute/file' 800s # test_open: 'lost_symlink' 800s ok 6 /live-g-file/test_open 800s # test_create: 'dir1' 800s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir1?: Is a directory 800s # test_create: 'dir1/subdir' 800s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir1/subdir?: Is a directory 800s # test_create: 'dir2' 800s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir2?: File exists 800s # test_create: 'normal_file' 800s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/normal_file?: File exists 800s # test_create: 'executable_file' 800s # test_create: 'private_file' 800s # test_create: 'normal_file2' 800s # test_create: 'UTF_pr?i?lis? z' 800s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 800s # test_create: 'dir_pr?i?lis? z' 800s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 800s # test_create: 'pattern_file' 800s # test_create: 'not_exists2' 800s # test_create: 'not_exists3' 800s # test_create: 'not_exists4' 800s ok 7 /live-g-file/test_create 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir1/subdir' --> 'dir-target' 800s # res = 0, error code 25 = Can?t recursively copy directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir1/subdir' --> '.' 800s # res = 0, error code 2 = Target file exists 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir1/subdir' --> 'target-file' 800s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir1/subdir' --> 'not_exists' 800s # res = 0, error code 25 = Can?t recursively copy directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 800s # res = 0, error code 25 = Can?t recursively copy directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 800s # res = 0, error code 25 = Can?t recursively copy directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir2' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir-target' --> 'dir-target' 800s # res = 0, error code 25 = Can?t recursively copy directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir-target' --> '.' 800s # res = 0, error code 2 = Target file exists 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir-target' --> 'target-file' 800s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/target-file/dir-target?: Not a directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir-target' --> 'not_exists' 800s # res = 0, error code 25 = Can?t recursively copy directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir-target' --> 'dir_no-access' 800s # res = 0, error code 25 = Can?t recursively copy directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'dir-target' --> 'dir_no-write' 800s # res = 0, error code 25 = Can?t recursively copy directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'target-file' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'target-file' --> '.' 800s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/target-file?: File exists 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'target-file' --> 'target-file' 800s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/target-file/target-file?: Not a directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'target-file' --> 'not_exists' 800s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists/target-file?: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'target-file' --> 'dir_no-access' 800s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'target-file' --> 'dir_no-write' 800s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file-symlink' --> '.' 800s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/normal_file-symlink: File exists 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file-symlink' --> 'target-file' 800s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 800s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 800s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 800s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'executable_file' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'executable_file' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'executable_file' --> '.' 800s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/executable_file?: File exists 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'executable_file' --> 'target-file' 800s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/target-file/executable_file?: Not a directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'executable_file' --> 'not_exists' 800s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'executable_file' --> 'dir_no-access' 800s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'executable_file' --> 'dir_no-write' 800s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'private_file' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'private_file' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'private_file' --> '.' 800s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/private_file?: File exists 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'private_file' --> 'target-file' 800s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/target-file/private_file?: Not a directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'private_file' --> 'not_exists' 800s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists/private_file?: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'private_file' --> 'dir_no-access' 800s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'private_file' --> 'dir_no-write' 800s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file2' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file2' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file2' --> '.' 800s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/normal_file2?: File exists 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file2' --> 'target-file' 800s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/target-file/normal_file2?: Not a directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file2' --> 'not_exists' 800s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file2' --> 'dir_no-access' 800s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'normal_file2' --> 'dir_no-write' 800s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 800s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 800s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 800s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 800s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 800s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'pattern_file' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'pattern_file' --> '.' 800s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/pattern_file?: File exists 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'pattern_file' --> 'target-file' 800s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/target-file/pattern_file?: Not a directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'pattern_file' --> 'not_exists' 800s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'pattern_file' --> 'dir_no-access' 800s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'pattern_file' --> 'dir_no-write' 800s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'not_exists' --> 'dir-target' 800s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists?: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'not_exists' --> '.' 800s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists?: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'not_exists' --> 'target-file' 800s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists?: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'not_exists' --> 'not_exists' 800s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists?: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'not_exists' --> 'dir_no-access' 800s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists?: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'not_exists' --> 'dir_no-write' 800s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists?: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'not_exists' --> 'dir-target' 800s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'lost_symlink' --> 'dir-target' 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'lost_symlink' --> '.' 800s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/lost_symlink: File exists 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'lost_symlink' --> 'target-file' 800s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/target-file/lost_symlink: Not a directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'lost_symlink' --> 'not_exists' 800s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 800s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 800s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 800s ok 8 /live-g-file/test_copy_move 800s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir1 800s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir1: Directory not empty 800s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir2 800s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir2: No such file or directory 800s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/executable_file 800s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/readonly_file 800s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_pr?i?lis? z 800s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists 800s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists: No such file or directory 800s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists 800s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/not_exists: No such file or directory 800s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-execute/file 800s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/dir_no-execute/file: No such file or directory 800s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-CPA5X2/testdir_live-g-file/lost_symlink 800s ok 9 /live-g-file/test_delete 800s # We do not have CAP_DAC_OVERRIDE or equivalent 800s ok 10 /live-g-file/test_make_directory_with_parents 800s # Cleaning target testing structure in 'testdir_live-g-file'... 800s # deleting 'dir1' 800s # deleting 'subdir' 800s # deleting 'dir-target' 800s # deleting 'dir2' 800s # deleting 'target-file' 800s # deleting 'normal_file-symlink' 800s # deleting 'pattern_file' 800s # deleting 'executable_file' 800s # deleting 'private_file' 800s # deleting 'normal_file2' 800s # deleting 'UTF_pr?i?lis? z' 800s # deleting 'lost_symlink' 800s # deleting 'dir_no-access' 800s # deleting 'dir_no-write' 800s # deleting 'target-file' 800s # deleting 'normal_file' 800s # deleting 'normal_file-symlink' 800s # deleting 'executable_file~' 800s # deleting 'private_file' 800s # deleting 'normal_file2~' 800s # deleting 'a' 800s # deleting 'UTF_pr?i?lis? z' 800s # deleting 'dir_hidden' 800s # deleting '.a-hidden-file' 800s # deleting 'file-in-.hidden1' 800s # deleting '.hidden' 800s # deleting 'file-in-.hidden2' 800s # deleting 'pattern_file' 800s # deleting 'normal_file2' 800s # deleting 'not_exists2' 800s # deleting 'not_exists3' 800s # deleting 'not_exists4' 800s ok 11 /live-g-file/final_clean 800s # Start of test_unix_is_mountpoint tests 800s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 800s ok 13 /live-g-file/test_unix_is_mountpoint/proc 800s # End of test_unix_is_mountpoint tests 800s # End of live-g-file tests 800s ok - glib/live-g-file.test 800s # Running test: glib/signal-handler.test 800s TAP version 14 800s # random seed: R02S0f616af49fab28d35339eec7bcc3edfb 800s 1..7 800s # Start of signal tests 800s # Start of handler tests 800s # min perf: connected 1 handlers in 0.000 seconds 800s ok 1 /signal/handler/connect-many 800s # min perf: disconnected 1 handlers in 0.000 seconds 800s ok 2 /signal/handler/disconnect-many-ordered 800s # min perf: disconnected 1 handlers in 0.000 seconds 800s ok 3 /signal/handler/disconnect-many-inverse 800s # min perf: disconnected 1 handlers in 0.000 seconds 800s ok 4 /signal/handler/disconnect-many-random 800s # min perf: disconnected 1 handlers in 0.000 seconds 800s ok 5 /signal/handler/disconnect-2-signals 800s # min perf: disconnected 1 handlers in 0.000 seconds 800s ok 6 /signal/handler/disconnect-2-objects 800s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 800s ok 7 /signal/handler/block-many 800s # End of handler tests 800s # End of signal tests 800s ok - glib/signal-handler.test 800s # Running test: glib/gdbus-proxy.test 800s TAP version 14 800s # random seed: R02S0d57167244f3beee8ffc6550f0e70afc 800s 1..5 800s # Start of gdbus tests 800s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/.dirs/home 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/.dirs/cache 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/.dirs/system-config2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/.dirs/config 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/.dirs/system-data2 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/.dirs/data 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/.dirs/state 800s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/.dirs/runtime 800s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 802s ok 1 /gdbus/proxy 802s # slow test /gdbus/proxy executed in 1.72 secs 802s # Start of proxy tests 802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-properties/.dirs/home 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-properties/.dirs/cache 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-properties/.dirs/system-config2 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-properties/.dirs/config 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-properties/.dirs/system-data2 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-properties/.dirs/data 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-properties/.dirs/state 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-properties/.dirs/runtime 802s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 802s ok 2 /gdbus/proxy/no-properties 802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/wellknown-noauto/.dirs/home 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/wellknown-noauto/.dirs/cache 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/wellknown-noauto/.dirs/config 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/wellknown-noauto/.dirs/data 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/wellknown-noauto/.dirs/state 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/wellknown-noauto/.dirs/runtime 802s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 802s ok 3 /gdbus/proxy/wellknown-noauto 802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/async/.dirs/home 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/async/.dirs/cache 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/async/.dirs/system-config2 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/async/.dirs/config 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/async/.dirs/system-data2 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/async/.dirs/data 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/async/.dirs/state 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/async/.dirs/runtime 802s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 802s # Executing: glib/gdbus-proxy.test 803s ok 4 /gdbus/proxy/async 803s # slow test /gdbus/proxy/async executed in 1.72 secs 803s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-match-rule/.dirs/home 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-match-rule/.dirs/cache 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-match-rule/.dirs/system-config2 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-match-rule/.dirs/config 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-match-rule/.dirs/system-data2 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-match-rule/.dirs/data 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-match-rule/.dirs/state 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_CQ52X2/gdbus/proxy/no-match-rule/.dirs/runtime 803s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 805s ok 5 /gdbus/proxy/no-match-rule 805s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 805s # End of proxy tests 805s # End of gdbus tests 805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 805s ok - glib/gdbus-proxy.test 805s # Running test: glib/portal-support-flatpak-network-only.test 805s TAP version 14 805s # random seed: R02S0194eedf4cfc534fefe41e7be75a35a7 805s 1..1 805s # Start of portal-support tests 805s # Start of flatpak tests 805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_GPLYX2/portal-support/flatpak/network/.dirs/home 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_GPLYX2/portal-support/flatpak/network/.dirs/cache 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_GPLYX2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_GPLYX2/portal-support/flatpak/network/.dirs/system-config2 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_GPLYX2/portal-support/flatpak/network/.dirs/config 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_GPLYX2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_GPLYX2/portal-support/flatpak/network/.dirs/system-data2 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_GPLYX2/portal-support/flatpak/network/.dirs/data 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_GPLYX2/portal-support/flatpak/network/.dirs/state 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_GPLYX2/portal-support/flatpak/network/.dirs/runtime 805s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_GPLYX2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 805s ok 1 /portal-support/flatpak/network 805s # End of flatpak tests 805s # End of portal-support tests 805s ok - glib/portal-support-flatpak-network-only.test 805s # Running test: glib/gdbus-connection-loss.test 805s TAP version 14 805s # random seed: R02S836423ef1b7cd3a2bf2e91b16d17d287 805s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 805s 1..1 805s # Start of gdbus tests 805s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_TPFYX2/gdbus/connection-loss/.dirs/home 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_TPFYX2/gdbus/connection-loss/.dirs/cache 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_TPFYX2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_TPFYX2/gdbus/connection-loss/.dirs/system-config2 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_TPFYX2/gdbus/connection-loss/.dirs/config 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_TPFYX2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_TPFYX2/gdbus/connection-loss/.dirs/system-data2 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_TPFYX2/gdbus/connection-loss/.dirs/data 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_TPFYX2/gdbus/connection-loss/.dirs/state 805s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_TPFYX2/gdbus/connection-loss/.dirs/runtime 805s ok 1 /gdbus/connection-loss 805s # End of gdbus tests 805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 805s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 805s ok - glib/gdbus-connection-loss.test 805s # Running test: glib/spawn-test.test 805s TAP version 14 805s # random seed: R02Sbb080b44ec33eee08c5b4eb259e5046c 805s 1..2 805s # Start of spawn tests 805s ok 1 /spawn/basics 805s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 805s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 805s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 805s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 805s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 805s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 805s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 805s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 805s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 805s # Fetching GSpawn result output with stdin open, stdout open, stderr open 805s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 805s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 805s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 805s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 805s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 805s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 805s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 805s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 805s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 805s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 805s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 805s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 805s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 805s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 805s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 805s # Fetching GSpawn result with stdin open, stdout open, stderr open 805s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 805s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 805s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 805s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 805s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 805s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 805s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 805s ok 2 /spawn/stdio-overwrite 805s # End of spawn tests 805s ok - glib/spawn-test.test 805s # Running test: glib/signals-refcount4.test 805s TAP version 14 805s # random seed: R02Sc6632bee07f35b871f952639812678cd 805s 1..1 805s # Start of gobject tests 805s # Start of refcount tests 805s # init 0xca0667045430 805s # 805s # init 0xca06670455d0 805s # 807s # Executing: glib/signals-refcount4.test 810s # dispose 0xca0667045430! 810s # 810s # dispose 0xca06670455d0! 810s # 810s ok 1 /gobject/refcount/signals 810s # slow test /gobject/refcount/signals executed in 5.00 secs 810s # End of refcount tests 810s # End of gobject tests 810s ok - glib/signals-refcount4.test 810s # Running test: glib/keyfile.test 810s TAP version 14 810s # random seed: R02S84c289b9957799cab8acc81dd03f8707 810s 1..36 810s # Start of keyfile tests 810s ok 1 /keyfile/line-ends 810s ok 2 /keyfile/whitespace 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 810s ok 3 /keyfile/comments 810s ok 4 /keyfile/listing 810s ok 5 /keyfile/string 810s ok 6 /keyfile/boolean 810s ok 7 /keyfile/number 810s ok 8 /keyfile/locale-string 810s ok 9 /keyfile/lists 810s ok 10 /keyfile/lists-set-get 810s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 810s ok 11 /keyfile/group-remove 810s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 810s ok 12 /keyfile/key-remove 810s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 810s ok 13 /keyfile/groups 810s ok 14 /keyfile/duplicate-keys 810s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 810s ok 15 /keyfile/duplicate-groups 810s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 810s ok 16 /keyfile/duplicate-groups2 810s ok 17 /keyfile/group-names 810s ok 18 /keyfile/key-names 810s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 810s ok 19 /keyfile/reload 810s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 810s ok 20 /keyfile/int64 810s ok 21 /keyfile/load 810s ok 22 /keyfile/save 810s ok 23 /keyfile/load-fail 810s ok 24 /keyfile/non-utf8 810s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 810s ok 25 /keyfile/page-boundary 810s ok 26 /keyfile/ref 810s ok 27 /keyfile/replace-value 810s ok 28 /keyfile/list-separator 810s ok 29 /keyfile/empty-string 810s ok 30 /keyfile/limbo 810s # Testing invalid encoding ?non-UTF-8? 810s # Testing invalid encoding ?UTF? 810s # Testing invalid encoding ?UTF-9? 810s ok 31 /keyfile/utf8 810s ok 32 /keyfile/roundtrip 810s ok 33 /keyfile/bytes 810s ok 34 /keyfile/get-locale 810s ok 35 /keyfile/free-when-not-last-ref 810s # Start of locale-string tests 810s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 810s ok 36 /keyfile/locale-string/multiple-loads 810s # End of locale-string tests 810s # End of keyfile tests 810s ok - glib/keyfile.test 810s # Running test: glib/repository-search-paths.test 810s TAP version 14 810s # random seed: R02S046f105c1eb1001adaa09f3421274b61 810s 1..4 810s # Start of repository tests 810s # Start of search-paths tests 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/default/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/default/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_68GVX2/repository/search-paths/default/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/default/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_68GVX2/repository/search-paths/default/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/default/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/default/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/default/.dirs/runtime 810s ok 1 /repository/search-paths/default 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/prepend/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/prepend/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_68GVX2/repository/search-paths/prepend/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/prepend/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_68GVX2/repository/search-paths/prepend/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/prepend/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/prepend/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_68GVX2/repository/search-paths/prepend/.dirs/runtime 810s ok 2 /repository/search-paths/prepend 810s # End of search-paths tests 810s # Start of library-paths tests 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/default/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/default/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_68GVX2/repository/library-paths/default/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/default/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_68GVX2/repository/library-paths/default/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/default/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/default/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/default/.dirs/runtime 810s ok 3 /repository/library-paths/default 810s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/prepend/.dirs/home 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/prepend/.dirs/cache 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_68GVX2/repository/library-paths/prepend/.dirs/system-config2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/prepend/.dirs/config 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_68GVX2/repository/library-paths/prepend/.dirs/system-data2 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/prepend/.dirs/data 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/prepend/.dirs/state 810s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_68GVX2/repository/library-paths/prepend/.dirs/runtime 810s ok 4 /repository/library-paths/prepend 810s # End of library-paths tests 810s # End of repository tests 810s ok - glib/repository-search-paths.test 810s # Running test: glib/unix.test 810s TAP version 14 810s # random seed: R02S0b02a77c28f5709cd5f33d03464f75a4 810s 1..20 810s # Start of glib-unix tests 810s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 810s ok 1 /glib-unix/closefrom 810s ok 2 /glib-unix/pipe 810s # /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 810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 810s ok 3 /glib-unix/pipe-stdio-overwrite 810s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 810s ok 4 /glib-unix/pipe-struct 810s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 810s ok 5 /glib-unix/pipe-struct-auto 810s ok 6 /glib-unix/error 810s ok 7 /glib-unix/nonblocking 811s ok 8 /glib-unix/sighup 811s # slow test /glib-unix/sighup executed in 0.50 secs 811s ok 9 /glib-unix/sigterm 811s # slow test /glib-unix/sigterm executed in 0.50 secs 812s ok 10 /glib-unix/sighup_again 812s # slow test /glib-unix/sighup_again executed in 0.50 secs 812s ok 11 /glib-unix/sighup_add_remove 812s ok 12 /glib-unix/sighup_nested 812s # Executing: glib/unix.test 814s ok 13 /glib-unix/callback_after_signal 814s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 814s ok 14 /glib-unix/child-wait 814s # Start of closefrom tests 814s # Start of subprocess tests 814s # End of subprocess tests 814s # End of closefrom tests 814s # Start of pipe tests 814s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 814s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 814s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 814s ok 15 /glib-unix/pipe/fd-cloexec 814s # End of pipe tests 814s # Start of sighup tests 815s ok 16 /glib-unix/sighup/alternate-stack 815s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 815s # End of sighup tests 815s # Start of sigterm tests 816s ok 17 /glib-unix/sigterm/alternate-stack 816s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 816s # End of sigterm tests 816s # Start of sighup_again tests 817s ok 18 /glib-unix/sighup_again/alternate-stack 817s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 817s # End of sighup_again tests 817s # Start of get-passwd-entry tests 817s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 817s ok 19 /glib-unix/get-passwd-entry/root 817s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 817s ok 20 /glib-unix/get-passwd-entry/nonexistent 817s # End of get-passwd-entry tests 817s # End of glib-unix tests 817s ok - glib/unix.test 817s # Running test: glib/threadtests.test 817s TAP version 14 817s # random seed: R02Sed38712b60b762197628e0584ba3122e 817s 1..5 817s # Start of GObject tests 817s ok 1 /GObject/threaded-object-init 817s # Executing: glib/threadtests.test 817s ok 2 /GObject/threaded-weak-ref 817s # slow test /GObject/threaded-weak-ref executed in 0.66 secs 817s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 817s # /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 818s ok 3 /GObject/threaded-toggle-notify 818s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 818s # Start of threaded-weak-ref tests 818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 818s # /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. 818s ok 5 /GObject/threaded-weak-ref/on-finalization 818s # End of threaded-weak-ref tests 818s # End of GObject tests 818s ok - glib/threadtests.test 818s # Running test: glib/tree.test 818s TAP version 14 818s # random seed: R02S1148b01319e5471bb20af08bf98d7dde 818s 1..7 818s # Start of tree tests 818s ok 1 /tree/search 818s ok 2 /tree/remove 818s ok 3 /tree/destroy 818s ok 4 /tree/traverse 818s ok 5 /tree/insert 818s ok 6 /tree/bounds 818s ok 7 /tree/remove-all 818s # End of tree tests 818s ok - glib/tree.test 818s # Running test: glib/init.test 818s TAP version 14 818s # random seed: R02S96b55ca427b24142e0b04cecab37da36 818s 1..2 818s # Start of thread tests 818s # Start of deprecated tests 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_0PJ5X2/thread/deprecated/init/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_0PJ5X2/thread/deprecated/init/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_0PJ5X2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_0PJ5X2/thread/deprecated/init/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_0PJ5X2/thread/deprecated/init/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_0PJ5X2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_0PJ5X2/thread/deprecated/init/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_0PJ5X2/thread/deprecated/init/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_0PJ5X2/thread/deprecated/init/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_0PJ5X2/thread/deprecated/init/.dirs/runtime 818s ok 1 /thread/deprecated/init 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_0PJ5X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_0PJ5X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_0PJ5X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_0PJ5X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_0PJ5X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_0PJ5X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_0PJ5X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_0PJ5X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_0PJ5X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_0PJ5X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 818s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 818s # End of deprecated tests 818s # End of thread tests 818s ok - glib/init.test 818s # Running test: glib/trash.test 818s TAP version 14 818s # random seed: R02S3f604ebbae6b8d70458fd54d5795af9c 818s 1..3 818s # Start of trash tests 818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 818s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 818s # File: /tmp/test-trashSDF5X2 (parent st_dev: 64769) 818s # Home: /home/ubuntu (st_dev: 64769) 818s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 818s # Target: /home/ubuntu/.local (mount: /) 818s # Tmp: /tmp/test-trashD6F5X2 (mount: /) 818s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 818s ok 3 /trash/long-filename 818s # End of trash tests 818s ok - glib/trash.test 818s # Running test: glib/cxx-14.test 818s TAP version 14 818s # random seed: R02S4158b450e45c16051ddbc7f4ed91a70e 818s 1..2 818s # Start of gtask tests 818s # 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. 818s ok 1 /gtask/name 818s # Start of name tests 818s # 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. 818s ok 2 /gtask/name/macro-wrapper 818s # End of name tests 818s # End of gtask tests 818s ok - glib/cxx-14.test 818s # Running test: glib/dbus-appinfo.test 818s TAP version 14 818s # random seed: R02S568f8ea971df8159257dcd574c27d943 818s 1..3 818s # Start of appinfo tests 818s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 818s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 818s ok 1 /appinfo/dbusappinfo 818s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 818s dbus-daemon[8667]: [session uid=1000 pid=8667] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=8666 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 818s # Acquired a message bus connection 818s dbus-daemon[8667]: [session uid=1000 pid=8667] Successfully activated service 'org.freedesktop.portal.Documents' 818s # Acquired the name org.freedesktop.portal.Documents 818s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 818s ok 2 /appinfo/flatpak-doc-export 818s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 818s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 818s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 818s ok 3 /appinfo/flatpak-missing-doc-export 818s # End of appinfo tests 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 818s # Lost the name org.freedesktop.portal.Documents 818s ok - glib/dbus-appinfo.test 818s # Running test: glib/asyncqueue.test 818s TAP version 14 818s # random seed: R02S4c89002f877edf27aa6b1669e17b4931 818s 1..7 818s # Start of asyncqueue tests 818s ok 1 /asyncqueue/basics 818s ok 2 /asyncqueue/sort 818s ok 3 /asyncqueue/destroy 818s ok 4 /asyncqueue/threads 818s ok 5 /asyncqueue/timed 818s ok 6 /asyncqueue/remove 818s ok 7 /asyncqueue/push_front 818s # End of asyncqueue tests 818s ok - glib/asyncqueue.test 818s # Running test: glib/struct-info.test 818s TAP version 14 818s # random seed: R02S4ba0e0a9a0ad3caa1c4c71dff7e55528 818s 1..4 818s # Start of struct-info tests 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_MAPVX2/struct-info/field-iterators/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_MAPVX2/struct-info/field-iterators/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_MAPVX2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_MAPVX2/struct-info/field-iterators/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_MAPVX2/struct-info/field-iterators/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_MAPVX2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_MAPVX2/struct-info/field-iterators/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_MAPVX2/struct-info/field-iterators/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_MAPVX2/struct-info/field-iterators/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_MAPVX2/struct-info/field-iterators/.dirs/runtime 818s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 818s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 818s ok 1 /struct-info/field-iterators 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_MAPVX2/struct-info/sizeof-gvalue/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_MAPVX2/struct-info/sizeof-gvalue/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_MAPVX2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_MAPVX2/struct-info/sizeof-gvalue/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_MAPVX2/struct-info/sizeof-gvalue/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_MAPVX2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_MAPVX2/struct-info/sizeof-gvalue/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_MAPVX2/struct-info/sizeof-gvalue/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_MAPVX2/struct-info/sizeof-gvalue/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_MAPVX2/struct-info/sizeof-gvalue/.dirs/runtime 818s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 818s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 818s ok 2 /struct-info/sizeof-gvalue 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_MAPVX2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_MAPVX2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_MAPVX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_MAPVX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_MAPVX2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_MAPVX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_MAPVX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_MAPVX2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_MAPVX2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_MAPVX2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 818s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 818s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 818s ok 3 /struct-info/is-pointer-for-struct-method-arg 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_MAPVX2/struct-info/boxed/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_MAPVX2/struct-info/boxed/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_MAPVX2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_MAPVX2/struct-info/boxed/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_MAPVX2/struct-info/boxed/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_MAPVX2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_MAPVX2/struct-info/boxed/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_MAPVX2/struct-info/boxed/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_MAPVX2/struct-info/boxed/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_MAPVX2/struct-info/boxed/.dirs/runtime 818s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 818s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 818s ok 4 /struct-info/boxed 818s # End of struct-info tests 818s ok - glib/struct-info.test 818s # Running test: glib/bitlock.test 818s TAP version 14 818s # random seed: R02Se7264d5166c418224d3465d744117e10 818s 1..1 818s # Start of bitlock tests 818s # Start of performance tests 818s # max perf: iterations per second 818s ok 1 /bitlock/performance/uncontended 818s # End of performance tests 818s # End of bitlock tests 818s ok - glib/bitlock.test 818s # Running test: glib/portal-support-env-var.test 818s TAP version 14 818s # random seed: R02S72c0128b137cb47eae00f9b98eeb2eae 818s 1..1 818s # Start of portal-support tests 818s ok 1 /portal-support/env-var 818s # End of portal-support tests 818s ok - glib/portal-support-env-var.test 818s # Running test: glib/logging.test 818s TAP version 14 818s # random seed: R02S9492a9282e12b9b86694b479b19c1d6e 818s 1..17 818s # Start of logging tests 819s ok 1 /logging/default-handler 819s # slow test /logging/default-handler executed in 0.79 secs 819s ok 2 /logging/warnings 819s ok 3 /logging/fatal-log-mask 819s # bu-DEBUG: message 819s # ba-DEBUG: message 819s # ba-INFO: message 819s ok 4 /logging/set-handler 819s ok 5 /logging/print-handler 819s ok 6 /logging/printerr-handler 819s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 819s # The Log Message Handler 819s # 819s # The Good Fail Message Handler 819s # 819s ok 7 /logging/653052 819s ok 8 /logging/gibberish 819s # Start of default-handler tests 819s # Start of subprocess tests 819s # End of subprocess tests 819s # End of default-handler tests 819s # End of logging tests 819s # Start of structured-logging tests 819s ok 9 /structured-logging/no-state 819s ok 10 /structured-logging/some-state 819s ok 11 /structured-logging/robustness 819s ok 12 /structured-logging/roundtrip1 819s ok 13 /structured-logging/roundtrip2 819s ok 14 /structured-logging/roundtrip3 819s ok 15 /structured-logging/variant1 819s ok 16 /structured-logging/variant2 819s ok 17 /structured-logging/set-writer-func-twice 819s # End of structured-logging tests 819s ok - glib/logging.test 819s # Running test: glib/refstring.test 819s TAP version 14 819s # random seed: R02S729ba5f8af950c34bd2de1209e32dc6e 819s 1..6 819s # Start of refstring tests 819s # s = 'hello, world' (0xbf8a587383b0) 819s ok 1 /refstring/base 819s ok 2 /refstring/length 819s ok 3 /refstring/length-auto 819s ok 4 /refstring/length-nuls 819s # s = 'hello, world' (0xbf8a58738300) 819s # p = s = 'hello, world' (0xbf8a58738300) 819s # releasing p[0xbf8a58738300] ('hello, world') 819s # p = 'goodbye, world' (0xbf8a587383b0) 819s # releasing p[0xbf8a587383b0] ('goodbye, world') 819s # releasing s[0xbf8a58738300] ('hello, world') 819s ok 5 /refstring/intern 820s ok 6 /refstring/intern-thread-safety 820s # slow test /refstring/intern-thread-safety executed in 0.77 secs 820s # End of refstring tests 820s ok - glib/refstring.test 820s # Running test: glib/static-link.test 820s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 820s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 820s and make sure you have glib build dependencies installed, including 820s meson. 820s ok # SKIP - glib/static-link.test 820s # Running test: glib/binding.test 820s TAP version 14 820s # random seed: R02S9e30fcca1efde7ea76e544b8656fb13b 820s 1..19 820s # Start of binding tests 820s ok 1 /binding/default 820s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 820s ok 2 /binding/canonicalisation 820s ok 3 /binding/bidirectional 820s ok 4 /binding/transform 820s ok 5 /binding/transform-default 820s ok 6 /binding/transform-closure 820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 820s ok 7 /binding/chain 820s ok 8 /binding/sync-create 820s ok 9 /binding/invert-boolean 820s ok 10 /binding/same-object 820s ok 11 /binding/unbind 820s ok 12 /binding/unbind-weak 820s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 820s ok 13 /binding/unbind-multiple 820s ok 14 /binding/fail 820s ok 15 /binding/interface 820s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 820s ok 16 /binding/concurrent-unbind 820s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 820s ok 17 /binding/concurrent-finalizing 820s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 820s ok 18 /binding/dispose-source 820s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 820s ok 19 /binding/dispose-target 820s # End of binding tests 820s ok - glib/binding.test 820s # Running test: glib/custom-dispatch.test 820s TAP version 14 820s # random seed: R02S5d169f4e82cf1864c496d70da0302447 820s 1..2 820s # Start of properties tests 820s # Start of custom-dispatch tests 820s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 820s ok 1 /properties/custom-dispatch/init 820s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 820s ok 2 /properties/custom-dispatch/set 820s # End of custom-dispatch tests 820s # End of properties tests 820s ok - glib/custom-dispatch.test 820s # Running test: glib/include.test 820s TAP version 14 820s # random seed: R02Sab2dd50b69d10a9f3b384155b08d20a4 820s 1..1 820s # Start of include tests 820s ok 1 /include/rwlock 820s # End of include tests 820s ok - glib/include.test 820s # Running test: glib/uri.test 820s TAP version 14 820s # random seed: R02S228028d1d03838c72432643519c9e739 820s 1..24 820s # Start of uri tests 820s ok 1 /uri/file-to-uri 820s ok 2 /uri/file-from-uri 820s ok 3 /uri/file-roundtrip 820s ok 4 /uri/list 820s # Test 0: %2Babc %4F 820s # Test 1: %2Babc %4F 820s # Test 2: %00abc %4F 820s # Test 3: /cursors/none.png 820s # Test 4: /cursors%2fbad-subdir/none.png 820s # Test 5: %0 820s # Test 6: %ra 820s # Test 7: %2r 820s # Test 8: Timm B?der 820s # Test 9: (null) 820s ok 5 /uri/unescape-string 820s ok 6 /uri/unescape-segment 820s # Test 0: abcdefgABCDEFG._~ 820s # Test 1: :+ \\?# 820s # Test 2: a+b:c 820s # Test 3: a+b:c\303\234 820s # Test 4: \374;\322 820s # Test 5: \303\261\303( 820s ok 7 /uri/escape-string 820s ok 8 /uri/escape-bytes 820s ok 9 /uri/scheme 820s ok 10 /uri/build 820s ok 11 /uri/split 820s ok 12 /uri/is_valid 820s ok 13 /uri/to-string 820s ok 14 /uri/join 820s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 820s # Combination 0 820s # Combination 1 820s # Combination 2 820s # Combination 3 820s # Combination 4 820s # Combination 5 820s # Combination 6 820s # Combination 7 820s # Combination 8 820s # Combination 9 820s # Combination 10 820s # Combination 11 820s # Combination 12 820s # Combination 13 820s # Combination 14 820s # Combination 15 820s # Combination 16 820s # Combination 17 820s # Combination 18 820s # Combination 19 820s # Combination 20 820s # Combination 21 820s # Combination 22 820s # Combination 23 820s # Combination 24 820s # Combination 25 820s # Combination 26 820s # Combination 27 820s # Combination 28 820s # Combination 29 820s # Combination 30 820s # Combination 31 820s # Combination 32 820s # Combination 33 820s # Combination 34 820s # Combination 35 820s # Combination 36 820s # Combination 37 820s # Combination 38 820s # Combination 39 820s # Combination 40 820s # Combination 41 820s # Combination 42 820s # Combination 43 820s # Combination 44 820s # Combination 45 820s # Combination 46 820s # Combination 47 820s # Combination 48 820s # Combination 49 820s # Combination 50 820s # Combination 51 820s # Combination 52 820s # Combination 53 820s # Combination 54 820s # Combination 55 820s # Combination 56 820s # Combination 57 820s # Combination 58 820s # Combination 59 820s # Combination 60 820s # Combination 61 820s # Combination 62 820s # Combination 63 820s # Combination 64 820s # Combination 65 820s # Combination 66 820s # Combination 67 820s # Combination 68 820s # Combination 69 820s # Combination 70 820s # Combination 71 820s # Combination 72 820s # Combination 73 820s # Combination 74 820s # Combination 75 820s # Combination 76 820s # Combination 77 820s # Combination 78 820s # Combination 79 820s # Combination 80 820s # Combination 81 820s # Combination 82 820s # Combination 83 820s # Combination 84 820s # Combination 85 820s # Combination 86 820s # Combination 87 820s # Combination 88 820s # Combination 89 820s # Combination 90 820s # Combination 91 820s # Combination 92 820s # Combination 93 820s # Combination 94 820s # Combination 95 820s # Combination 96 820s # Combination 97 820s # Combination 98 820s # Combination 99 820s # Combination 100 820s # Combination 101 820s # Combination 102 820s # Combination 103 820s # Combination 104 820s # Combination 105 820s # Combination 106 820s # Combination 107 820s # Combination 108 820s # Combination 109 820s # Combination 110 820s # Combination 111 820s # Combination 112 820s # Combination 113 820s # Combination 114 820s # Combination 115 820s # Combination 116 820s # Combination 117 820s # Combination 118 820s # Combination 119 820s # Combination 120 820s # Combination 121 820s # Combination 122 820s # Combination 123 820s # Combination 124 820s # Combination 125 820s # Combination 126 820s # Combination 127 820s # Combination 128 820s # Combination 129 820s # Combination 130 820s # Combination 131 820s # Combination 132 820s # Combination 133 820s # Combination 134 820s # Combination 135 820s # Combination 136 820s # Combination 137 820s # Combination 138 820s # Combination 139 820s # Combination 140 820s # Combination 141 820s # Combination 142 820s # Combination 143 820s # Combination 144 820s # Combination 145 820s # Combination 146 820s # Combination 147 820s # Combination 148 820s # Combination 149 820s # Combination 150 820s # Combination 151 820s # Combination 152 820s # Combination 153 820s # Combination 154 820s # Combination 155 820s # Combination 156 820s # Combination 157 820s # Combination 158 820s # Combination 159 820s # Combination 160 820s # Combination 161 820s # Combination 162 820s # Combination 163 820s # Combination 164 820s # Combination 165 820s # Combination 166 820s # Combination 167 820s # Combination 168 820s # Combination 169 820s # Combination 170 820s # Combination 171 820s # Combination 172 820s # Combination 173 820s # Combination 174 820s # Combination 175 820s # Combination 176 820s # Combination 177 820s # Combination 178 820s # Combination 179 820s # Combination 180 820s # Combination 181 820s # Combination 182 820s # Combination 183 820s # Combination 184 820s # Combination 185 820s # Combination 186 820s # Combination 187 820s # Combination 188 820s # Combination 189 820s # Combination 190 820s # Combination 191 820s # Combination 192 820s # Combination 193 820s # Combination 194 820s # Combination 195 820s # Combination 196 820s # Combination 197 820s # Combination 198 820s # Combination 199 820s # Combination 200 820s # Combination 201 820s # Combination 202 820s # Combination 203 820s # Combination 204 820s # Combination 205 820s # Combination 206 820s # Combination 207 820s # Combination 208 820s # Combination 209 820s # Combination 210 820s # Combination 211 820s # Combination 212 820s # Combination 213 820s # Combination 214 820s # Combination 215 820s # Combination 216 820s # Combination 217 820s # Combination 218 820s # Combination 219 820s # Combination 220 820s # Combination 221 820s # Combination 222 820s # Combination 223 820s # Combination 224 820s # Combination 225 820s # Combination 226 820s # Combination 227 820s # Combination 228 820s # Combination 229 820s # Combination 230 820s # Combination 231 820s # Combination 232 820s # Combination 233 820s # Combination 234 820s # Combination 235 820s # Combination 236 820s # Combination 237 820s # Combination 238 820s # Combination 239 820s # Combination 240 820s # Combination 241 820s # Combination 242 820s # Combination 243 820s # Combination 244 820s # Combination 245 820s # Combination 246 820s # Combination 247 820s # Combination 248 820s # Combination 249 820s # Combination 250 820s # Combination 251 820s # Combination 252 820s # Combination 253 820s # Combination 254 820s # Combination 255 820s ok 15 /uri/join-split-round-trip 820s ok 16 /uri/normalize 820s # Start of unescape-bytes tests 820s # Test 0: %00%00 820s # Test 1: /cursors/none.png 820s # Test 2: /cursors%2fbad-subdir/none.png 820s # Test 3: %% 820s # Test 4: % 820s ok 17 /uri/unescape-bytes/nul-terminated 820s # Test 0: %00%00 820s # Test 1: /cursors/none.png 820s # Test 2: /cursors%2fbad-subdir/none.png 820s # Test 3: %% 820s # Test 4: % 820s ok 18 /uri/unescape-bytes/length 820s # End of unescape-bytes tests 820s # Start of parsing tests 820s # Test 0: foo: 820s # Test 1: file:/dev/null 820s # Test 2: file:///dev/null 820s # Test 3: ftp://user@host/path 820s # Test 4: ftp://user@host:9999/path 820s # Test 5: ftp://user:password@host/path 820s # Test 6: ftp://user:password@host:9999/path 820s # Test 7: ftp://user:password@host 820s # Test 8: http://us%65r@host 820s # Test 9: http://us%40r@host 820s # Test 10: http://us%3ar@host 820s # Test 11: http://us%2fr@host 820s # Test 12: http://us%3fr@host 820s # Test 13: http://host?query 820s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 820s # 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 820s # Test 16: http://space/%20 820s # Test 17: http://delims/%3C%3E%23%25%22 820s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 820s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 820s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 820s # Test 21: http://[3ffe:2a00:100:7031::1] 820s # Test 22: http://[1080::8:800:200C:417A]/foo 820s # Test 23: http://[::192.9.5.5]/ipng 820s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 820s # Test 25: http://[2010:836B:4179::836B:4179] 820s # Test 26: http://host/path with spaces 820s # Test 27: http://host/path 820s # Test 28: http://host/path 820s # Test 29: http://host 820s # Test 30: http://host:999 820s # Test 31: http://host/pa 820s # th 820s # Test 32: http: 820s # //host/path 820s # Test 33: http:// host/path 820s # Test 34: http://host/path? 820s # Test 35: http://host/path# 820s # Test 36: http://host/path% 820s # Test 37: http://h%ost/path 820s # Test 38: http://host/path%% 820s # Test 39: http://host/path%%% 820s # Test 40: http://host/path%/x/ 820s # Test 41: http://host/path%0x/ 820s # Test 42: http://host/path%ax 820s # Test 43: http://host/p?th/ 820s # Test 44: HTTP://////////////// 820s # Test 45: http://@host 820s # Test 46: http://:@host 820s # Test 47: scheme://foo%3Abar._webdav._tcp.local 820s # Test 48: http://example.com/.. 820s # Test 49: foo0://host/path 820s # Test 50: f0.o://host/path 820s # Test 51: http++://host/path 820s # Test 52: http-ish://host/path 820s # Test 53: http://[fe80::dead:beef%]/ 820s # Test 54: http://[fe80::dead:beef%em1]/ 820s # Test 55: http://[fe80::dead:beef%em1]/ 820s # Test 56: http://[fe80::dead:beef%25em1]/ 820s # Test 57: http://[fe80::dead:beef%25em1%20]/ 820s # Test 58: http://[fe80::dead:beef%25em%31]/ 820s # Test 59: http://[fe80::dead:beef%10]/ 820s # Test 60: http://[fe80::dead:beef%10]/ 820s # Test 61: http://[fe80::dead:beef%25]/ 820s # Test 62: http://[fe80::dead:beef%25]/ 820s # Test 63: http://[192.168.0.1%25em1]/ 820s # Test 64: http://[fe80::dead:beef%2em1]/ 820s # Test 65: http://[fe80::dead:beef%2em1]/ 820s # Test 66: http://[fe80::dead:beef%25em1%00]/ 820s # Test 67: http://[fe80::dead:beef%25em1%00]/ 820s # Test 68: http://xn--mixed-?p/ 820s ok 19 /uri/parsing/absolute 820s ok 20 /uri/parsing/relative 820s # End of parsing tests 820s # Start of iter-params tests 820s # URI 0: p1=foo&p2=bar;p3=baz 820s # URI 1: p1=foo&p2=bar 820s # URI 2: p1=foo&&P1=bar 820s # URI 3: %00=foo 820s # URI 4: p1=%00 820s # URI 5: p1=foo&p1=bar 820s # URI 6: p1=foo&P1=bar 820s # URI 7: =% 820s # URI 8: = 820s # URI 9: foo 820s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 820s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 820s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 820s ok 21 /uri/iter-params/nul-terminated 820s # URI 0: p1=foo&p2=bar;p3=baz 820s # URI 1: p1=foo&p2=bar 820s # URI 2: p1=foo&&P1=bar 820s # URI 3: %00=foo 820s # URI 4: p1=%00 820s # URI 5: p1=foo&p1=bar 820s # URI 6: p1=foo&P1=bar 820s # URI 7: =% 820s # URI 8: = 820s # URI 9: foo 820s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 820s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 820s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 820s ok 22 /uri/iter-params/length 820s # End of iter-params tests 820s # Start of parse-params tests 820s # URI 0: p1=foo&p2=bar;p3=baz 820s # URI 1: p1=foo&p2=bar 820s # URI 2: p1=foo&&P1=bar 820s # URI 3: %00=foo 820s # URI 4: p1=%00 820s # URI 5: p1=foo&p1=bar 820s # URI 6: p1=foo&P1=bar 820s # URI 7: =% 820s # URI 8: = 820s # URI 9: foo 820s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 820s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 820s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 820s ok 23 /uri/parse-params/nul-terminated 820s # URI 0: p1=foo&p2=bar;p3=baz 820s # URI 1: p1=foo&p2=bar 820s # URI 2: p1=foo&&P1=bar 820s # URI 3: %00=foo 820s # URI 4: p1=%00 820s # URI 5: p1=foo&p1=bar 820s # URI 6: p1=foo&P1=bar 820s # URI 7: =% 820s # URI 8: = 820s # URI 9: foo 820s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 820s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 820s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 820s ok 24 /uri/parse-params/length 820s # End of parse-params tests 820s # End of uri tests 820s ok - glib/uri.test 820s # Running test: glib/file-thumbnail.test 820s TAP version 14 820s # random seed: R02Sce7a5084699834318f62df4b20723737 820s 1..7 820s # Start of file-thumbnail tests 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/fail/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/fail/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/fail/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/fail/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/fail/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/fail/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/fail/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/fail/.dirs/runtime 820s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 820s # Created test thumbnail at /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 820s ok 1 /file-thumbnail/fail 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/runtime 820s # Created test thumbnail at /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 820s # Created test thumbnail at /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 820s # Created test thumbnail at /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 820s # Created test thumbnail at /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 820s # Created test thumbnail at /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 820s ok 2 /file-thumbnail/size-priority 820s # Start of valid tests 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/normal/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/normal/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/normal/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/normal/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/normal/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/normal/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/normal/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/normal/.dirs/runtime 820s # Created test thumbnail at /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 820s ok 3 /file-thumbnail/valid/normal 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/large/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/large/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/large/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/large/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/large/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/large/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/large/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/large/.dirs/runtime 820s # Created test thumbnail at /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 820s ok 4 /file-thumbnail/valid/large 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/x-large/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/x-large/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/x-large/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/x-large/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/x-large/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/x-large/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/x-large/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/x-large/.dirs/runtime 820s # Created test thumbnail at /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 820s ok 5 /file-thumbnail/valid/x-large 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/xx-large/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/xx-large/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/xx-large/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/xx-large/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/xx-large/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/xx-large/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/xx-large/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/xx-large/.dirs/runtime 820s # Created test thumbnail at /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 820s ok 6 /file-thumbnail/valid/xx-large 820s # End of valid tests 820s # Start of unknown tests 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/unknown/super-large/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/unknown/super-large/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/unknown/super-large/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/unknown/super-large/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_BQ31X2/file-thumbnail/unknown/super-large/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/unknown/super-large/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/unknown/super-large/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/unknown/super-large/.dirs/runtime 820s # Created test thumbnail at /tmp/test_file-thumbnail_BQ31X2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 820s ok 7 /file-thumbnail/unknown/super-large 820s # End of unknown tests 820s # End of file-thumbnail tests 820s ok - glib/file-thumbnail.test 820s # Running test: glib/gdbus-test-codegen-old.test 820s TAP version 14 820s # random seed: R02S698af2570cbddc3f072e2170eb94fdb8 820s 1..8 820s # Start of gdbus tests 820s # Start of codegen tests 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/annotations/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/annotations/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/annotations/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/annotations/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/annotations/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/annotations/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/annotations/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/annotations/.dirs/runtime 820s ok 1 /gdbus/codegen/annotations 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/interface_stability/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/interface_stability/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/interface_stability/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/interface_stability/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/interface_stability/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/interface_stability/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/interface_stability/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/interface_stability/.dirs/runtime 820s ok 2 /gdbus/codegen/interface_stability 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/object-manager/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/object-manager/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/object-manager/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/object-manager/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/object-manager/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/object-manager/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/object-manager/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/object-manager/.dirs/runtime 820s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 820s ok 3 /gdbus/codegen/object-manager 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/property-naming/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/property-naming/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/property-naming/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/property-naming/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/property-naming/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/property-naming/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/property-naming/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/property-naming/.dirs/runtime 820s ok 4 /gdbus/codegen/property-naming 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/autocleanups/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/autocleanups/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/autocleanups/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/autocleanups/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/autocleanups/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/autocleanups/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/autocleanups/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/autocleanups/.dirs/runtime 820s ok 5 /gdbus/codegen/autocleanups 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/deprecations/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/deprecations/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/deprecations/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/deprecations/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/deprecations/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/deprecations/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/deprecations/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/deprecations/.dirs/runtime 820s ok 6 /gdbus/codegen/deprecations 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/standalone-interface-info/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/standalone-interface-info/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/standalone-interface-info/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/standalone-interface-info/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/standalone-interface-info/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/standalone-interface-info/.dirs/runtime 820s ok 7 /gdbus/codegen/standalone-interface-info 820s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/unix-fd-list/.dirs/home 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/unix-fd-list/.dirs/cache 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/unix-fd-list/.dirs/system-config2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/unix-fd-list/.dirs/config 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/unix-fd-list/.dirs/system-data2 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/unix-fd-list/.dirs/data 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/unix-fd-list/.dirs/state 820s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_6BH2X2/gdbus/codegen/unix-fd-list/.dirs/runtime 820s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 820s ok 8 /gdbus/codegen/unix-fd-list 820s # End of codegen tests 820s # End of gdbus tests 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 820s ok - glib/gdbus-test-codegen-old.test 820s # Running test: glib/collate.test 820s TAP version 14 820s # random seed: R02Sa04a139f478f71dc6581db3867a9ed5b 820s 1..9 820s # Start of unicode tests 820s # Start of collate tests 820s ok 1 /unicode/collate/0 820s ok 2 /unicode/collate/1 820s ok 3 /unicode/collate/2 820s # End of collate tests 820s # Start of collate-key tests 820s ok 4 /unicode/collate-key/0 820s ok 5 /unicode/collate-key/1 820s ok 6 /unicode/collate-key/2 820s # End of collate-key tests 820s # Start of collate-filename tests 820s ok 7 /unicode/collate-filename/0 820s ok 8 /unicode/collate-filename/1 820s ok 9 /unicode/collate-filename/2 820s # End of collate-filename tests 820s # End of unicode tests 820s ok - glib/collate.test 820s # Running test: glib/performance.test 820s Running test simple-construction 822s # Executing: glib/performance.test 827s # Executing: glib/performance.test 828s simple-construction: Millions of constructed objects per second: 14.393 828s Running test simple-construction1 831s simple-construction1: Millions of constructed objects per second: 69.228 831s Running test complex-construction 832s # Executing: glib/performance.test 834s complex-construction: Millions of constructed objects per second: 5.333 834s Running test complex-construction1 837s # Executing: glib/performance.test 838s complex-construction1: Millions of constructed objects per second: 9.139 838s Running test complex-construction2 842s # Executing: glib/performance.test 843s complex-construction2: Millions of constructed objects per second: 11.418 843s Running test finalization 845s finalization: Millions of finalized objects per second: 2.948 845s Running test type-check 845s type-check: Million type checks per second: inf 845s Running test emit-unhandled 846s emit-unhandled: Emissions per second: 4667917 846s Running test emit-unhandled-empty 847s emit-unhandled-empty: Emissions per second: 26129044 847s Running test emit-unhandled-generic 847s # Executing: glib/performance.test 848s emit-unhandled-generic: Emissions per second: 5895086 848s Running test emit-unhandled-generic-empty 849s emit-unhandled-generic-empty: Emissions per second: 26138792 849s Running test emit-unhandled-args 850s emit-unhandled-args: Emissions per second: 4044071 850s Running test emit-handled 851s emit-handled: Emissions per second: 3178267 851s Running test emit-handled-empty 852s # Executing: glib/performance.test 852s emit-handled-empty: Emissions per second: 3358833 852s Running test emit-handled-generic 853s emit-handled-generic: Emissions per second: 3309238 853s Running test emit-handled-generic-empty 854s emit-handled-generic-empty: Emissions per second: 5305121 854s Running test emit-handled-args 855s emit-handled-args: Emissions per second: 2934219 855s Running test notify-unhandled 856s notify-unhandled: Notify (unhandled) per second: 26795885 856s Running test notify-by-pspec-unhandled 857s # Executing: glib/performance.test 857s notify-by-pspec-unhandled: Notify (unhandled) per second: 96189821 857s Running test notify-handled 858s notify-handled: Notify per second: 1944542 858s Running test notify-by-pspec-handled 859s notify-by-pspec-handled: Notify per second: 2071992 859s Running test property-set 860s property-set: Property set per second: 13640111 860s Running test property-get 861s property-get: Property get per second: 13566881 861s Running test refcount 862s # Executing: glib/performance.test 862s refcount: Million refs+unref per second: 27.48 862s Running test refcount-1 863s refcount-1: Million refs+unref per second: 83.10 863s Running test refcount-toggle 864s refcount-toggle: Million refs+unref per second: 43.00 864s ok - glib/performance.test 864s # Running test: glib/portal-support-snap.test 864s TAP version 14 864s # random seed: R02S56a9b9202fd0543c906c0e56356fa5fb 864s 1..7 864s # Start of portal-support tests 864s # Start of snap tests 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/no-snapctl/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/no-snapctl/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/no-snapctl/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/no-snapctl/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/no-snapctl/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/no-snapctl/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/no-snapctl/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/no-snapctl/.dirs/runtime 864s # Created snap.yaml in /tmp/test_portal-support-snap_F4YNX2/meta/snap.yaml 864s Unable to clean up temporary directory /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/no-snapctl: No such file or directory 864s ok 1 /portal-support/snap/no-snapctl 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/none/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/none/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/none/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/none/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/none/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/none/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/none/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/none/.dirs/runtime 864s # Created snap.yaml in /tmp/test_portal-support-snap_F4YNX2/meta/snap.yaml 864s # Created snapctl in /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/none/.dirs/runtime/snapctl 864s Unable to clean up temporary directory /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/none: No such file or directory 864s ok 2 /portal-support/snap/none 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/all/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/all/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/all/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/all/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/all/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/all/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/all/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/all/.dirs/runtime 864s # Created snap.yaml in /tmp/test_portal-support-snap_F4YNX2/meta/snap.yaml 864s # Created snapctl in /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/all/.dirs/runtime/snapctl 865s Unable to clean up temporary directory /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/all: No such file or directory 865s ok 3 /portal-support/snap/all 865s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/desktop-only/.dirs/home 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/desktop-only/.dirs/cache 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/desktop-only/.dirs/system-config2 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/desktop-only/.dirs/config 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/desktop-only/.dirs/system-data2 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/desktop-only/.dirs/data 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/desktop-only/.dirs/state 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/desktop-only/.dirs/runtime 865s # Created snap.yaml in /tmp/test_portal-support-snap_F4YNX2/meta/snap.yaml 865s # Created snapctl in /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 865s Unable to clean up temporary directory /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/desktop-only: No such file or directory 865s ok 4 /portal-support/snap/desktop-only 865s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/network-only/.dirs/home 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/network-only/.dirs/cache 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/network-only/.dirs/system-config2 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/network-only/.dirs/config 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/network-only/.dirs/system-data2 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/network-only/.dirs/data 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/network-only/.dirs/state 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/network-only/.dirs/runtime 865s # Created snap.yaml in /tmp/test_portal-support-snap_F4YNX2/meta/snap.yaml 865s # Created snapctl in /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/network-only/.dirs/runtime/snapctl 865s Unable to clean up temporary directory /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/network-only: No such file or directory 865s ok 5 /portal-support/snap/network-only 865s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/gsettings-only/.dirs/home 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/gsettings-only/.dirs/cache 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/gsettings-only/.dirs/system-config2 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/gsettings-only/.dirs/config 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/gsettings-only/.dirs/system-data2 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/gsettings-only/.dirs/data 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/gsettings-only/.dirs/state 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/gsettings-only/.dirs/runtime 865s # Created snap.yaml in /tmp/test_portal-support-snap_F4YNX2/meta/snap.yaml 865s # Created snapctl in /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 865s Unable to clean up temporary directory /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/gsettings-only: No such file or directory 865s ok 6 /portal-support/snap/gsettings-only 865s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/home 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/cache 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/system-config2 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/config 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/system-data2 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/data 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/state 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/runtime 865s # Created snap.yaml in /tmp/test_portal-support-snap_F4YNX2/meta/snap.yaml 865s # Created snapctl in /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 865s # Created snapctl in /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 865s # Created snapctl in /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 865s # Created snapctl in /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 865s # Created snapctl in /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 865s # Created snapctl in /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 865s # Created snapctl in /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 865s Unable to clean up temporary directory /tmp/test_portal-support-snap_F4YNX2/portal-support/snap/updates-dynamically: No such file or directory 865s ok 7 /portal-support/snap/updates-dynamically 865s # End of snap tests 865s # End of portal-support tests 865s Unable to clean up temporary directory /tmp/test_portal-support-snap_F4YNX2: No such file or directory 865s ok - glib/portal-support-snap.test 865s # Running test: glib/utf8-validate.test 865s TAP version 14 865s # random seed: R02S3f9563a5ed925af4b3f78d1d837fc02f 865s 1..216 865s # Start of utf8 tests 865s # Vector 0 865s # Vector 1 865s # Vector 2 865s # Vector 3 865s # Vector 4 865s # Vector 5 865s # Vector 6 865s # Vector 7 865s # Vector 8 865s # Vector 9 865s # Vector 10 865s # Vector 11 865s # Vector 12 865s # Vector 13 865s # Vector 14 865s # Vector 15 865s # Vector 16 865s # Vector 17 865s # Vector 18 865s # Vector 19 865s # Vector 20 865s # Vector 21 865s # Vector 22 865s # Vector 23 865s # Vector 24 865s # Vector 25 865s # Vector 26 865s # Vector 27 865s ok 1 /utf8/get-char-validated 865s # Start of validate tests 865s ok 2 /utf8/validate/0 865s ok 3 /utf8/validate/1 865s ok 4 /utf8/validate/2 865s ok 5 /utf8/validate/3 865s ok 6 /utf8/validate/4 865s ok 7 /utf8/validate/5 865s ok 8 /utf8/validate/6 865s ok 9 /utf8/validate/7 865s ok 10 /utf8/validate/8 865s ok 11 /utf8/validate/9 865s ok 12 /utf8/validate/10 865s ok 13 /utf8/validate/11 865s ok 14 /utf8/validate/12 865s ok 15 /utf8/validate/13 865s ok 16 /utf8/validate/14 865s ok 17 /utf8/validate/15 865s ok 18 /utf8/validate/16 865s ok 19 /utf8/validate/17 865s ok 20 /utf8/validate/18 865s ok 21 /utf8/validate/19 865s ok 22 /utf8/validate/20 865s ok 23 /utf8/validate/21 865s ok 24 /utf8/validate/22 865s ok 25 /utf8/validate/23 865s ok 26 /utf8/validate/24 865s ok 27 /utf8/validate/25 865s ok 28 /utf8/validate/26 865s ok 29 /utf8/validate/27 865s ok 30 /utf8/validate/28 865s ok 31 /utf8/validate/29 865s ok 32 /utf8/validate/30 865s ok 33 /utf8/validate/31 865s ok 34 /utf8/validate/32 865s ok 35 /utf8/validate/33 865s ok 36 /utf8/validate/34 865s ok 37 /utf8/validate/35 865s ok 38 /utf8/validate/36 865s ok 39 /utf8/validate/37 865s ok 40 /utf8/validate/38 865s ok 41 /utf8/validate/39 865s ok 42 /utf8/validate/40 865s ok 43 /utf8/validate/41 865s ok 44 /utf8/validate/42 865s ok 45 /utf8/validate/43 865s ok 46 /utf8/validate/44 865s ok 47 /utf8/validate/45 865s ok 48 /utf8/validate/46 865s ok 49 /utf8/validate/47 865s ok 50 /utf8/validate/48 865s ok 51 /utf8/validate/49 865s ok 52 /utf8/validate/50 865s ok 53 /utf8/validate/51 865s ok 54 /utf8/validate/52 865s ok 55 /utf8/validate/53 865s ok 56 /utf8/validate/54 865s ok 57 /utf8/validate/55 865s ok 58 /utf8/validate/56 865s ok 59 /utf8/validate/57 865s ok 60 /utf8/validate/58 865s ok 61 /utf8/validate/59 865s ok 62 /utf8/validate/60 865s ok 63 /utf8/validate/61 865s ok 64 /utf8/validate/62 865s ok 65 /utf8/validate/63 865s ok 66 /utf8/validate/64 865s ok 67 /utf8/validate/65 865s ok 68 /utf8/validate/66 865s ok 69 /utf8/validate/67 865s ok 70 /utf8/validate/68 865s ok 71 /utf8/validate/69 865s ok 72 /utf8/validate/70 865s ok 73 /utf8/validate/71 865s ok 74 /utf8/validate/72 865s ok 75 /utf8/validate/73 865s ok 76 /utf8/validate/74 865s ok 77 /utf8/validate/75 865s ok 78 /utf8/validate/76 865s ok 79 /utf8/validate/77 865s ok 80 /utf8/validate/78 865s ok 81 /utf8/validate/79 865s ok 82 /utf8/validate/80 865s ok 83 /utf8/validate/81 865s ok 84 /utf8/validate/82 865s ok 85 /utf8/validate/83 865s ok 86 /utf8/validate/84 865s ok 87 /utf8/validate/85 865s ok 88 /utf8/validate/86 865s ok 89 /utf8/validate/87 865s ok 90 /utf8/validate/88 865s ok 91 /utf8/validate/89 865s ok 92 /utf8/validate/90 865s ok 93 /utf8/validate/91 865s ok 94 /utf8/validate/92 865s ok 95 /utf8/validate/93 865s ok 96 /utf8/validate/94 865s ok 97 /utf8/validate/95 865s ok 98 /utf8/validate/96 865s ok 99 /utf8/validate/97 865s ok 100 /utf8/validate/98 865s ok 101 /utf8/validate/99 865s ok 102 /utf8/validate/100 865s ok 103 /utf8/validate/101 865s ok 104 /utf8/validate/102 865s ok 105 /utf8/validate/103 865s ok 106 /utf8/validate/104 865s ok 107 /utf8/validate/105 865s ok 108 /utf8/validate/106 865s ok 109 /utf8/validate/107 865s ok 110 /utf8/validate/108 865s ok 111 /utf8/validate/109 865s ok 112 /utf8/validate/110 865s ok 113 /utf8/validate/111 865s ok 114 /utf8/validate/112 865s ok 115 /utf8/validate/113 865s ok 116 /utf8/validate/114 865s ok 117 /utf8/validate/115 865s ok 118 /utf8/validate/116 865s ok 119 /utf8/validate/117 865s ok 120 /utf8/validate/118 865s ok 121 /utf8/validate/119 865s ok 122 /utf8/validate/120 865s ok 123 /utf8/validate/121 865s ok 124 /utf8/validate/122 865s ok 125 /utf8/validate/123 865s ok 126 /utf8/validate/124 865s ok 127 /utf8/validate/125 865s ok 128 /utf8/validate/126 865s ok 129 /utf8/validate/127 865s ok 130 /utf8/validate/128 865s ok 131 /utf8/validate/129 865s ok 132 /utf8/validate/130 865s ok 133 /utf8/validate/131 865s ok 134 /utf8/validate/132 865s ok 135 /utf8/validate/133 865s ok 136 /utf8/validate/134 865s ok 137 /utf8/validate/135 865s ok 138 /utf8/validate/136 865s ok 139 /utf8/validate/137 865s ok 140 /utf8/validate/138 865s ok 141 /utf8/validate/139 865s ok 142 /utf8/validate/140 865s ok 143 /utf8/validate/141 865s ok 144 /utf8/validate/142 865s ok 145 /utf8/validate/143 865s ok 146 /utf8/validate/144 865s ok 147 /utf8/validate/145 865s ok 148 /utf8/validate/146 865s ok 149 /utf8/validate/147 865s ok 150 /utf8/validate/148 865s ok 151 /utf8/validate/149 865s ok 152 /utf8/validate/150 865s ok 153 /utf8/validate/151 865s ok 154 /utf8/validate/152 865s ok 155 /utf8/validate/153 865s ok 156 /utf8/validate/154 865s ok 157 /utf8/validate/155 865s ok 158 /utf8/validate/156 865s ok 159 /utf8/validate/157 865s ok 160 /utf8/validate/158 865s ok 161 /utf8/validate/159 865s ok 162 /utf8/validate/160 865s ok 163 /utf8/validate/161 865s ok 164 /utf8/validate/162 865s ok 165 /utf8/validate/163 865s ok 166 /utf8/validate/164 865s ok 167 /utf8/validate/165 865s ok 168 /utf8/validate/166 865s ok 169 /utf8/validate/167 865s ok 170 /utf8/validate/168 865s ok 171 /utf8/validate/169 865s ok 172 /utf8/validate/170 865s ok 173 /utf8/validate/171 865s ok 174 /utf8/validate/172 865s ok 175 /utf8/validate/173 865s ok 176 /utf8/validate/174 865s ok 177 /utf8/validate/175 865s ok 178 /utf8/validate/176 865s ok 179 /utf8/validate/177 865s ok 180 /utf8/validate/178 865s ok 181 /utf8/validate/179 865s ok 182 /utf8/validate/180 865s ok 183 /utf8/validate/181 865s ok 184 /utf8/validate/182 865s ok 185 /utf8/validate/183 865s ok 186 /utf8/validate/184 865s ok 187 /utf8/validate/185 865s ok 188 /utf8/validate/186 865s ok 189 /utf8/validate/187 865s ok 190 /utf8/validate/188 865s ok 191 /utf8/validate/189 865s ok 192 /utf8/validate/190 865s ok 193 /utf8/validate/191 865s ok 194 /utf8/validate/192 865s ok 195 /utf8/validate/193 865s ok 196 /utf8/validate/194 865s ok 197 /utf8/validate/195 865s ok 198 /utf8/validate/196 865s ok 199 /utf8/validate/197 865s ok 200 /utf8/validate/198 865s ok 201 /utf8/validate/199 865s ok 202 /utf8/validate/200 865s ok 203 /utf8/validate/201 865s ok 204 /utf8/validate/202 865s ok 205 /utf8/validate/203 865s ok 206 /utf8/validate/204 865s ok 207 /utf8/validate/205 865s ok 208 /utf8/validate/206 865s ok 209 /utf8/validate/207 865s ok 210 /utf8/validate/208 865s ok 211 /utf8/validate/209 865s ok 212 /utf8/validate/210 865s ok 213 /utf8/validate/211 865s ok 214 /utf8/validate/212 865s ok 215 /utf8/validate/213 865s ok 216 /utf8/validate/214 865s # End of validate tests 865s # End of utf8 tests 865s ok - glib/utf8-validate.test 865s # Running test: glib/null-settings-backend.test 865s TAP version 14 865s # random seed: R02Sae169695f8ca4240afe42c0945a19808 865s 1..1 865s # Start of null-settings-backend tests 865s ok 1 /null-settings-backend/extension-point-registered 865s # End of null-settings-backend tests 865s ok - glib/null-settings-backend.test 865s # Running test: glib/gvariant.test 865s TAP version 14 865s # random seed: R02S3514e60225459f079cbf33de42f1c879 865s 1..64 865s # Start of gvariant tests 865s ok 1 /gvariant/type 865s ok 2 /gvariant/typeinfo 865s ok 3 /gvariant/string 865s ok 4 /gvariant/utf8 865s ok 5 /gvariant/containers 865s ok 6 /gvariant/format-strings 865s ok 7 /gvariant/invalid-varargs 865s ok 8 /gvariant/varargs 865s ok 9 /gvariant/valist 865s ok 10 /gvariant/builder-memory 865s ok 11 /gvariant/hashing 865s ok 12 /gvariant/byteswap 865s ok 13 /gvariant/parser 865s ok 14 /gvariant/parse-failures 865s ok 15 /gvariant/parse-positional 865s ok 16 /gvariant/floating 865s ok 17 /gvariant/bytestring 865s ok 18 /gvariant/lookup-value 865s ok 19 /gvariant/lookup 865s ok 20 /gvariant/compare 865s ok 21 /gvariant/equal 865s ok 22 /gvariant/fixed-array 865s ok 23 /gvariant/check-format-string 865s ok 24 /gvariant/checksum-basic 865s ok 25 /gvariant/checksum-nested 865s ok 26 /gvariant/gbytes 865s ok 27 /gvariant/print-context 865s ok 28 /gvariant/error-quark 865s ok 29 /gvariant/stack-builder-init 865s ok 30 /gvariant/stack-dict-init 865s ok 31 /gvariant/unaligned-construction 865s # Start of type tests 865s # Start of string-scan tests 865s # Start of recursion tests 865s ok 32 /gvariant/type/string-scan/recursion/tuple 866s ok 33 /gvariant/type/string-scan/recursion/array 866s # End of recursion tests 866s # End of string-scan tests 866s # End of type tests 866s # Start of serialiser tests 866s ok 34 /gvariant/serialiser/maybe 866s ok 35 /gvariant/serialiser/array 866s ok 36 /gvariant/serialiser/tuple 866s ok 37 /gvariant/serialiser/variant 866s ok 38 /gvariant/serialiser/strings 867s # Executing: glib/gvariant.test 867s ok 39 /gvariant/serialiser/byteswap 867s # slow test /gvariant/serialiser/byteswap executed in 1.44 secs 867s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 867s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 867s ok 40 /gvariant/serialiser/children 867s # Start of fuzz tests 867s ok 41 /gvariant/serialiser/fuzz/1% 868s ok 42 /gvariant/serialiser/fuzz/5% 868s # slow test /gvariant/serialiser/fuzz/5% executed in 0.70 secs 868s ok 43 /gvariant/serialiser/fuzz/9% 869s ok 44 /gvariant/serialiser/fuzz/13% 869s ok 45 /gvariant/serialiser/fuzz/17% 869s # End of fuzz tests 869s # End of serialiser tests 869s # Start of varargs tests 869s # Start of subprocess tests 869s # End of subprocess tests 869s # End of varargs tests 869s # Start of byteswap tests 869s # /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. 869s ok 46 /gvariant/byteswap/non-normal-non-aligned 869s # End of byteswap tests 869s # Start of parser tests 869s ok 47 /gvariant/parser/integer-bounds 869s ok 48 /gvariant/parser/recursion 869s # Start of recursion tests 869s ok 49 /gvariant/parser/recursion/typedecls 869s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 869s # Text form 0: @mmmu 5 869s # Text form 1: @mmmas ['hello'] 869s # Text form 2: @mmmu just just nothing 869s # Text form 3: @mmmas just just nothing 869s # Text form 4: @mmmu just nothing 869s # Text form 5: @mmmas just nothing 869s # Text form 6: @mmmu nothing 869s # Text form 7: @mmmas nothing 869s ok 50 /gvariant/parser/recursion/maybes 869s # End of recursion tests 869s # End of parser tests 869s # Start of parse tests 869s # Start of subprocess tests 869s # End of subprocess tests 869s # End of parse tests 869s # Start of normal-checking tests 869s ok 51 /gvariant/normal-checking/tuples 869s ok 52 /gvariant/normal-checking/array-offsets 869s ok 53 /gvariant/normal-checking/array-offsets2 869s ok 54 /gvariant/normal-checking/tuple-offsets 869s ok 55 /gvariant/normal-checking/tuple-offsets2 869s ok 56 /gvariant/normal-checking/tuple-offsets3 869s ok 57 /gvariant/normal-checking/tuple-offsets4 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 869s ok 58 /gvariant/normal-checking/tuple-offsets5 869s ok 59 /gvariant/normal-checking/empty-object-path 869s # Start of array-offsets tests 869s ok 60 /gvariant/normal-checking/array-offsets/overlapped 869s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 869s # End of array-offsets tests 869s # Start of tuple-offsets tests 869s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 869s # End of tuple-offsets tests 869s # End of normal-checking tests 869s # Start of recursion-limits tests 869s ok 63 /gvariant/recursion-limits/variant-in-variant 869s ok 64 /gvariant/recursion-limits/array-in-variant 869s # End of recursion-limits tests 869s # End of gvariant tests 869s ok - glib/gvariant.test 869s # Running test: glib/overflow.test 869s TAP version 14 869s # random seed: R02S9fbe52e6dc8749deb4a5c2003bafb2f1 869s 1..6 869s # Start of glib tests 869s # Start of checked-math tests 869s ok 1 /glib/checked-math/guint-add 869s ok 2 /glib/checked-math/guint-mul 869s ok 3 /glib/checked-math/guint64-add 869s ok 4 /glib/checked-math/guint64-mul 869s ok 5 /glib/checked-math/gsize-add 869s ok 6 /glib/checked-math/gsize-mul 869s # End of checked-math tests 869s # End of glib tests 869s ok - glib/overflow.test 869s # Running test: glib/repository.test 869s TAP version 14 869s # random seed: R02S08cdca4c3818e53c5b48b414dad26b58 869s 1..23 869s # Start of repository tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/basic/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/basic/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/basic/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/basic/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/basic/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/basic/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/basic/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/basic/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/basic/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/basic/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 869s ok 1 /repository/basic 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/info/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/info/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/info/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/info/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/info/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/info/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/info/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/info/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/info/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/info/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/info summary: Test retrieving some basic info blobs from a typelib 869s ok 2 /repository/info 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/dependencies/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/dependencies/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/dependencies/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/dependencies/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/dependencies/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/dependencies/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/dependencies/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/dependencies/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 869s ok 3 /repository/dependencies 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/arg-info/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/arg-info/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/arg-info/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/arg-info/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/arg-info/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/arg-info/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/arg-info/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/arg-info/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 869s ok 4 /repository/arg-info 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/callable-info/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/callable-info/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/callable-info/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/callable-info/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/callable-info/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/callable-info/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/callable-info/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/callable-info/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 869s ok 5 /repository/callable-info 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/callback-info/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/callback-info/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/callback-info/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/callback-info/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/callback-info/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/callback-info/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/callback-info/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/callback-info/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 869s ok 6 /repository/callback-info 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/char-types/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/char-types/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/char-types/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/char-types/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/char-types/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/char-types/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/char-types/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/char-types/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/char-types/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/char-types/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 869s ok 7 /repository/char-types 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/constructor-return-type/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/constructor-return-type/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/constructor-return-type/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/constructor-return-type/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/constructor-return-type/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/constructor-return-type/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/constructor-return-type/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/constructor-return-type/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 869s ok 8 /repository/constructor-return-type 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/enum-info-c-identifier/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/enum-info-c-identifier/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/enum-info-c-identifier/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/enum-info-c-identifier/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/enum-info-c-identifier/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/enum-info-c-identifier/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/enum-info-c-identifier/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/enum-info-c-identifier/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 869s ok 9 /repository/enum-info-c-identifier 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/enum-info-static-methods/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/enum-info-static-methods/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/enum-info-static-methods/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/enum-info-static-methods/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/enum-info-static-methods/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/enum-info-static-methods/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/enum-info-static-methods/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/enum-info-static-methods/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/enum-info-static-methods summary: Test an enum with methods 869s ok 10 /repository/enum-info-static-methods 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/error-quark/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/error-quark/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/error-quark/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/error-quark/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/error-quark/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/error-quark/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/error-quark/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/error-quark/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/error-quark summary: Test finding an error quark by error domain 869s ok 11 /repository/error-quark 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/flags-info-c-identifier/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/flags-info-c-identifier/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/flags-info-c-identifier/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/flags-info-c-identifier/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/flags-info-c-identifier/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/flags-info-c-identifier/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/flags-info-c-identifier/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/flags-info-c-identifier/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 869s ok 12 /repository/flags-info-c-identifier 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/fundamental-ref-func/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/fundamental-ref-func/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/fundamental-ref-func/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/fundamental-ref-func/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/fundamental-ref-func/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/fundamental-ref-func/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/fundamental-ref-func/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/fundamental-ref-func/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 869s ok 13 /repository/fundamental-ref-func 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/instance-method-ownership-transfer/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/instance-method-ownership-transfer/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/instance-method-ownership-transfer/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/instance-method-ownership-transfer/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/instance-method-ownership-transfer/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/instance-method-ownership-transfer/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/instance-method-ownership-transfer/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/instance-method-ownership-transfer/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 869s ok 14 /repository/instance-method-ownership-transfer 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/object-gtype-interfaces/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/object-gtype-interfaces/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/object-gtype-interfaces/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/object-gtype-interfaces/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/object-gtype-interfaces/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/object-gtype-interfaces/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/object-gtype-interfaces/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/object-gtype-interfaces/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 869s ok 15 /repository/object-gtype-interfaces 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/signal-info-with-array-length-arg/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/signal-info-with-array-length-arg/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/signal-info-with-array-length-arg/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/signal-info-with-array-length-arg/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/signal-info-with-array-length-arg/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/signal-info-with-array-length-arg/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/signal-info-with-array-length-arg/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/signal-info-with-array-length-arg/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 869s ok 16 /repository/signal-info-with-array-length-arg 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/type-info-name/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/type-info-name/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/type-info-name/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/type-info-name/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/type-info-name/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/type-info-name/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/type-info-name/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/type-info-name/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 869s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 869s ok 17 /repository/type-info-name 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-no-invoker/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-no-invoker/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-no-invoker/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-no-invoker/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-no-invoker/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-no-invoker/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 869s ok 18 /repository/vfunc-info-with-no-invoker 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 869s ok 19 /repository/vfunc-info-with-invoker-on-interface 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-object/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-object/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-object/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-object/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 869s ok 20 /repository/vfunc-info-with-invoker-on-object 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/find-by-gtype/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/find-by-gtype/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/find-by-gtype/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/find-by-gtype/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/find-by-gtype/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/find-by-gtype/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/find-by-gtype/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/find-by-gtype/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/find-by-gtype summary: Test finding a GType 869s ok 21 /repository/find-by-gtype 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/loaded-namespaces/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/loaded-namespaces/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/loaded-namespaces/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/loaded-namespaces/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/loaded-namespaces/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/loaded-namespaces/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/loaded-namespaces/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/loaded-namespaces/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/loaded-namespaces summary: Test listing loaded namespaces 869s ok 22 /repository/loaded-namespaces 869s # Start of base-info tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TWO2X2/repository/base-info/clear/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TWO2X2/repository/base-info/clear/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TWO2X2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_TWO2X2/repository/base-info/clear/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TWO2X2/repository/base-info/clear/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TWO2X2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_TWO2X2/repository/base-info/clear/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TWO2X2/repository/base-info/clear/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TWO2X2/repository/base-info/clear/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TWO2X2/repository/base-info/clear/.dirs/runtime 869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 869s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 869s ok 23 /repository/base-info/clear 869s # End of base-info tests 869s # End of repository tests 869s ok - glib/repository.test 869s # Running test: glib/hash.test 869s TAP version 14 869s # random seed: R02S15f60815f77896f12a3dc4f07ead1eeb 869s 1..34 869s # Start of hash tests 869s ok 1 /hash/misc 869s ok 2 /hash/one 869s ok 3 /hash/honeyman 869s ok 4 /hash/direct 869s ok 5 /hash/direct2 869s ok 6 /hash/int 869s ok 7 /hash/int64 869s ok 8 /hash/double 869s ok 9 /hash/string 869s ok 10 /hash/set 869s ok 11 /hash/set-ref 869s ok 12 /hash/ref 869s ok 13 /hash/remove-all 869s ok 14 /hash/recursive-remove-all 869s ok 15 /hash/find 869s ok 16 /hash/foreach 869s ok 17 /hash/foreach-steal 869s ok 18 /hash/steal-extended 869s ok 19 /hash/steal-all-keys 869s ok 20 /hash/steal-all-values 869s ok 21 /hash/lookup-extended 869s ok 22 /hash/new-similar 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 869s ok 23 /hash/lookup-null-key 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 869s ok 24 /hash/destroy-modify 869s ok 25 /hash/consistency 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 869s ok 26 /hash/iter-replace 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 869s ok 27 /hash/set-insert-corruption 869s ok 28 /hash/set-to-strv 869s ok 29 /hash/get-keys-as-ptr-array 869s ok 30 /hash/get-values-as-ptr-array 869s ok 31 /hash/primes 869s # Start of int64 tests 869s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 869s ok 32 /hash/int64/collisions 869s # End of int64 tests 869s # Start of double tests 869s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 869s ok 33 /hash/double/collisions 869s # End of double tests 869s # Start of recursive-remove-all tests 869s # End of recursive-remove-all tests 869s # Start of steal-extended tests 869s ok 34 /hash/steal-extended/optional 869s # End of steal-extended tests 869s # End of hash tests 869s ok - glib/hash.test 869s # Running test: glib/sleepy-stream.test 869s TAP version 14 869s # random seed: R02Sdb3b196c91cc64750483595c4ba30168 869s 1..2 869s # Start of filter-stream tests 869s ok 1 /filter-stream/input 869s ok 2 /filter-stream/async 869s # End of filter-stream tests 869s ok - glib/sleepy-stream.test 869s # Running test: glib/qdata.test 869s TAP version 14 869s # random seed: R02Sec982584b4a8530c06cae6b7ca84d329 869s 1..2 869s # Start of qdata tests 869s ok 1 /qdata/threaded 869s ok 2 /qdata/dup 869s # End of qdata tests 869s ok - glib/qdata.test 869s # Running test: glib/macros-c-89.test 869s TAP version 14 869s # random seed: R02Scbc4a1aa4810ace5273660a05d929fc6 869s 1..4 869s # Start of C tests 869s ok 1 /C/standard-89 869s # End of C tests 869s # Start of alignof tests 869s ok 2 /alignof/fallback 869s # End of alignof tests 869s # Start of assert tests 869s ok 3 /assert/static 869s # End of assert tests 869s # Start of struct tests 869s ok 4 /struct/sizeof_member 869s # End of struct tests 869s ok - glib/macros-c-89.test 869s # Running test: glib/testfilemonitor.test 869s TAP version 14 869s # random seed: R02S45f06e79ea8d9a24f278634ffe0435f8 869s 1..8 869s # Start of monitor tests 869s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 869s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 869s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 869s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 869s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 869s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 869s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 869s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 869s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 869s # Start of file tests 869s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 869s # End of file tests 869s # End of monitor tests 869s ok - glib/testfilemonitor.test 869s # Running test: glib/gdbus-bz627724.test 869s TAP version 14 869s # random seed: R02S1f43f5bd41a9c0ac83f5176ecacd2f46 869s 1..1 869s # Start of gdbus tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_CPTZX2/gdbus/bz627724/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_CPTZX2/gdbus/bz627724/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_CPTZX2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_CPTZX2/gdbus/bz627724/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_CPTZX2/gdbus/bz627724/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_CPTZX2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_CPTZX2/gdbus/bz627724/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_CPTZX2/gdbus/bz627724/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_CPTZX2/gdbus/bz627724/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_CPTZX2/gdbus/bz627724/.dirs/runtime 869s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 1 /gdbus/bz627724 869s # End of gdbus tests 869s ok - glib/gdbus-bz627724.test 869s # Running test: glib/bookmarkfile.test 869s TAP version 14 869s # random seed: R02S43f46a84d2cbe648d547bcba291738b6 869s 1..96 869s # Start of bookmarks tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/load-from-data-dirs/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/load-from-data-dirs/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/load-from-data-dirs/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/load-from-data-dirs/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/load-from-data-dirs/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/load-from-data-dirs/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/load-from-data-dirs/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/load-from-data-dirs/.dirs/runtime 869s ok 1 /bookmarks/load-from-data-dirs 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/to-file/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/to-file/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/to-file/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/to-file/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/to-file/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/to-file/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/to-file/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/to-file/.dirs/runtime 869s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_I28ZX2/bookmarkfile-test-NN9ZX2.xbel 869s # Roundtrip from a valid bookmark file 869s ok 2 /bookmarks/to-file 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/move-item/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/move-item/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/move-item/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/move-item/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/move-item/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/move-item/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/move-item/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/move-item/.dirs/runtime 869s ok 3 /bookmarks/move-item 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/corner-cases/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/corner-cases/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/corner-cases/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/corner-cases/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/corner-cases/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/corner-cases/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/corner-cases/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/corner-cases/.dirs/runtime 869s ok 4 /bookmarks/corner-cases 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/misc/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/misc/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/misc/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/misc/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/misc/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/misc/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/misc/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/misc/.dirs/runtime 869s ok 5 /bookmarks/misc 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/deprecated/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/deprecated/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/deprecated/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/deprecated/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/deprecated/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/deprecated/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/deprecated/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/deprecated/.dirs/runtime 869s ok 6 /bookmarks/deprecated 869s # Start of parse tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-37.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-37.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-37.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-37.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-37.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-37.xbel/.dirs/runtime 869s ok 7 /bookmarks/parse/fail-37.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-03.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-03.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-03.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-03.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-03.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-03.xbel/.dirs/runtime 869s ok 8 /bookmarks/parse/fail-03.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-27.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-27.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-27.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-27.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-27.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-27.xbel/.dirs/runtime 869s ok 9 /bookmarks/parse/fail-27.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-12.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-12.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-12.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-12.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-12.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-12.xbel/.dirs/runtime 869s ok 10 /bookmarks/parse/fail-12.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-30.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-30.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-30.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-30.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-30.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-30.xbel/.dirs/runtime 869s ok 11 /bookmarks/parse/fail-30.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-02.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-02.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-02.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-02.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-02.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-02.xbel/.dirs/runtime 869s ok 12 /bookmarks/parse/fail-02.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-24.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-24.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-24.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-24.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-24.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-24.xbel/.dirs/runtime 869s ok 13 /bookmarks/parse/fail-24.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-25.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-25.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-25.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-25.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-25.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-25.xbel/.dirs/runtime 869s ok 14 /bookmarks/parse/fail-25.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-20.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-20.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-20.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-20.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-20.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-20.xbel/.dirs/runtime 869s ok 15 /bookmarks/parse/fail-20.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-34.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-34.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-34.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-34.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-34.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-34.xbel/.dirs/runtime 869s ok 16 /bookmarks/parse/fail-34.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-17.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-17.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-17.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-17.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-17.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-17.xbel/.dirs/runtime 869s ok 17 /bookmarks/parse/fail-17.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-23.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-23.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-23.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-23.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-23.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-23.xbel/.dirs/runtime 869s ok 18 /bookmarks/parse/fail-23.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-03.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-03.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-03.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-03.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-03.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-03.xbel/.dirs/runtime 869s ok 19 /bookmarks/parse/valid-03.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-41.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-41.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-41.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-41.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-41.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-41.xbel/.dirs/runtime 869s ok 20 /bookmarks/parse/fail-41.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-19.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-19.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-19.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-19.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-19.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-19.xbel/.dirs/runtime 869s ok 21 /bookmarks/parse/fail-19.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-09.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-09.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-09.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-09.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-09.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-09.xbel/.dirs/runtime 869s ok 22 /bookmarks/parse/fail-09.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-13.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-13.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-13.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-13.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-13.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-13.xbel/.dirs/runtime 869s ok 23 /bookmarks/parse/fail-13.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-08.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-08.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-08.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-08.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-08.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-08.xbel/.dirs/runtime 869s ok 24 /bookmarks/parse/fail-08.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-42.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-42.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-42.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-42.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-42.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-42.xbel/.dirs/runtime 869s ok 25 /bookmarks/parse/fail-42.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-22.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-22.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-22.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-22.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-22.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-22.xbel/.dirs/runtime 869s ok 26 /bookmarks/parse/fail-22.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-33.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-33.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-33.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-33.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-33.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-33.xbel/.dirs/runtime 869s ok 27 /bookmarks/parse/fail-33.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-31.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-31.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-31.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-31.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-31.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-31.xbel/.dirs/runtime 869s ok 28 /bookmarks/parse/fail-31.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-26.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-26.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-26.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-26.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-26.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-26.xbel/.dirs/runtime 869s ok 29 /bookmarks/parse/fail-26.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-07.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-07.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-07.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-07.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-07.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-07.xbel/.dirs/runtime 869s ok 30 /bookmarks/parse/fail-07.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-18.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-18.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-18.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-18.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-18.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-18.xbel/.dirs/runtime 869s ok 31 /bookmarks/parse/fail-18.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-28.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-28.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-28.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-28.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-28.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-28.xbel/.dirs/runtime 869s ok 32 /bookmarks/parse/fail-28.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-35.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-35.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-35.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-35.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-35.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-35.xbel/.dirs/runtime 869s ok 33 /bookmarks/parse/fail-35.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-04.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-04.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-04.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-04.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-04.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-04.xbel/.dirs/runtime 869s ok 34 /bookmarks/parse/fail-04.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-11.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-11.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-11.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-11.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-11.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-11.xbel/.dirs/runtime 869s ok 35 /bookmarks/parse/fail-11.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-05.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-05.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-05.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-05.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-05.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-05.xbel/.dirs/runtime 869s ok 36 /bookmarks/parse/fail-05.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-38.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-38.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-38.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-38.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-38.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-38.xbel/.dirs/runtime 869s ok 37 /bookmarks/parse/fail-38.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-15.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-15.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-15.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-15.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-15.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-15.xbel/.dirs/runtime 869s ok 38 /bookmarks/parse/fail-15.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-02.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-02.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-02.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-02.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-02.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-02.xbel/.dirs/runtime 869s ok 39 /bookmarks/parse/valid-02.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-06.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-06.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-06.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-06.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-06.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-06.xbel/.dirs/runtime 869s ok 40 /bookmarks/parse/fail-06.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-40.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-40.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-40.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-40.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-40.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-40.xbel/.dirs/runtime 869s ok 41 /bookmarks/parse/fail-40.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-21.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-21.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-21.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-21.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-21.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-21.xbel/.dirs/runtime 869s ok 42 /bookmarks/parse/fail-21.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-29.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-29.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-29.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-29.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-29.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-29.xbel/.dirs/runtime 869s ok 43 /bookmarks/parse/fail-29.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-01.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-01.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-01.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-01.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-01.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-01.xbel/.dirs/runtime 869s ok 44 /bookmarks/parse/fail-01.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-32.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-32.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-32.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-32.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-32.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-32.xbel/.dirs/runtime 869s ok 45 /bookmarks/parse/fail-32.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-16.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-16.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-16.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-16.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-16.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-16.xbel/.dirs/runtime 869s ok 46 /bookmarks/parse/fail-16.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-39.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-39.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-39.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-39.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-39.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-39.xbel/.dirs/runtime 869s ok 47 /bookmarks/parse/fail-39.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-10.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-10.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-10.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-10.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-10.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-10.xbel/.dirs/runtime 869s ok 48 /bookmarks/parse/fail-10.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-36.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-36.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-36.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-36.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-36.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-36.xbel/.dirs/runtime 869s ok 49 /bookmarks/parse/fail-36.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-01.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-01.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-01.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-01.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-01.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/valid-01.xbel/.dirs/runtime 869s ok 50 /bookmarks/parse/valid-01.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-14.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-14.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-14.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-14.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-14.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/parse/fail-14.xbel/.dirs/runtime 869s ok 51 /bookmarks/parse/fail-14.xbel 869s # End of parse tests 869s # Start of copy tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-37.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-37.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-37.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-37.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-37.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-37.xbel/.dirs/runtime 869s ok 52 /bookmarks/copy/fail-37.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-03.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-03.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-03.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-03.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-03.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-03.xbel/.dirs/runtime 869s ok 53 /bookmarks/copy/fail-03.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-27.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-27.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-27.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-27.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-27.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-27.xbel/.dirs/runtime 869s ok 54 /bookmarks/copy/fail-27.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-12.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-12.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-12.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-12.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-12.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-12.xbel/.dirs/runtime 869s ok 55 /bookmarks/copy/fail-12.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-30.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-30.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-30.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-30.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-30.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-30.xbel/.dirs/runtime 869s ok 56 /bookmarks/copy/fail-30.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-02.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-02.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-02.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-02.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-02.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-02.xbel/.dirs/runtime 869s ok 57 /bookmarks/copy/fail-02.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-24.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-24.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-24.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-24.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-24.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-24.xbel/.dirs/runtime 869s ok 58 /bookmarks/copy/fail-24.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-25.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-25.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-25.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-25.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-25.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-25.xbel/.dirs/runtime 869s ok 59 /bookmarks/copy/fail-25.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-20.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-20.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-20.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-20.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-20.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-20.xbel/.dirs/runtime 869s ok 60 /bookmarks/copy/fail-20.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-34.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-34.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-34.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-34.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-34.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-34.xbel/.dirs/runtime 869s ok 61 /bookmarks/copy/fail-34.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-17.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-17.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-17.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-17.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-17.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-17.xbel/.dirs/runtime 869s ok 62 /bookmarks/copy/fail-17.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-23.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-23.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-23.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-23.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-23.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-23.xbel/.dirs/runtime 869s ok 63 /bookmarks/copy/fail-23.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-03.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-03.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-03.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-03.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-03.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-03.xbel/.dirs/runtime 869s ok 64 /bookmarks/copy/valid-03.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-41.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-41.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-41.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-41.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-41.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-41.xbel/.dirs/runtime 869s ok 65 /bookmarks/copy/fail-41.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-19.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-19.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-19.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-19.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-19.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-19.xbel/.dirs/runtime 869s ok 66 /bookmarks/copy/fail-19.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-09.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-09.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-09.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-09.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-09.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-09.xbel/.dirs/runtime 869s ok 67 /bookmarks/copy/fail-09.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-13.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-13.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-13.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-13.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-13.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-13.xbel/.dirs/runtime 869s ok 68 /bookmarks/copy/fail-13.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-08.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-08.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-08.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-08.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-08.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-08.xbel/.dirs/runtime 869s ok 69 /bookmarks/copy/fail-08.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-42.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-42.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-42.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-42.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-42.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-42.xbel/.dirs/runtime 869s ok 70 /bookmarks/copy/fail-42.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-22.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-22.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-22.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-22.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-22.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-22.xbel/.dirs/runtime 869s ok 71 /bookmarks/copy/fail-22.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-33.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-33.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-33.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-33.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-33.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-33.xbel/.dirs/runtime 869s ok 72 /bookmarks/copy/fail-33.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-31.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-31.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-31.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-31.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-31.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-31.xbel/.dirs/runtime 869s ok 73 /bookmarks/copy/fail-31.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-26.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-26.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-26.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-26.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-26.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-26.xbel/.dirs/runtime 869s ok 74 /bookmarks/copy/fail-26.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-07.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-07.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-07.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-07.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-07.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-07.xbel/.dirs/runtime 869s ok 75 /bookmarks/copy/fail-07.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-18.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-18.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-18.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-18.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-18.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-18.xbel/.dirs/runtime 869s ok 76 /bookmarks/copy/fail-18.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-28.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-28.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-28.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-28.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-28.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-28.xbel/.dirs/runtime 869s ok 77 /bookmarks/copy/fail-28.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-35.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-35.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-35.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-35.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-35.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-35.xbel/.dirs/runtime 869s ok 78 /bookmarks/copy/fail-35.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-04.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-04.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-04.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-04.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-04.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-04.xbel/.dirs/runtime 869s ok 79 /bookmarks/copy/fail-04.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-11.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-11.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-11.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-11.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-11.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-11.xbel/.dirs/runtime 869s ok 80 /bookmarks/copy/fail-11.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-05.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-05.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-05.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-05.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-05.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-05.xbel/.dirs/runtime 869s ok 81 /bookmarks/copy/fail-05.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-38.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-38.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-38.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-38.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-38.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-38.xbel/.dirs/runtime 869s ok 82 /bookmarks/copy/fail-38.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-15.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-15.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-15.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-15.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-15.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-15.xbel/.dirs/runtime 869s ok 83 /bookmarks/copy/fail-15.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-02.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-02.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-02.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-02.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-02.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-02.xbel/.dirs/runtime 869s ok 84 /bookmarks/copy/valid-02.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-06.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-06.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-06.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-06.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-06.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-06.xbel/.dirs/runtime 869s ok 85 /bookmarks/copy/fail-06.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-40.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-40.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-40.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-40.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-40.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-40.xbel/.dirs/runtime 869s ok 86 /bookmarks/copy/fail-40.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-21.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-21.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-21.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-21.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-21.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-21.xbel/.dirs/runtime 869s ok 87 /bookmarks/copy/fail-21.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-29.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-29.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-29.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-29.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-29.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-29.xbel/.dirs/runtime 869s ok 88 /bookmarks/copy/fail-29.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-01.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-01.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-01.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-01.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-01.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-01.xbel/.dirs/runtime 869s ok 89 /bookmarks/copy/fail-01.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-32.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-32.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-32.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-32.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-32.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-32.xbel/.dirs/runtime 869s ok 90 /bookmarks/copy/fail-32.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-16.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-16.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-16.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-16.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-16.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-16.xbel/.dirs/runtime 869s ok 91 /bookmarks/copy/fail-16.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-39.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-39.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-39.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-39.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-39.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-39.xbel/.dirs/runtime 869s ok 92 /bookmarks/copy/fail-39.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-10.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-10.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-10.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-10.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-10.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-10.xbel/.dirs/runtime 869s ok 93 /bookmarks/copy/fail-10.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-36.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-36.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-36.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-36.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-36.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-36.xbel/.dirs/runtime 869s ok 94 /bookmarks/copy/fail-36.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-01.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-01.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-01.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-01.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-01.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/valid-01.xbel/.dirs/runtime 869s ok 95 /bookmarks/copy/valid-01.xbel 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-14.xbel/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-14.xbel/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-14.xbel/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-14.xbel/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-14.xbel/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_I28ZX2/bookmarks/copy/fail-14.xbel/.dirs/runtime 869s ok 96 /bookmarks/copy/fail-14.xbel 869s # End of copy tests 869s # End of bookmarks tests 869s ok - glib/bookmarkfile.test 869s # Running test: glib/proxy-test.test 869s TAP version 14 869s # random seed: R02Sceaa1a8df8b3be5fe28008f5a89e6e4f 869s 1..11 869s # Start of proxy tests 869s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 869s ok 1 /proxy/direct_sync 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c39e0 and GSocketClientAsyncConnectData 0xc4c21c8b9270 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 869s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4c21c8c43f0 for GSocketClientAsyncConnectData 0xc4c21c8b9270 869s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 869s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 869s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 869s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 869s ok 2 /proxy/direct_async 869s ok 3 /proxy/single_sync 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c5cf0 and GSocketClientAsyncConnectData 0xc4c21c8c4e40 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 869s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4c21c8c6850 for GSocketClientAsyncConnectData 0xc4c21c8c4e40 869s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 869s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 869s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 869s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 869s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 869s ok 4 /proxy/single_async 869s ok 5 /proxy/multiple_sync 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c6580 and GSocketClientAsyncConnectData 0xc4c21c8c6350 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 869s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4c21c8c6ed0 for GSocketClientAsyncConnectData 0xc4c21c8c6350 869s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 869s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 869s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 869s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 869s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4c21c8c68e0 for GSocketClientAsyncConnectData 0xc4c21c8c6350 869s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 869s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 869s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 869s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 869s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 869s ok 6 /proxy/multiple_async 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 869s ok 7 /proxy/invalid-uris-sync 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c6c60 and GSocketClientAsyncConnectData 0xc4c21c8c6160 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 869s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c62d0 and GSocketClientAsyncConnectData 0xc4c21c8c6160 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 869s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c62d0 and GSocketClientAsyncConnectData 0xc4c21c8c6160 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 869s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4c21c8c7200 for GSocketClientAsyncConnectData 0xc4c21c8c6160 869s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 869s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 869s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 869s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c5c60 and GSocketClientAsyncConnectData 0xc4c21c8c7040 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 869s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4c21c8c6650 for GSocketClientAsyncConnectData 0xc4c21c8c7040 869s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 869s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 869s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 869s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 869s ok 8 /proxy/invalid-uris-async 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c62d0 and GSocketClientAsyncConnectData 0xc4c21c8c6160 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 869s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 869s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c5a00 and GSocketClientAsyncConnectData 0xc4c21c8c7200 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 869s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4c21c8c73a0 for GSocketClientAsyncConnectData 0xc4c21c8c7200 869s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 869s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 869s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 869s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 869s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c6c60 and GSocketClientAsyncConnectData 0xc4c21c8c0a00 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 869s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4c21c8c5e40 for GSocketClientAsyncConnectData 0xc4c21c8c0a00 869s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 869s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 869s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 869s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 869s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 869s ok 9 /proxy/dns 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c6c60 and GSocketClientAsyncConnectData 0xc4c21c8c7200 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 869s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4c21c8c70d0 for GSocketClientAsyncConnectData 0xc4c21c8c7200 869s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 869s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 869s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 869s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 869s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c6c60 and GSocketClientAsyncConnectData 0xc4c21c8c6160 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 869s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4c21c8c76f0 for GSocketClientAsyncConnectData 0xc4c21c8c6160 869s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 869s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 869s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 869s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 869s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 869s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 869s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc4c21c8c6c60 and GSocketClientAsyncConnectData 0xc4c21c8c7200 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 869s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc4c21c8c7500 for GSocketClientAsyncConnectData 0xc4c21c8c7200 869s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 869s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 869s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 869s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 869s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 869s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 869s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 869s ok 10 /proxy/override 869s ok 11 /proxy/enumerator-ports 869s # End of proxy tests 869s ok - glib/proxy-test.test 869s # Running test: glib/socket-address.test 869s TAP version 14 869s # random seed: R02S6801fe132c7d11321d1e0029a3432ad4 869s 1..2 869s # Start of socket tests 869s # Start of address tests 869s # Start of unix tests 869s ok 1 /socket/address/unix/construct 869s ok 2 /socket/address/unix/to-string 869s # End of unix tests 869s # End of address tests 869s # End of socket tests 869s ok - glib/socket-address.test 869s # Running test: glib/filter-streams.test 869s TAP version 14 869s # random seed: R02Sa33b6af7338f3a018edab50fae13ebb5 869s 1..4 869s # Start of filter-stream tests 869s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 869s ok 1 /filter-stream/input 869s ok 2 /filter-stream/output 869s ok 3 /filter-stream/async-input 869s ok 4 /filter-stream/async-output 869s # End of filter-stream tests 869s ok - glib/filter-streams.test 869s # Running test: glib/test-printf.test 869s TAP version 14 869s # random seed: R02Sc66a5be54327156c2908866587d66d6e 869s 1..22 869s # Start of snprintf tests 869s ok 1 /snprintf/retval-and-trunc 869s ok 2 /snprintf/%d 869s ok 3 /snprintf/%d-invalid 869s ok 4 /snprintf/%o 869s ok 5 /snprintf/%u 869s ok 6 /snprintf/%x 869s ok 7 /snprintf/%X 869s ok 8 /snprintf/%f 869s ok 9 /snprintf/%e 869s ok 10 /snprintf/%c 869s ok 11 /snprintf/%s 869s ok 12 /snprintf/%n 869s ok 13 /snprintf/test-percent 869s ok 14 /snprintf/test-positional-params 869s ok 15 /snprintf/test-64bit 869s # End of snprintf tests 869s # Start of printf tests 869s ok 16 /printf/test-percent 869s ok 17 /printf/test-positional-params 869s ok 18 /printf/test-64bit 869s # Start of test-64bit tests 869s # Start of subprocess tests 869s # End of subprocess tests 869s # End of test-64bit tests 869s # End of printf tests 869s # Start of sprintf tests 869s ok 19 /sprintf/test-positional-params 869s ok 20 /sprintf/upper-bound 869s # End of sprintf tests 869s # Start of vasprintf tests 869s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 869s ok 21 /vasprintf/invalid-format-placeholder 869s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 869s ok 22 /vasprintf/invalid-wide-string 869s # End of vasprintf tests 869s ok - glib/test-printf.test 869s # Running test: glib/atomic.test 869s TAP version 14 869s # random seed: R02Sdbb0d86c13526e342699e8b75f94281d 869s 1..2 869s # Start of atomic tests 869s ok 1 /atomic/types 869s ok 2 /atomic/threaded 869s # End of atomic tests 869s ok - glib/atomic.test 869s # Running test: glib/memory-monitor.test 869s TAP version 14 869s # random seed: R02S39f342a9e73506f8faab59cb0d9f9014 869s 1..1 869s # Start of memory-monitor tests 869s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 869s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 869s ok 1 /memory-monitor/default 869s # End of memory-monitor tests 869s ok - glib/memory-monitor.test 869s # Running test: glib/closure-refcount.test 869s TAP version 14 869s # random seed: R02Se18344b8128eed1c13939e9e904a5ca9 869s 1..1 869s # Start of closure tests 869s # Init 0xb3b51256a1e0 869s # Yielding from main thread 869s # Yielding from main thread 869s # Yielding from main thread 869s # Yielding from thread1 869s # Yielding from main thread 869s # Yielding from main thread 869s # Yielding from thread2 869s # Yielding from main thread 869s # Yielding from main thread 869s # Yielding from thread2 869s # Yielding from main thread 869s # Yielding from main thread 869s # Yielding from thread1 869s # Stopping 869s # Stopped 869s ok 1 /closure/refcount 869s # End of closure tests 869s ok - glib/closure-refcount.test 869s # Running test: glib/gdbus-subscribe.test 869s TAP version 14 869s # random seed: R02Sbc57009837af44204c70d72214f4609e 869s 1..24 869s # Start of gdbus tests 869s # Start of subscribe tests 869s # Start of conn tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/simple/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/simple/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/simple/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/simple/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/simple/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/simple/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/simple/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/simple/.dirs/runtime 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 869s # Step 0: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 1: adding subscription 869s # Sender: (any) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via connection 869s # Waiting for AddMatch to be processed 869s # Step 2: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 2 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 869s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 1 /gdbus/subscribe/conn/simple 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 869s # Step 0: adding subscription 869s # Sender: (any) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via connection 869s # Waiting for AddMatch to be processed 869s # Step 1: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 2: emitting signal 869s # Sender: service 2 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 3: emitting signal 869s # Sender: service 869s # Destination: subscriber :1.0 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 4: emitting signal 869s # Sender: service 2 869s # Destination: subscriber :1.0 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 1 869s # Signal received from service 2 :1.2 869s # Signal received from service 2 :1.2 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 2 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 3 869s # Signal received from service 2 :1.2 869s # Signal received from service 2 :1.2 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 4 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 869s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 869s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 869s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/match_twice/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/match_twice/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/match_twice/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/match_twice/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/match_twice/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/match_twice/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 869s # Step 0: adding subscription 869s # Sender: service :1.1 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via connection 869s # Waiting for AddMatch to be processed 869s # Step 1: adding subscription 869s # Sender: (any) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: (any) 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via connection 869s # Waiting for AddMatch to be processed 869s # Step 2: adding subscription 869s # Sender: (any) 869s # Path: (any) 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via connection 869s # Waiting for AddMatch to be processed 869s # Step 3: adding subscription 869s # Sender: service :1.1 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via connection 869s # Waiting for AddMatch to be processed 869s # Step 4: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 4 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 4 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 4 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 4 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 3 /gdbus/subscribe/conn/match_twice 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 869s # Step 0: adding subscription 869s # Sender: service :1.1 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via connection 869s # Waiting for AddMatch to be processed 869s # Step 1: emitting signal 869s # Sender: attacker 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 2: emitting signal 869s # Sender: attacker 869s # Destination: subscriber :1.0 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 3: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 3 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 869s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 869s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 869s # Step 0: adding subscription 869s # Sender: :0.this.had.better.not.exist 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via connection 869s # Waiting for AddMatch to be processed 869s # Step 1: emitting signal 869s # Sender: attacker 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 2: emitting signal 869s # Sender: attacker 869s # Destination: subscriber :1.0 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 869s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /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 869s # Step 0: claiming bus name 869s # Name: org.gtk.Test.AlreadyOwned 869s # Owner: service 869s # Step 1: adding subscription 869s # Sender: org.gtk.Test.AlreadyOwned 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via connection 869s # Waiting for AddMatch to be processed 869s # Step 2: adding subscription 869s # Sender: org.gtk.Test.OwnedLater 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via connection 869s # Waiting for AddMatch to be processed 869s # Step 3: emitting signal 869s # Sender: attacker 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 4: emitting signal 869s # Sender: attacker 869s # Destination: subscriber :1.0 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 5: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 6: claiming bus name 869s # Name: org.gtk.Test.OwnedLater 869s # Owner: service 869s # Step 7: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 5 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 7 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via connection 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 7 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 869s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 869s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 869s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 869s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 869s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 869s # Step 0: adding subscription 869s # Sender: org.freedesktop.DBus 869s # Path: /org/freedesktop/DBus 869s # Interface: org.freedesktop.DBus 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via connection 869s # Waiting for AddMatch to be processed 869s # Step 1: emitting signal 869s # Sender: attacker 869s # Destination: (broadcast) 869s # Path: /org/freedesktop/DBus 869s # Interface: org.freedesktop.DBus 869s # Member: NameOwnerChanged 869s # String argument 0: would I lie to you? 869s # Waiting for signal to reach message bus 869s # Step 2: emitting signal 869s # Sender: attacker 869s # Destination: subscriber :1.0 869s # Path: /org/freedesktop/DBus 869s # Interface: org.freedesktop.DBus 869s # Member: NameOwnerChanged 869s # Waiting for signal to reach message bus 869s # Step 3: claiming bus name 869s # Name: org.gtk.Test.OwnedLater 869s # Owner: service 869s # Signal received from message bus org.freedesktop.DBus 869s # Signal received from (unused) org.freedesktop.DBus via connection 869s # Path: /org/freedesktop/DBus 869s # Interface: org.freedesktop.DBus 869s # Member: NameOwnerChanged 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 869s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 869s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 869s # Step 0: claiming bus name 869s # Name: org.gtk.Test.AlreadyOwned 869s # Owner: service 869s # Step 1: adding subscription 869s # Sender: org.gtk.Test.AlreadyOwned 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via connection 869s # Immediately unsubscribing 869s # Waiting for AddMatch to be processed 869s # Step 2: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 869s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 869s # End of conn tests 869s # Start of proxy tests 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/simple/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/simple/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/simple/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/simple/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/simple/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/simple/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/simple/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/simple/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 869s # Step 0: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 1: adding subscription 869s # Sender: (any) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Cannot subscribe via proxy: no bus name 869s # Waiting for AddMatch to be processed 869s # Step 2: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 869s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 9 /gdbus/subscribe/proxy/simple 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 869s # Step 0: adding subscription 869s # Sender: (any) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Cannot subscribe via proxy: no bus name 869s # Waiting for AddMatch to be processed 869s # Step 1: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 2: emitting signal 869s # Sender: service 2 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 3: emitting signal 869s # Sender: service 869s # Destination: subscriber :1.0 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 4: emitting signal 869s # Sender: service 2 869s # Destination: subscriber :1.0 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 869s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 869s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 869s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/match_twice/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/match_twice/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/match_twice/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/match_twice/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/match_twice/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 869s # Step 0: adding subscription 869s # Sender: service :1.1 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via proxy 869s # Waiting for AddMatch to be processed 869s # Step 1: adding subscription 869s # Sender: (any) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: (any) 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Cannot subscribe via proxy: no bus name 869s # Waiting for AddMatch to be processed 869s # Step 2: adding subscription 869s # Sender: (any) 869s # Path: (any) 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Cannot subscribe via proxy: no bus name 869s # Waiting for AddMatch to be processed 869s # Step 3: adding subscription 869s # Sender: service :1.1 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via proxy 869s # Waiting for AddMatch to be processed 869s # Step 4: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via proxy 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 4 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via proxy 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 4 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 11 /gdbus/subscribe/proxy/match_twice 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 869s # Step 0: adding subscription 869s # Sender: service :1.1 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via proxy 869s # Waiting for AddMatch to be processed 869s # Step 1: emitting signal 869s # Sender: attacker 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 2: emitting signal 869s # Sender: attacker 869s # Destination: subscriber :1.0 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 3: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via proxy 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 3 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 869s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 869s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 869s # Step 0: adding subscription 869s # Sender: :0.this.had.better.not.exist 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via proxy 869s # Waiting for AddMatch to be processed 869s # Step 1: emitting signal 869s # Sender: attacker 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 2: emitting signal 869s # Sender: attacker 869s # Destination: subscriber :1.0 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 869s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 869s # /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 869s # Step 0: claiming bus name 869s # Name: org.gtk.Test.AlreadyOwned 869s # Owner: service 869s # Step 1: adding subscription 869s # Sender: org.gtk.Test.AlreadyOwned 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via proxy 869s # Waiting for AddMatch to be processed 869s # Step 2: adding subscription 869s # Sender: org.gtk.Test.OwnedLater 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: (any) 869s # String argument 0: (any) 869s # Flags: 0 869s # Subscribing via proxy 869s # Waiting for AddMatch to be processed 869s # Step 3: emitting signal 869s # Sender: attacker 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 4: emitting signal 869s # Sender: attacker 869s # Destination: subscriber :1.0 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 5: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Step 6: claiming bus name 869s # Name: org.gtk.Test.OwnedLater 869s # Owner: service 869s # Step 7: emitting signal 869s # Sender: service 869s # Destination: (broadcast) 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Waiting for signal to reach message bus 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via proxy 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 5 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via proxy 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 7 869s # Signal received from service :1.1 869s # Signal received from service :1.1 via proxy 869s # Path: /org/gtk/GDBus/ExampleInterface 869s # Interface: org.gtk.GDBus.ExampleInterface 869s # Member: Foo 869s # Argument 0: (not a string) 869s # Sent in step: 7 869s # Received Finished signal from subscriber :1.0 869s # Received Finished signal from service :1.1 869s # Received Finished signal from service 2 :1.2 869s # Received Finished signal from attacker :1.3 869s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 869s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 869s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 869s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 869s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 869s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 869s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 869s # subscriber is :1.0 869s # service is :1.1 869s # service 2 is :1.2 869s # attacker is :1.3 869s # Waiting for AddMatch to be processed 870s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 870s # Step 0: adding subscription 870s # Sender: org.freedesktop.DBus 870s # Path: /org/freedesktop/DBus 870s # Interface: org.freedesktop.DBus 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via proxy 870s # Waiting for AddMatch to be processed 870s # Step 1: emitting signal 870s # Sender: attacker 870s # Destination: (broadcast) 870s # Path: /org/freedesktop/DBus 870s # Interface: org.freedesktop.DBus 870s # Member: NameOwnerChanged 870s # String argument 0: would I lie to you? 870s # Waiting for signal to reach message bus 870s # Step 2: emitting signal 870s # Sender: attacker 870s # Destination: subscriber :1.0 870s # Path: /org/freedesktop/DBus 870s # Interface: org.freedesktop.DBus 870s # Member: NameOwnerChanged 870s # Waiting for signal to reach message bus 870s # Step 3: claiming bus name 870s # Name: org.gtk.Test.OwnedLater 870s # Owner: service 870s # Signal received from message bus org.freedesktop.DBus 870s # Signal received from (unused) org.freedesktop.DBus via proxy 870s # Path: /org/freedesktop/DBus 870s # Interface: org.freedesktop.DBus 870s # Member: NameOwnerChanged 870s # Received Finished signal from subscriber :1.0 870s # Received Finished signal from service :1.1 870s # Received Finished signal from service 2 :1.2 870s # Received Finished signal from attacker :1.3 870s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 870s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 870s # subscriber is :1.0 870s # service is :1.1 870s # service 2 is :1.2 870s # attacker is :1.3 870s # Waiting for AddMatch to be processed 870s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 870s # Step 0: claiming bus name 870s # Name: org.gtk.Test.AlreadyOwned 870s # Owner: service 870s # Step 1: adding subscription 870s # Sender: org.gtk.Test.AlreadyOwned 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via proxy 870s # Waiting for AddMatch to be processed 870s # Step 2: emitting signal 870s # Sender: service 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via proxy 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 2 870s # Received Finished signal from subscriber :1.0 870s # Received Finished signal from service :1.1 870s # Received Finished signal from service 2 :1.2 870s # Received Finished signal from attacker :1.3 870s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 870s # End of proxy tests 870s # Start of parallel tests 870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/simple/.dirs/home 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/simple/.dirs/cache 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/simple/.dirs/system-config2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/simple/.dirs/config 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/simple/.dirs/system-data2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/simple/.dirs/data 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/simple/.dirs/state 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/simple/.dirs/runtime 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 870s # subscriber is :1.0 870s # service is :1.1 870s # service 2 is :1.2 870s # attacker is :1.3 870s # Waiting for AddMatch to be processed 870s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 870s # Step 0: emitting signal 870s # Sender: service 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Step 1: adding subscription 870s # Sender: (any) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via connection 870s # Cannot subscribe via proxy: no bus name 870s # Waiting for AddMatch to be processed 870s # Step 2: emitting signal 870s # Sender: service 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 2 870s # Received Finished signal from subscriber :1.0 870s # Received Finished signal from service :1.1 870s # Received Finished signal from service 2 :1.2 870s # Received Finished signal from attacker :1.3 870s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 870s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 870s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s ok 17 /gdbus/subscribe/parallel/simple 870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 870s # subscriber is :1.0 870s # service is :1.1 870s # service 2 is :1.2 870s # attacker is :1.3 870s # Waiting for AddMatch to be processed 870s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 870s # Step 0: adding subscription 870s # Sender: (any) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via connection 870s # Cannot subscribe via proxy: no bus name 870s # Waiting for AddMatch to be processed 870s # Step 1: emitting signal 870s # Sender: service 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Step 2: emitting signal 870s # Sender: service 2 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Step 3: emitting signal 870s # Sender: service 870s # Destination: subscriber :1.0 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Step 4: emitting signal 870s # Sender: service 2 870s # Destination: subscriber :1.0 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 1 870s # Signal received from service 2 :1.2 870s # Signal received from service 2 :1.2 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 2 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 3 870s # Signal received from service 2 :1.2 870s # Signal received from service 2 :1.2 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 4 870s # Received Finished signal from subscriber :1.0 870s # Received Finished signal from service :1.1 870s # Received Finished signal from service 2 :1.2 870s # Received Finished signal from attacker :1.3 870s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 870s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 870s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 870s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 870s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/match_twice/.dirs/home 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/match_twice/.dirs/cache 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/match_twice/.dirs/config 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/match_twice/.dirs/data 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/match_twice/.dirs/state 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 870s # subscriber is :1.0 870s # service is :1.1 870s # service 2 is :1.2 870s # attacker is :1.3 870s # Waiting for AddMatch to be processed 870s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 870s # Step 0: adding subscription 870s # Sender: service :1.1 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via connection 870s # Subscribing via proxy 870s # Waiting for AddMatch to be processed 870s # Step 1: adding subscription 870s # Sender: (any) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: (any) 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via connection 870s # Cannot subscribe via proxy: no bus name 870s # Waiting for AddMatch to be processed 870s # Step 2: adding subscription 870s # Sender: (any) 870s # Path: (any) 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via connection 870s # Cannot subscribe via proxy: no bus name 870s # Waiting for AddMatch to be processed 870s # Step 3: adding subscription 870s # Sender: service :1.1 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via connection 870s # Subscribing via proxy 870s # Waiting for AddMatch to be processed 870s # Step 4: emitting signal 870s # Sender: service 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 4 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via proxy 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 4 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 4 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via proxy 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 4 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 4 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 4 870s # Received Finished signal from subscriber :1.0 870s # Received Finished signal from service :1.1 870s # Received Finished signal from service 2 :1.2 870s # Received Finished signal from attacker :1.3 870s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 870s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s ok 19 /gdbus/subscribe/parallel/match_twice 870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 870s # subscriber is :1.0 870s # service is :1.1 870s # service 2 is :1.2 870s # attacker is :1.3 870s # Waiting for AddMatch to be processed 870s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 870s # Step 0: adding subscription 870s # Sender: service :1.1 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via connection 870s # Subscribing via proxy 870s # Waiting for AddMatch to be processed 870s # Step 1: emitting signal 870s # Sender: attacker 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Step 2: emitting signal 870s # Sender: attacker 870s # Destination: subscriber :1.0 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Step 3: emitting signal 870s # Sender: service 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 3 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via proxy 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 3 870s # Received Finished signal from subscriber :1.0 870s # Received Finished signal from service :1.1 870s # Received Finished signal from service 2 :1.2 870s # Received Finished signal from attacker :1.3 870s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 870s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 870s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 870s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 870s # subscriber is :1.0 870s # service is :1.1 870s # service 2 is :1.2 870s # attacker is :1.3 870s # Waiting for AddMatch to be processed 870s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 870s # Step 0: adding subscription 870s # Sender: :0.this.had.better.not.exist 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via connection 870s # Subscribing via proxy 870s # Waiting for AddMatch to be processed 870s # Step 1: emitting signal 870s # Sender: attacker 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Step 2: emitting signal 870s # Sender: attacker 870s # Destination: subscriber :1.0 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Received Finished signal from subscriber :1.0 870s # Received Finished signal from service :1.1 870s # Received Finished signal from service 2 :1.2 870s # Received Finished signal from attacker :1.3 870s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 870s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 870s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 870s # subscriber is :1.0 870s # service is :1.1 870s # service 2 is :1.2 870s # attacker is :1.3 870s # Waiting for AddMatch to be processed 870s # /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 870s # Step 0: claiming bus name 870s # Name: org.gtk.Test.AlreadyOwned 870s # Owner: service 870s # Step 1: adding subscription 870s # Sender: org.gtk.Test.AlreadyOwned 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via connection 870s # Subscribing via proxy 870s # Waiting for AddMatch to be processed 870s # Step 2: adding subscription 870s # Sender: org.gtk.Test.OwnedLater 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via connection 870s # Subscribing via proxy 870s # Waiting for AddMatch to be processed 870s # Step 3: emitting signal 870s # Sender: attacker 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Step 4: emitting signal 870s # Sender: attacker 870s # Destination: subscriber :1.0 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Step 5: emitting signal 870s # Sender: service 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Step 6: claiming bus name 870s # Name: org.gtk.Test.OwnedLater 870s # Owner: service 870s # Step 7: emitting signal 870s # Sender: service 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 5 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via proxy 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 5 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 7 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via proxy 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 7 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via connection 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 7 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via proxy 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 7 870s # Received Finished signal from subscriber :1.0 870s # Received Finished signal from service :1.1 870s # Received Finished signal from service 2 :1.2 870s # Received Finished signal from attacker :1.3 870s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 870s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 870s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 870s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 870s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 870s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 870s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 870s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 870s # subscriber is :1.0 870s # service is :1.1 870s # service 2 is :1.2 870s # attacker is :1.3 870s # Waiting for AddMatch to be processed 870s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 870s # Step 0: adding subscription 870s # Sender: org.freedesktop.DBus 870s # Path: /org/freedesktop/DBus 870s # Interface: org.freedesktop.DBus 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via connection 870s # Subscribing via proxy 870s # Waiting for AddMatch to be processed 870s # Step 1: emitting signal 870s # Sender: attacker 870s # Destination: (broadcast) 870s # Path: /org/freedesktop/DBus 870s # Interface: org.freedesktop.DBus 870s # Member: NameOwnerChanged 870s # String argument 0: would I lie to you? 870s # Waiting for signal to reach message bus 870s # Step 2: emitting signal 870s # Sender: attacker 870s # Destination: subscriber :1.0 870s # Path: /org/freedesktop/DBus 870s # Interface: org.freedesktop.DBus 870s # Member: NameOwnerChanged 870s # Waiting for signal to reach message bus 870s # Step 3: claiming bus name 870s # Name: org.gtk.Test.OwnedLater 870s # Owner: service 870s # Signal received from message bus org.freedesktop.DBus 870s # Signal received from (unused) org.freedesktop.DBus via connection 870s # Path: /org/freedesktop/DBus 870s # Interface: org.freedesktop.DBus 870s # Member: NameOwnerChanged 870s # Signal received from message bus org.freedesktop.DBus 870s # Signal received from (unused) org.freedesktop.DBus via proxy 870s # Path: /org/freedesktop/DBus 870s # Interface: org.freedesktop.DBus 870s # Member: NameOwnerChanged 870s # Received Finished signal from subscriber :1.0 870s # Received Finished signal from service :1.1 870s # Received Finished signal from service 2 :1.2 870s # Received Finished signal from attacker :1.3 870s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 870s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 870s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 870s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 870s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_VZXQX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 870s # subscriber is :1.0 870s # service is :1.1 870s # service 2 is :1.2 870s # attacker is :1.3 870s # Waiting for AddMatch to be processed 870s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 870s # Step 0: claiming bus name 870s # Name: org.gtk.Test.AlreadyOwned 870s # Owner: service 870s # Step 1: adding subscription 870s # Sender: org.gtk.Test.AlreadyOwned 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: (any) 870s # String argument 0: (any) 870s # Flags: 0 870s # Subscribing via connection 870s # Immediately unsubscribing 870s # Subscribing via proxy 870s # Waiting for AddMatch to be processed 870s # Step 2: emitting signal 870s # Sender: service 870s # Destination: (broadcast) 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Waiting for signal to reach message bus 870s # Signal received from service :1.1 870s # Signal received from service :1.1 via proxy 870s # Path: /org/gtk/GDBus/ExampleInterface 870s # Interface: org.gtk.GDBus.ExampleInterface 870s # Member: Foo 870s # Argument 0: (not a string) 870s # Sent in step: 2 870s # Received Finished signal from subscriber :1.0 870s # Received Finished signal from service :1.1 870s # Received Finished signal from service 2 :1.2 870s # Received Finished signal from attacker :1.3 870s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 870s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 870s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 870s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 870s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 870s # End of parallel tests 870s # End of subscribe tests 870s # End of gdbus tests 870s ok - glib/gdbus-subscribe.test 870s # Running test: glib/hmac.test 870s TAP version 14 870s # random seed: R02S436f6f558919e2d3d65ecd711c3191af 870s 1..37 870s # Start of hmac tests 870s ok 1 /hmac/sha1-1 870s ok 2 /hmac/sha1-2 870s ok 3 /hmac/sha1-3 870s ok 4 /hmac/sha1-4 870s ok 5 /hmac/sha1-5 870s ok 6 /hmac/sha1-6 870s ok 7 /hmac/sha1-7 870s ok 8 /hmac/sha256-1 870s ok 9 /hmac/sha256-2 870s ok 10 /hmac/sha256-3 870s ok 11 /hmac/sha256-4 870s ok 12 /hmac/sha256-5 870s ok 13 /hmac/sha256-6 870s ok 14 /hmac/sha384-1 870s ok 15 /hmac/sha384-2 870s ok 16 /hmac/sha384-3 870s ok 17 /hmac/sha384-4 870s ok 18 /hmac/sha384-5 870s ok 19 /hmac/sha384-6 870s ok 20 /hmac/sha512-1 870s ok 21 /hmac/sha512-2 870s ok 22 /hmac/sha512-3 870s ok 23 /hmac/sha512-4 870s ok 24 /hmac/sha512-5 870s ok 25 /hmac/sha512-6 870s ok 26 /hmac/md5-1 870s ok 27 /hmac/md5-2 870s ok 28 /hmac/md5-3 870s ok 29 /hmac/md5-4 870s ok 30 /hmac/md5-5 870s ok 31 /hmac/md5-6 870s ok 32 /hmac/md5-7 870s ok 33 /hmac/ref-unref 870s ok 34 /hmac/copy 870s ok 35 /hmac/for-data 870s ok 36 /hmac/for-string 870s ok 37 /hmac/for-bytes 870s # End of hmac tests 870s ok - glib/hmac.test 870s # Running test: glib/value.test 870s TAP version 14 870s # random seed: R02S6310067f8569e3835245e2cef6961af2 870s 1..9 870s # Start of value tests 870s ok 1 /value/basic 870s ok 2 /value/collection 870s ok 3 /value/copying 870s ok 4 /value/enum-transformation 870s ok 5 /value/gtype 870s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 870s ok 6 /value/string 870s # Next: GObject object in GValue of GObject to GValue of GObject 870s # Next: GObject object in GValue of GObject to GValue of TestInterface 870s # Next: GObject object in GValue of GObject to GValue of TestObjectA 870s # Next: GObject object in GValue of GObject to GValue of TestObjectB 870s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 870s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 870s # Next: TestObjectA object in GValue of GObject to GValue of GObject 870s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 870s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 870s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 870s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 870s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 870s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 870s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 870s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 870s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 870s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 870s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 870s # Next: TestObjectB object in GValue of GObject to GValue of GObject 870s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 870s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 870s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 870s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 870s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 870s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 870s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 870s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 870s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 870s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 870s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 870s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 870s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 870s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 870s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 870s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 870s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 870s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 870s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 870s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 870s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 870s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 870s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 870s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 870s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 870s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 870s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 870s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 870s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 870s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 870s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 870s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 870s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 870s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 870s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 870s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 870s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 870s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 870s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 870s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 870s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 870s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 870s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 870s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 870s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 870s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 870s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 870s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 870s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 870s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 870s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 870s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 870s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 870s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 870s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 870s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 870s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 870s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 870s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 870s ok 7 /value/transform-object 870s # Start of array tests 870s ok 8 /value/array/basic 870s ok 9 /value/array/sort-with-data 870s # End of array tests 870s # End of value tests 870s ok - glib/value.test 870s # Running test: glib/power-profile-monitor-dbus.test 870s TAP version 13 870s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 870s 1..1 870s ok - glib/power-profile-monitor-dbus.test 870s # Running test: glib/resources.test 870s TAP version 14 870s # random seed: R02Sae10a3298928e30524a432e9ecfa0f19 870s 1..17 870s # Start of resource tests 870s ok 1 /resource/file 870s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 870s ok 2 /resource/file-path 870s ok 3 /resource/data 870s ok 4 /resource/data_unaligned 870s ok 5 /resource/data-corrupt 870s ok 6 /resource/data-empty 870s ok 7 /resource/registered 870s ok 8 /resource/manual 870s ok 9 /resource/manual2 870s ok 10 /resource/automatic 870s ok 11 /resource/module 870s ok 12 /resource/binary-linked 870s ok 13 /resource/64k 870s GLib-GIO-Message: 02:12:39.512: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 870s ok 14 /resource/overlay 870s ok 15 /resource/digits 870s # Start of uri tests 870s ok 16 /resource/uri/query-info 870s ok 17 /resource/uri/file 870s # End of uri tests 870s # End of resource tests 870s ok - glib/resources.test 870s # Running test: glib/network-monitor-race.test 870s TAP version 14 870s # random seed: R02Sd4847b34227ecb10501aba7217e7fe42 870s 1..1 870s # Start of network-monitor tests 870s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 872s # Executing: glib/network-monitor-race.test 872s ok 1 /network-monitor/create-in-thread 872s # slow test /network-monitor/create-in-thread executed in 2.15 secs 872s # End of network-monitor tests 872s ok - glib/network-monitor-race.test 872s # Running test: glib/environment.test 872s TAP version 14 872s # random seed: R02S607469ecf06f0cf8830ab9f06c95149e 872s 1..6 872s # Start of environ tests 872s # /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. 872s ok 1 /environ/listenv 872s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 872s ok 2 /environ/getenv 872s ok 3 /environ/setenv 872s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 872s ok 4 /environ/array 872s # /environ/null summary: Test getting and setting variables on a NULL envp array. 872s ok 5 /environ/null 872s # /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. 872s ok 6 /environ/case 872s # End of environ tests 872s ok - glib/environment.test 872s # Running test: glib/gdatetime.test 872s TAP version 14 872s # random seed: R02Sa599e9d202fabd58c9ed2b8c01a36697 872s 1..68 872s # Start of GDateTime tests 872s # Bug Reference: http://bugzilla.gnome.org/702674 872s ok 1 /GDateTime/invalid 872s ok 2 /GDateTime/add_days 872s ok 3 /GDateTime/add_full 872s ok 4 /GDateTime/add_hours 872s ok 5 /GDateTime/add_minutes 872s ok 6 /GDateTime/add_months 872s ok 7 /GDateTime/add_seconds 872s ok 8 /GDateTime/add_weeks 872s ok 9 /GDateTime/add_years 872s ok 10 /GDateTime/compare 872s ok 11 /GDateTime/diff 872s ok 12 /GDateTime/equal 872s ok 13 /GDateTime/get_day_of_week 872s ok 14 /GDateTime/get_day_of_month 872s ok 15 /GDateTime/get_day_of_year 872s ok 16 /GDateTime/get_hour 872s ok 17 /GDateTime/get_microsecond 872s ok 18 /GDateTime/get_minute 872s ok 19 /GDateTime/get_month 872s ok 20 /GDateTime/get_second 872s ok 21 /GDateTime/get_utc_offset 872s ok 22 /GDateTime/get_year 872s ok 23 /GDateTime/hash 872s ok 24 /GDateTime/new_from_unix 872s ok 25 /GDateTime/new_from_unix_utc 872s ok 26 /GDateTime/new_from_timeval 872s ok 27 /GDateTime/new_from_timeval_utc 872s ok 28 /GDateTime/new_from_iso8601 872s ok 29 /GDateTime/new_full 872s ok 30 /GDateTime/now 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 872s ok 31 /GDateTime/test-6-days-until-end-of-the-month 872s # %a -> expected: Sat 872s # %a -> actual: Sat 872s # %A -> expected: Saturday 872s # %A -> actual: Saturday 872s # %b -> expected: Oct 872s # %b -> actual: Oct 872s # %B -> expected: October 872s # %B -> actual: October 872s # %d -> expected: 24 872s # %d -> actual: 24 872s # %d -> expected: 01 872s # %d -> actual: 01 872s # %e -> expected: 24 872s # %e -> actual: 24 872s # %e -> expected:  1 872s # %e -> actual:  1 872s # %f -> expected: 001000 872s # %f -> actual: 001000 872s # %h -> expected: Oct 872s # %h -> actual: Oct 872s # %H -> expected: 00 872s # %H -> actual: 00 872s # %H -> expected: 15 872s # %H -> actual: 15 872s # %I -> expected: 12 872s # %I -> actual: 12 872s # %I -> expected: 12 872s # %I -> actual: 12 872s # %I -> expected: 03 872s # %I -> actual: 03 872s # %j -> expected: 297 872s # %j -> actual: 297 872s # %k -> expected:  0 872s # %k -> actual:  0 872s # %k -> expected: 13 872s # %k -> actual: 13 872s # %l -> expected: 12 872s # %l -> actual: 12 872s # %I -> expected: 12 872s # %I -> actual: 12 872s # %l -> expected:  1 872s # %l -> actual:  1 872s # %l -> expected: 10 872s # %l -> actual: 10 872s # %m -> expected: 10 872s # %m -> actual: 10 872s # %M -> expected: 00 872s # %M -> actual: 00 872s # %p -> expected: AM 872s # %p -> actual: AM 872s # %p -> expected: PM 872s # %p -> actual: PM 872s # %P -> expected: am 872s # %P -> actual: am 872s # %P -> expected: pm 872s # %P -> actual: pm 872s # %r -> expected: 12:00:00 AM 872s # %r -> actual: 12:00:00 AM 872s # %r -> expected: 01:13:13 PM 872s # %r -> actual: 01:13:13 PM 872s # %R -> expected: 00:00 872s # %R -> actual: 00:00 872s # %R -> expected: 13:13 872s # %R -> actual: 13:13 872s # %S -> expected: 00 872s # %S -> actual: 00 872s # %t -> expected: 872s # %t -> actual: 872s # %u -> expected: 6 872s # %u -> actual: 6 872s # %x -> expected: 10/24/09 872s # %x -> actual: 10/24/09 872s # %X -> expected: 00:00:00 872s # %X -> actual: 00:00:00 872s # %X -> expected: 13:14:15 872s # %X -> actual: 13:14:15 872s # %y -> expected: 09 872s # %y -> actual: 09 872s # %Y -> expected: 2009 872s # %Y -> actual: 2009 872s # %% -> expected: % 872s # %% -> actual: % 872s # % -> expected: 872s # % -> actual: 872s # %9 -> expected: (null) 872s # %9 -> actual: (null) 872s # %Z -> expected: UTC 872s # %Z -> actual: UTC 872s ok 32 /GDateTime/printf 872s # %a -> expected: ÅÚ 872s # %a -> actual: ÅÚ 872s # %A -> expected: ÅÚÍËÆü 872s # %A -> actual: ÅÚÍËÆü 872s # %b -> expected: 10·î 872s # %b -> actual: 10·î 872s # %B -> expected: 10·î 872s # %B -> actual: 10·î 872s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 872s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 872s # %C -> expected: 20 872s # %C -> actual: 20 872s # %d -> expected: 24 872s # %d -> actual: 24 872s # %d -> expected: 01 872s # %d -> actual: 01 872s # %e -> expected: 24 872s # %e -> actual: 24 872s # %h -> expected: 10·î 872s # %h -> actual: 10·î 872s # %H -> expected: 00 872s # %H -> actual: 00 872s # %H -> expected: 15 872s # %H -> actual: 15 872s # %I -> expected: 12 872s # %I -> actual: 12 872s # %I -> expected: 12 872s # %I -> actual: 12 872s # %I -> expected: 03 872s # %I -> actual: 03 872s # %j -> expected: 297 872s # %j -> actual: 297 872s # %k -> expected: ?0 872s # %k -> actual: ?0 872s # %k -> expected: 13 872s # %k -> actual: 13 872s # %l -> expected: 12 872s # %l -> actual: 12 872s # %I -> expected: 12 872s # %I -> actual: 12 872s # %l -> expected: ?1 872s # %l -> actual: ?1 872s # %l -> expected: 10 872s # %l -> actual: 10 872s # %m -> expected: 10 872s # %m -> actual: 10 872s # %M -> expected: 00 872s # %M -> actual: 00 872s # %p -> expected: ¸áÁ° 872s # %p -> actual: ¸áÁ° 872s # %p -> expected: ¸á¸å 872s # %p -> actual: ¸á¸å 872s # %P -> expected: ¸áÁ° 872s # %P -> actual: ¸áÁ° 872s # %P -> expected: ¸á¸å 872s # %P -> actual: ¸á¸å 872s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 872s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 872s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 872s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 872s # %R -> expected: 00:00 872s # %R -> actual: 00:00 872s # %R -> expected: 13:13 872s # %R -> actual: 13:13 872s # %S -> expected: 00 872s # %S -> actual: 00 872s # %t -> expected: 872s # %t -> actual: 872s # %u -> expected: 6 872s # %u -> actual: 6 872s # %x -> expected: 2009ǯ10·î24Æü 872s # %x -> actual: 2009ǯ10·î24Æü 872s # %X -> expected: 00»þ00ʬ00Éà 872s # %X -> actual: 00»þ00ʬ00Éà 872s # %X -> expected: 13»þ14ʬ15Éà 872s # %X -> actual: 13»þ14ʬ15Éà 872s # %y -> expected: 09 872s # %y -> actual: 09 872s # %Y -> expected: 2009 872s # %Y -> actual: 2009 872s # %% -> expected: % 872s # %% -> actual: % 872s # % -> expected: 872s # % -> actual: 872s # %9 -> expected: (null) 872s # %9 -> actual: (null) 872s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 872s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 872s # %EC -> expected: Ê¿À® 872s # %EC -> actual: Ê¿À® 872s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 872s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 872s # %EX -> expected: 00»þ00ʬ00Éà 872s # %EX -> actual: 00»þ00ʬ00Éà 872s # %Ey -> expected: 21 872s # %Ey -> actual: 21 872s # %EY -> expected: Ê¿À®21ǯ 872s # %EY -> actual: Ê¿À®21ǯ 872s ok 33 /GDateTime/non_utf8_printf 872s # ???? -> expected: ???? 872s # ???? -> actual: ???? 872s # %H?%M -> expected: 23?15 872s # %H?%M -> actual: 23?15 872s # %H?%M -> expected: 23?15 872s # %H?%M -> actual: 23?15 872s ok 34 /GDateTime/format_unrepresentable 872s ok 35 /GDateTime/format_iso8601 872s ok 36 /GDateTime/strftime 872s # %d -> expected: 01 872s # %d -> actual: 01 872s # %_d -> expected: 1 872s # %_d -> actual: 1 872s # %-d -> expected: 1 872s # %-d -> actual: 1 872s # %0d -> expected: 01 872s # %0d -> actual: 01 872s # %d -> expected: 21 872s # %d -> actual: 21 872s # %_d -> expected: 21 872s # %_d -> actual: 21 872s # %-d -> expected: 21 872s # %-d -> actual: 21 872s # %0d -> expected: 21 872s # %0d -> actual: 21 872s # %e -> expected:  1 872s # %e -> actual:  1 872s # %_e -> expected: 1 872s # %_e -> actual: 1 872s # %-e -> expected: 1 872s # %-e -> actual: 1 872s # %0e -> expected: 01 872s # %0e -> actual: 01 872s # %e -> expected: 21 872s # %e -> actual: 21 872s # %_e -> expected: 21 872s # %_e -> actual: 21 872s # %-e -> expected: 21 872s # %-e -> actual: 21 872s # %0e -> expected: 21 872s # %0e -> actual: 21 872s # %a -> expected: Thu 872s # %a -> actual: Thu 872s # %^a -> expected: THU 872s # %^a -> actual: THU 872s # %#a -> expected: THU 872s # %#a -> actual: THU 872s # %A -> expected: Thursday 872s # %A -> actual: Thursday 872s # %^A -> expected: THURSDAY 872s # %^A -> actual: THURSDAY 872s # %#A -> expected: THURSDAY 872s # %#A -> actual: THURSDAY 872s # %b -> expected: Jan 872s # %b -> actual: Jan 872s # %^b -> expected: JAN 872s # %^b -> actual: JAN 872s # %#b -> expected: JAN 872s # %#b -> actual: JAN 872s # %B -> expected: January 872s # %B -> actual: January 872s # %^B -> expected: JANUARY 872s # %^B -> actual: JANUARY 872s # %#B -> expected: JANUARY 872s # %#B -> actual: JANUARY 872s # %h -> expected: Jan 872s # %h -> actual: Jan 872s # %^h -> expected: JAN 872s # %^h -> actual: JAN 872s # %#h -> expected: JAN 872s # %#h -> actual: JAN 872s # %Z -> expected: UTC 872s # %Z -> actual: UTC 872s # %^Z -> expected: UTC 872s # %^Z -> actual: UTC 872s # %#Z -> expected: utc 872s # %#Z -> actual: utc 872s # %H -> expected: 01 872s # %H -> actual: 01 872s # %_H -> expected: 1 872s # %_H -> actual: 1 872s # %-H -> expected: 1 872s # %-H -> actual: 1 872s # %0H -> expected: 01 872s # %0H -> actual: 01 872s # %H -> expected: 21 872s # %H -> actual: 21 872s # %_H -> expected: 21 872s # %_H -> actual: 21 872s # %-H -> expected: 21 872s # %-H -> actual: 21 872s # %0H -> expected: 21 872s # %0H -> actual: 21 872s # %I -> expected: 01 872s # %I -> actual: 01 872s # %_I -> expected: 1 872s # %_I -> actual: 1 872s # %-I -> expected: 1 872s # %-I -> actual: 1 872s # %0I -> expected: 01 872s # %0I -> actual: 01 872s # %I -> expected: 11 872s # %I -> actual: 11 872s # %_I -> expected: 11 872s # %_I -> actual: 11 872s # %-I -> expected: 11 872s # %-I -> actual: 11 872s # %0I -> expected: 11 872s # %0I -> actual: 11 872s # %k -> expected:  1 872s # %k -> actual:  1 872s # %_k -> expected: 1 872s # %_k -> actual: 1 872s # %-k -> expected: 1 872s # %-k -> actual: 1 872s # %0k -> expected: 01 872s # %0k -> actual: 01 872s # %l -> expected:  1 872s # %l -> actual:  1 872s # %_l -> expected: 1 872s # %_l -> actual: 1 872s # %-l -> expected: 1 872s # %-l -> actual: 1 872s # %0l -> expected: 01 872s # %0l -> actual: 01 872s # %l -> expected: 11 872s # %l -> actual: 11 872s # %_l -> expected: 11 872s # %_l -> actual: 11 872s # %-l -> expected: 11 872s # %-l -> actual: 11 872s # %0l -> expected: 11 872s # %0l -> actual: 11 872s # %p -> expected: AM 872s # %p -> actual: AM 872s # %^p -> expected: AM 872s # %^p -> actual: AM 872s # %#p -> expected: am 872s # %#p -> actual: am 872s # %P -> expected: am 872s # %P -> actual: am 872s # %^P -> expected: AM 872s # %^P -> actual: AM 872s # %#P -> expected: am 872s # %#P -> actual: am 872s # %OH -> expected: Û²Û³ 872s # %OH -> actual: Û²Û³ 872s # %OI -> expected: Û±Û± 872s # %OI -> actual: Û±Û± 872s # %OM -> expected: Û°Û° 872s # %OM -> actual: Û°Û° 872s # %Om -> expected: Û°Û· 872s # %Om -> actual: Û°Û· 872s # %0Om -> expected: Û°Û· 872s # %0Om -> actual: Û°Û· 872s # %-Om -> expected: Û· 872s # %-Om -> actual: Û· 872s # %_Om -> expected: Û· 872s # %_Om -> actual: Û· 872s # %c -> expected: thu 01 jan 2009 00:00:00 utc 872s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 872s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 872s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 872s # %C -> expected: 20 872s # %C -> actual: 20 872s # %EC -> expected: 20 872s # %EC -> actual: 20 872s # %x -> expected: 02/01/09 872s # %x -> actual: 02/01/09 872s # %Ex -> expected: 02/01/09 872s # %Ex -> actual: 02/01/09 872s # %X -> expected: 01:02:03 872s # %X -> actual: 01:02:03 872s # %EX -> expected: 01:02:03 872s # %EX -> actual: 01:02:03 872s # %y -> expected: 09 872s # %y -> actual: 09 872s # %Ey -> expected: 09 872s # %Ey -> actual: 09 872s # %Y -> expected: 2009 872s # %Y -> actual: 2009 872s # %EY -> expected: 2009 872s # %EY -> actual: 2009 872s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 872s # Bug Reference: http://bugzilla.gnome.org/749206 872s # %B -> expected: January 872s # %B -> actual: January 872s # %OB -> expected: February 872s # %OB -> actual: February 872s # %b -> expected: Mar 872s # %b -> actual: Mar 872s # %Ob -> expected: Apr 872s # %Ob -> actual: Apr 872s # %h -> expected: May 872s # %h -> actual: May 872s # %Oh -> expected: Jun 872s # %Oh -> actual: Jun 872s # %B -> expected: Juli 872s # %B -> actual: Juli 872s # %OB -> expected: August 872s # %OB -> actual: August 872s # %b -> expected: Sep 872s # %b -> actual: Sep 872s # %Ob -> expected: Okt 872s # %Ob -> actual: Okt 872s # %h -> expected: Nov 872s # %h -> actual: Nov 872s # %Oh -> expected: Dez 872s # %Oh -> actual: Dez 872s # %B -> expected: enero 872s # %B -> actual: enero 872s # %OB -> expected: febrero 872s # %OB -> actual: febrero 872s # %b -> expected: mar 872s # %b -> actual: mar 872s # %Ob -> expected: abr 872s # %Ob -> actual: abr 872s # %h -> expected: may 872s # %h -> actual: may 872s # %Oh -> expected: jun 872s # %Oh -> actual: jun 872s # %B -> expected: juillet 872s # %B -> actual: juillet 872s # %OB -> expected: août 872s # %OB -> actual: août 872s # %b -> expected: sept. 872s # %b -> actual: sept. 872s # %Ob -> expected: oct. 872s # %Ob -> actual: oct. 872s # %h -> expected: nov. 872s # %h -> actual: nov. 872s # %Oh -> expected: déc. 872s # %Oh -> actual: déc. 872s # %B -> expected: ΙανουαÏίου 872s # %B -> actual: ΙανουαÏίου 872s # %B -> expected: ΦεβÏουαÏίου 872s # %B -> actual: ΦεβÏουαÏίου 872s # %B -> expected: ΜαÏτίου 872s # %B -> actual: ΜαÏτίου 872s # %OB -> expected: ΑπÏίλιος 872s # %OB -> actual: ΑπÏίλιος 872s # %OB -> expected: Μάιος 872s # %OB -> actual: Μάιος 872s # %OB -> expected: ΙοÏνιος 872s # %OB -> actual: ΙοÏνιος 872s # %b -> expected: Ιουλ 872s # %b -> actual: Ιουλ 872s # %Ob -> expected: ΑÏγ 872s # %Ob -> actual: ΑÏγ 872s # %B -> expected: svibnja 872s # %B -> actual: svibnja 872s # %B -> expected: lipnja 872s # %B -> actual: lipnja 872s # %B -> expected: srpnja 872s # %B -> actual: srpnja 872s # %OB -> expected: Kolovoz 872s # %OB -> actual: kolovoz 872s # %OB -> expected: Rujan 872s # %OB -> actual: rujan 872s # %OB -> expected: Listopad 872s # %OB -> actual: listopad 872s # %b -> expected: Stu 872s # %b -> actual: stu 872s # %Ob -> expected: Pro 872s # %Ob -> actual: pro 872s # %B -> expected: sausio 872s # %B -> actual: sausio 872s # %B -> expected: vasario 872s # %B -> actual: vasario 872s # %B -> expected: kovo 872s # %B -> actual: kovo 872s # %OB -> expected: balandis 872s # %OB -> actual: balandis 872s # %OB -> expected: gegužė 872s # %OB -> actual: gegužė 872s # %OB -> expected: birželis 872s # %OB -> actual: birželis 872s # %b -> expected: liep. 872s # %b -> actual: liep. 872s # %Ob -> expected: rugp. 872s # %Ob -> actual: rugp. 872s # %B -> expected: maja 872s # %B -> actual: maja 872s # %B -> expected: czerwca 872s # %B -> actual: czerwca 872s # %B -> expected: lipca 872s # %B -> actual: lipca 872s # %OB -> expected: sierpieÅ„ 872s # %OB -> actual: sierpieÅ„ 872s # %OB -> expected: wrzesieÅ„ 872s # %OB -> actual: wrzesieÅ„ 872s # %OB -> expected: październik 872s # %OB -> actual: październik 872s # %b -> expected: lis 872s # %b -> actual: lis 872s # %Ob -> expected: gru 872s # %Ob -> actual: gru 872s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 872s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 872s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 872s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 872s # %B -> expected: марта 872s # %B -> actual: марта 872s # %OB -> expected: Ðпрель 872s # %OB -> actual: Ðпрель 872s # %OB -> expected: Май 872s # %OB -> actual: Май 872s # %OB -> expected: Июнь 872s # %OB -> actual: Июнь 872s # %b -> expected: июл 872s # %b -> actual: июл 872s # %Ob -> expected: авг 872s # %Ob -> actual: авг 872s # %b -> expected: Ð¼Ð°Ñ 872s # %b -> actual: Ð¼Ð°Ñ 872s # %Ob -> expected: май 872s # %Ob -> actual: май 872s ok 38 /GDateTime/month_names 872s ok 39 /GDateTime/to_local 872s ok 40 /GDateTime/to_unix 872s ok 41 /GDateTime/to_timeval 872s ok 42 /GDateTime/to_utc 872s ok 43 /GDateTime/now_utc 872s ok 44 /GDateTime/dst 872s # Bug Reference: http://bugzilla.gnome.org/642935 872s ok 45 /GDateTime/test_z 873s ok 46 /GDateTime/test-all-dates 873s # slow test /GDateTime/test-all-dates executed in 0.94 secs 873s ok 47 /GDateTime/unix_usec 873s # Start of new_from_unix tests 873s # Bug Reference: http://bugzilla.gnome.org/782089 873s ok 48 /GDateTime/new_from_unix/overflow 873s # End of new_from_unix tests 873s # Start of new_from_timeval tests 873s # Bug Reference: http://bugzilla.gnome.org/782089 873s # Maximum supported GTimeVal.tv_sec = 253402300799 873s ok 49 /GDateTime/new_from_timeval/overflow 873s # End of new_from_timeval tests 873s # Start of new_from_iso8601 tests 873s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 873s # Vector 0: 1990-11-01T10:21:17Z 873s # Vector 1: 19901101T102117Z 873s # Vector 2: 1970-01-01T00:00:17.12Z 873s # Vector 3: 1970-01-01T00:00:17.1234Z 873s # Vector 4: 1970-01-01T00:00:17.123456Z 873s # Vector 5: 1980-02-22T12:36:00+02:00 873s # Vector 6: 1990-12-31T15:59:60-08:00 873s # Vector 7: 873s # Vector 8: x 873s # Vector 9: 123x 873s # Vector 10: 2001-10+x 873s # Vector 11: 1980-02-22T 873s # Vector 12: 2001-10-08Tx 873s # Vector 13: 2001-10-08T10:11x 873s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 873s # Vector 15: 1980-02-22T10:36:00Zulu 873s # Vector 16: 2T0+819855292164632335 873s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 873s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 873s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 873s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 873s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 873s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 873s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 873s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 873s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 873s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 873s # Vector 27: 20180803T140805.446178377+0100 873s # Vector 28: 21474836480803T140805.446178377+0100 873s # Vector 29: 20181303T140805.446178377+0100 873s # Vector 30: 20180003T140805.446178377+0100 873s # Vector 31: 20180800T140805.446178377+0100 873s # Vector 32: 20180832T140805.446178377+0100 873s # Vector 33: 20180803T240805.446178377+0100 873s # Vector 34: 20180803T146005.446178377+0100 873s # Vector 35: 20180803T140863.446178377+0100 873s # Vector 36: 20180803T140805.446178377+10000 873s # Vector 37: -0005-01-01T00:00:00Z 873s # Vector 38: 2018-08-06 873s # Vector 39: 20180803T140805,446178377+0100 873s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 873s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 873s # Vector 42: 1990-11-01T10:21:17 873s # Vector 43: 1719W462 407777-07 873s # Vector 44: 4011090 260528Z 873s # Vector 45: 0000W011 228214-22 873s ok 50 /GDateTime/new_from_iso8601/2 873s # End of new_from_iso8601 tests 873s # Start of format_mixed tests 873s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 873s # %b -> expected: mar 873s # %b -> actual: Mar 873s # %B -> expected: march 873s # %B -> actual: March 873s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 873s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 873s # %b -> expected: mar 873s # %b -> actual: Mar 873s # %B -> expected: march 873s # %B -> actual: March 873s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 873s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 873s # %b -> expected: Mär 873s # %b -> actual: Mär 873s # %B -> expected: März 873s # %B -> actual: März 873s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 873s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 873s # %b -> expected: Mär 873s # %b -> actual: Mär 873s # %B -> expected: März 873s # %B -> actual: März 873s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 873s # End of format_mixed tests 873s # Start of strftime tests 873s # %r -> expected: (null) 873s # %r -> actual: (null) 873s ok 55 /GDateTime/strftime/error_handling 873s # End of strftime tests 873s # Start of eras tests 873s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 873s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 873s # %EC -> expected: 令和 873s # %EC -> actual: 令和 873s # %Ex -> expected: 令和05å¹´06月01æ—¥ 873s # %Ex -> actual: 令和05å¹´06月01æ—¥ 873s # %EX -> expected: 00時00分00秒 873s # %EX -> actual: 00時00分00秒 873s # %Ey -> expected: 05 873s # %Ey -> actual: 05 873s # %EY -> expected: 令和05å¹´ 873s # %EY -> actual: 令和05å¹´ 873s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 873s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 873s # %EC -> expected: å¹³æˆ 873s # %EC -> actual: å¹³æˆ 873s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 873s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 873s # %EX -> expected: 00時00分00秒 873s # %EX -> actual: 00時00分00秒 873s # %Ey -> expected: 31 873s # %Ey -> actual: 31 873s # %EY -> expected: å¹³æˆ31å¹´ 873s # %EY -> actual: å¹³æˆ31å¹´ 873s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 873s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 873s # %EC -> expected: 昭和 873s # %EC -> actual: 昭和 873s # %Ex -> expected: 昭和元年12月25æ—¥ 873s # %Ex -> actual: 昭和元年12月25æ—¥ 873s # %EX -> expected: 00時00分00秒 873s # %EX -> actual: 00時00分00秒 873s # %Ey -> expected: 01 873s # %Ey -> actual: 01 873s # %EY -> expected: 昭和元年 873s # %EY -> actual: 昭和元年 873s ok 56 /GDateTime/eras/japan 873s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 873s # Vector 0: 873s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 873s # 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å¹´ 873s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 873s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 873s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 873s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 873s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 873s # Vector 8: + 873s # Vector 9: +: 873s # Vector 10: +:: 873s # Vector 11: +:200 873s # Vector 12: +:2nonsense 873s # Vector 13: +:2nonsense: 873s # Vector 14: +:2: 873s # Vector 15: +:2:: 873s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 873s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 873s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 873s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 873s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 873s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 873s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 873s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 873s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 873s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 873s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 873s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 873s # Vector 28: +:2:2020/01/01 873s # Vector 29: +:2:2020/01/01: 873s # Vector 30: +:2:2020/01/01:: 873s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 873s # Vector 32: +:2:2020/01/01:+* 873s # Vector 33: +:2:2020/01/01:+*: 873s # Vector 34: +:2:2020/01/01:+*:: 873s # Vector 35: +:2:2020/01/01:+*:令和 873s # Vector 36: +:2:2020/01/01:+*:令和: 873s # Vector 37: +:2:2020/01/01:+*:令和:; 873s ok 58 /GDateTime/eras/parsing 873s # End of eras tests 873s # End of GDateTime tests 873s # Start of GTimeZone tests 873s ok 59 /GTimeZone/find-interval 873s ok 60 /GTimeZone/adjust-time 873s ok 61 /GTimeZone/no-header 873s ok 62 /GTimeZone/no-header-identifier 873s ok 63 /GTimeZone/posix-parse 873s # Bug Reference: http://bugzilla.gnome.org/697715 873s ok 64 /GTimeZone/floating-point 873s # System time zone identifier: Etc/UTC 873s ok 65 /GTimeZone/identifier 873s # Vector 0: -158400 873s # Vector 1: -10000 873s # Vector 2: -3600 873s # Vector 3: -61 873s # Vector 4: -60 873s # Vector 5: -59 873s # Vector 6: 0 873s # Vector 7: 59 873s # Vector 8: 60 873s # Vector 9: 61 873s # Vector 10: 3600 873s # Vector 11: 10000 873s # Vector 12: 158400 873s ok 66 /GTimeZone/new-offset 873s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 873s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 873s ok 67 /GTimeZone/parse-rfc8536 873s # /GTimeZone/caching summary: GTimeZone instances are cached 873s ok 68 /GTimeZone/caching 873s # End of GTimeZone tests 873s ok - glib/gdatetime.test 873s # Running test: glib/enums.test 873s TAP version 14 873s # random seed: R02Sf871b68eac1b6304b90738255d61f060 873s 1..4 873s # Start of enum tests 873s ok 1 /enum/basic 873s ok 2 /enum/define-type 873s # End of enum tests 873s # Start of flags tests 873s ok 3 /flags/basic 873s ok 4 /flags/define-type 873s # End of flags tests 873s ok - glib/enums.test 873s # Running test: glib/objects-refcount1.test 873s TAP version 14 873s # random seed: R02Sda01a49af3131e629fba2ef50c7d9876 873s 1..1 873s # Start of gobject tests 873s # Start of refcount tests 873s # init 0xac93512cb750 873s # 873s # init 0xac93512cb8e0 873s # 877s # Executing: glib/objects-refcount1.test 878s # dispose 0xac93512cb750! 878s # 878s # dispose 0xac93512cb8e0! 878s # 878s ok 1 /gobject/refcount/object-basics 878s # slow test /gobject/refcount/object-basics executed in 5.00 secs 878s # End of refcount tests 878s # End of gobject tests 878s ok - glib/objects-refcount1.test 878s # Running test: glib/markup.test 878s TAP version 14 878s # random seed: R02S353817984a3b33fc5549c31d967d3831 878s 1..1 878s # Start of markup tests 878s ok 1 /markup/stack 878s # End of markup tests 878s ok - glib/markup.test 878s # Running test: glib/flags.test 878s TAP version 14 878s # random seed: R02S61b85b424ae64451f7e06ff802cfac41 878s 1..1 878s # Start of gobject tests 878s # Start of flags tests 878s ok 1 /gobject/flags/validate 878s # End of flags tests 878s # End of gobject tests 878s ok - glib/flags.test 878s # Running test: glib/gdbus-export.test 878s TAP version 14 878s # random seed: R02S2196912ba1b745dea0acd727cac4bb0e 878s 1..6 878s # Start of gdbus tests 878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration/.dirs/home 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration/.dirs/cache 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_VCXRX2/gdbus/object-registration/.dirs/system-config2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration/.dirs/config 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_VCXRX2/gdbus/object-registration/.dirs/system-data2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration/.dirs/data 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration/.dirs/state 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration/.dirs/runtime 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s ok 1 /gdbus/object-registration 878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration-with-closures/.dirs/home 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration-with-closures/.dirs/cache 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_VCXRX2/gdbus/object-registration-with-closures/.dirs/system-config2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration-with-closures/.dirs/config 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_VCXRX2/gdbus/object-registration-with-closures/.dirs/system-data2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration-with-closures/.dirs/data 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration-with-closures/.dirs/state 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_VCXRX2/gdbus/object-registration-with-closures/.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/object-registration-with-closures 878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/registered-interfaces/.dirs/home 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/registered-interfaces/.dirs/cache 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_VCXRX2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_VCXRX2/gdbus/registered-interfaces/.dirs/system-config2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/registered-interfaces/.dirs/config 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_VCXRX2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_VCXRX2/gdbus/registered-interfaces/.dirs/system-data2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/registered-interfaces/.dirs/data 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/registered-interfaces/.dirs/state 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_VCXRX2/gdbus/registered-interfaces/.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/registered-interfaces 878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/async-properties/.dirs/home 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/async-properties/.dirs/cache 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_VCXRX2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_VCXRX2/gdbus/async-properties/.dirs/system-config2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/async-properties/.dirs/config 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_VCXRX2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_VCXRX2/gdbus/async-properties/.dirs/system-data2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/async-properties/.dirs/data 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/async-properties/.dirs/state 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_VCXRX2/gdbus/async-properties/.dirs/runtime 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s ok 4 /gdbus/async-properties 878s # Start of threaded-unregistration tests 878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/object/.dirs/home 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/object/.dirs/cache 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/object/.dirs/system-config2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/object/.dirs/config 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/object/.dirs/system-data2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/object/.dirs/data 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/object/.dirs/state 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/object/.dirs/runtime 878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 878s # /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 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 880s # slow test /gdbus/threaded-unregistration/object executed in 1.20 secs 880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/subtree/.dirs/home 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/subtree/.dirs/cache 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/subtree/.dirs/config 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/subtree/.dirs/data 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/subtree/.dirs/state 880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_VCXRX2/gdbus/threaded-unregistration/subtree/.dirs/runtime 880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 880s # /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 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 880s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 881s # slow test /gdbus/threaded-unregistration/subtree executed in 1.24 secs 881s # End of threaded-unregistration 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-export.test 881s # Running test: glib/module-test-plugin.test 881s TAP version 14 881s # random seed: R02Sf4cda2750b3b9e0849f07e18f6438cf4 881s 1..3 881s # Start of module tests 881s ok 1 /module/basics 881s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 881s ok 2 /module/invalid-libtool-archive 881s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 881s ok 3 /module/local-binding 881s # End of module tests 881s ok - glib/module-test-plugin.test 881s # Running test: glib/timer.test 881s TAP version 14 881s # random seed: R02S067cb32bd5cd838299ef9e011556ce22 881s 1..10 881s # Start of timer tests 881s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 881s ok 2 /timer/stop 881s ok 3 /timer/continue 881s ok 4 /timer/reset 881s ok 5 /timer/is_active 881s # End of timer tests 881s # Start of timeval tests 881s ok 6 /timeval/add 881s ok 7 /timeval/from-iso8601 881s ok 8 /timeval/to-iso8601 881s # Start of to-iso8601 tests 881s ok 9 /timeval/to-iso8601/overflow 881s # End of to-iso8601 tests 881s # End of timeval tests 881s # Start of usleep tests 881s ok 10 /usleep/with-zero-wait 881s # End of usleep tests 881s ok - glib/timer.test 881s # Running test: glib/gdbus-sasl.test 881s TAP version 14 881s # random seed: R02S229284424ab9f17c3a7a67ee5987cdc8 881s 1..1 881s # Start of gdbus tests 881s # Start of sasl tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_PJW1X2/gdbus/sasl/server/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_PJW1X2/gdbus/sasl/server/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_PJW1X2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_PJW1X2/gdbus/sasl/server/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_PJW1X2/gdbus/sasl/server/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_PJW1X2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_PJW1X2/gdbus/sasl/server/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_PJW1X2/gdbus/sasl/server/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_PJW1X2/gdbus/sasl/server/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_PJW1X2/gdbus/sasl/server/.dirs/runtime 881s # New handshake: EXTERNAL with incorrect initial response 881s # C:“AUTH EXTERNAL 30†881s # Expect: /^REJECTED.*$/ 881s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†881s # New handshake: EXTERNAL without initial response, failing to authenticate 881s # C:“AUTH EXTERNAL†881s # Expect: /^DATA$/ 881s # S:“DATA†881s # C:“DATA 30†881s # Expect: /^REJECTED.*$/ 881s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†881s # New handshake: EXTERNAL with initial response 881s # C:“AUTH EXTERNAL 31303030†881s # Expect: /^OK [0-9a-f]+$/ 881s # S:“OK ffcc0b8a088f76ba84339246674fbaa2†881s # New handshake: EXTERNAL without initial response 881s # C:“AUTH EXTERNAL†881s # Expect: /^DATA$/ 881s # S:“DATA†881s # C:“DATA 31303030†881s # Expect: /^OK [0-9a-f]+$/ 881s # S:“OK ffcc0b8a088f76ba84339246674fbaa2†881s # New handshake: EXTERNAL with empty authorization identity 881s # C:“AUTH EXTERNAL†881s # Expect: /^DATA$/ 881s # S:“DATA†881s # C:“DATA†881s # Expect: /^OK [0-9a-f]+$/ 881s # S:“OK ffcc0b8a088f76ba84339246674fbaa2†881s # New handshake: EXTERNAL with empty authorization identity and whitespace 881s # C:“AUTH EXTERNAL†881s # Expect: /^DATA$/ 881s # S:“DATA†881s # C:“DATA †881s # Expect: /^OK [0-9a-f]+$/ 881s # S:“OK ffcc0b8a088f76ba84339246674fbaa2†881s ok 1 /gdbus/sasl/server 881s # End of sasl tests 881s # End of gdbus tests 881s ok - glib/gdbus-sasl.test 881s # Running test: glib/power-profile-monitor-portal.test 881s TAP version 13 881s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 881s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 881s 1..2 881s ok - glib/power-profile-monitor-portal.test 881s # Running test: glib/properties-refcount2.test 881s TAP version 14 881s # random seed: R02Sb1c333b1701a3e2fdcf09f80d649ac17 881s 1..1 881s # Start of gobject tests 881s # Start of refcount tests 881s # init 0xabb52f36f780 881s # 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # Executing: glib/properties-refcount2.test 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # dispose 0xabb52f36f780! 882s # 882s ok 1 /gobject/refcount/properties-2 882s # slow test /gobject/refcount/properties-2 executed in 0.99 secs 882s # End of refcount tests 882s # End of gobject tests 882s ok - glib/properties-refcount2.test 882s # Running test: glib/shell.test 882s TAP version 14 882s # random seed: R02S1d1d2d5b825b9243e17cdbb835cc41a6 882s 1..51 882s # Start of shell tests 882s # Start of cmdline tests 882s test cmdline: foo bar 882s ok 1 /shell/cmdline/0 882s test cmdline: foo 'bar' 882s ok 2 /shell/cmdline/1 882s test cmdline: foo "bar" 882s ok 3 /shell/cmdline/2 882s test cmdline: foo '' 'bar' 882s ok 4 /shell/cmdline/3 882s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 882s ok 5 /shell/cmdline/4 882s test cmdline: foo blah foo bar baz 882s ok 6 /shell/cmdline/5 882s test cmdline: foo ' spaces more spaces lots of spaces in this ' 882s ok 7 /shell/cmdline/6 882s test cmdline: foo \ 882s bar 882s ok 8 /shell/cmdline/7 882s test cmdline: foo '' '' 882s ok 9 /shell/cmdline/8 882s test cmdline: foo \" la la la 882s ok 10 /shell/cmdline/9 882s test cmdline: foo \ foo woo woo\ 882s ok 11 /shell/cmdline/10 882s test cmdline: foo "yada yada \$\"" 882s ok 12 /shell/cmdline/11 882s test cmdline: foo "c:\\" 882s ok 13 /shell/cmdline/12 882s test cmdline: foo # bla bla bla 882s bar 882s ok 14 /shell/cmdline/13 882s test cmdline: foo a#b 882s ok 15 /shell/cmdline/14 882s test cmdline: #foo 882s ok 16 /shell/cmdline/15 882s test cmdline: foo bar \ 882s ok 17 /shell/cmdline/16 882s test cmdline: foo 'bar baz 882s ok 18 /shell/cmdline/17 882s test cmdline: foo '"bar" baz 882s ok 19 /shell/cmdline/18 882s test cmdline: 882s ok 20 /shell/cmdline/19 882s test cmdline: 882s ok 21 /shell/cmdline/20 882s test cmdline: # foo bar 882s ok 22 /shell/cmdline/21 882s test cmdline: foo '/bar/summer'\''09 tours.pdf' 882s ok 23 /shell/cmdline/22 882s # End of cmdline tests 882s # Start of quote tests 882s ok 24 /shell/quote/0 882s ok 25 /shell/quote/1 882s ok 26 /shell/quote/2 882s ok 27 /shell/quote/3 882s ok 28 /shell/quote/4 882s ok 29 /shell/quote/5 882s ok 30 /shell/quote/6 882s # End of quote tests 882s # Start of unquote tests 882s ok 31 /shell/unquote/0 882s ok 32 /shell/unquote/1 882s ok 33 /shell/unquote/2 882s ok 34 /shell/unquote/3 882s ok 35 /shell/unquote/4 882s ok 36 /shell/unquote/5 882s ok 37 /shell/unquote/6 882s ok 38 /shell/unquote/7 882s ok 39 /shell/unquote/8 882s ok 40 /shell/unquote/9 882s ok 41 /shell/unquote/10 882s ok 42 /shell/unquote/11 882s ok 43 /shell/unquote/12 882s ok 44 /shell/unquote/13 882s ok 45 /shell/unquote/14 882s ok 46 /shell/unquote/15 882s ok 47 /shell/unquote/16 882s ok 48 /shell/unquote/17 882s ok 49 /shell/unquote/18 882s ok 50 /shell/unquote/19 882s ok 51 /shell/unquote/20 882s # End of unquote tests 882s # End of shell tests 882s ok - glib/shell.test 882s # Running test: glib/gdbus-address-get-session.test 882s TAP version 14 882s # random seed: R02S2e0e6a50fc7e713ebe6f8cff280c60b3 882s 1..2 882s # Start of gdbus tests 882s ok 1 /gdbus/x11-autolaunch 882s ok 2 /gdbus/xdg-runtime 882s # End of gdbus tests 882s ok - glib/gdbus-address-get-session.test 882s # Running test: glib/union-info.test 882s TAP version 14 882s # random seed: R02Sd64af7923d4103b3dd5d093fc329cfad 882s 1..2 882s # Start of union-info tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_TBHOX2/union-info/basic/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_TBHOX2/union-info/basic/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_TBHOX2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_TBHOX2/union-info/basic/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_TBHOX2/union-info/basic/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_TBHOX2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_TBHOX2/union-info/basic/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_TBHOX2/union-info/basic/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_TBHOX2/union-info/basic/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_TBHOX2/union-info/basic/.dirs/runtime 882s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 882s # /union-info/basic summary: Test basic properties of GIUnionInfo 882s ok 1 /union-info/basic 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_TBHOX2/union-info/methods/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_TBHOX2/union-info/methods/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_TBHOX2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_TBHOX2/union-info/methods/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_TBHOX2/union-info/methods/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_TBHOX2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_TBHOX2/union-info/methods/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_TBHOX2/union-info/methods/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_TBHOX2/union-info/methods/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_TBHOX2/union-info/methods/.dirs/runtime 882s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 882s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 882s ok 2 /union-info/methods 882s # End of union-info tests 882s ok - glib/union-info.test 882s # Running test: glib/pathbuf.test 882s TAP version 14 882s # random seed: R02Sdd6c11a60f1efb98a0e74856a7e93f76 882s 1..3 882s # Start of pathbuf tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/init/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/init/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_5D4OX2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_5D4OX2/pathbuf/init/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/init/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_5D4OX2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_5D4OX2/pathbuf/init/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/init/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/init/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_5D4OX2/pathbuf/init/.dirs/runtime 882s # Initializing empty path buf 882s # Initializing with empty path 882s # Initializing with full path 882s # Initializing with no path 882s # Allocating GPathBuf on the heap 882s ok 1 /pathbuf/init 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/push-pop/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/push-pop/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_5D4OX2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_5D4OX2/pathbuf/push-pop/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/push-pop/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_5D4OX2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_5D4OX2/pathbuf/push-pop/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/push-pop/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/push-pop/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_5D4OX2/pathbuf/push-pop/.dirs/runtime 882s # Pushing relative path component 882s # Pushing absolute path component 882s # Popping a path component 882s # Can't pop the last element of a path buffer 882s ok 2 /pathbuf/push-pop 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/filename-extension/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/filename-extension/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_5D4OX2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_5D4OX2/pathbuf/filename-extension/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/filename-extension/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_5D4OX2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_5D4OX2/pathbuf/filename-extension/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/filename-extension/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_5D4OX2/pathbuf/filename-extension/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_5D4OX2/pathbuf/filename-extension/.dirs/runtime 882s ok 3 /pathbuf/filename-extension 882s # End of pathbuf tests 882s ok - glib/pathbuf.test 882s # Running test: glib/unix-mounts.test 882s TAP version 14 882s # random seed: R02S63fc1bb6fca204f6c76af4ab716bfbe1 882s 1..4 882s # Start of unix-mounts tests 882s ok 1 /unix-mounts/is-system-fs-type 882s ok 2 /unix-mounts/is-system-device-path 882s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 882s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 882s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 882s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 882s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 882s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 882s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 882s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 882s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 882s ok 3 /unix-mounts/get-mount-points 882s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 882s ok 4 /unix-mounts/get-mount-entries 882s # End of unix-mounts tests 882s ok - glib/unix-mounts.test 882s # Running test: glib/closure.test 882s TAP version 14 882s # random seed: R02Saf2b9ecb0a8bbbde08378ee65b9344fa 882s 1..6 882s # Start of closure tests 882s ok 1 /closure/idle 882s ok 2 /closure/timeout 882s ok 3 /closure/iochannel 882s ok 4 /closure/child 882s ok 5 /closure/fd 882s ok 6 /closure/signal 882s # End of closure tests 882s ok - glib/closure.test 882s # Running test: glib/objects-refcount2.test 882s TAP version 14 882s # random seed: R02Sc5c11c4c41999db927dcae79589c4349 882s 1..1 882s # Start of gobject tests 882s # Start of refcount tests 882s # init 0xbf60beb03750 882s # 882s # . 882s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # Executing: glib/objects-refcount2.test 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # dispose 0xbf60beb03750! 889s # 889s ok 1 /gobject/refcount/object-advanced 889s # slow test /gobject/refcount/object-advanced executed in 6.18 secs 889s # End of refcount tests 889s # End of gobject tests 889s ok - glib/objects-refcount2.test 889s # Running test: glib/gnotification.test 889s TAP version 14 889s # random seed: R02S318020de15e86cd394a3bab2b110ae30 889s 1..2 889s # Start of gnotification tests 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s ok 1 /gnotification/basic 889s ok 2 /gnotification/properties 889s # End of gnotification tests 889s ok - glib/gnotification.test 889s # Running test: glib/credentials.test 889s TAP version 14 889s # random seed: R02Sbfe50c0ff77d9d5bee6e9cd6a4c896a9 889s 1..1 889s # Start of credentials tests 889s # GCredentials:linux-ucred:pid=11740,uid=1000,gid=1000 889s # GCredentials:linux-ucred:pid=11740,uid=0,gid=1000 889s ok 1 /credentials/basic 889s # End of credentials tests 889s ok - glib/credentials.test 889s # Running test: glib/convert.test 889s TAP version 14 889s # random seed: R02Sa9162f833dcc33f1601c5731f984dc8a 889s 1..14 889s # Start of conversion tests 889s ok 1 /conversion/no-conv 889s ok 2 /conversion/iconv-state 889s ok 3 /conversion/illegal-sequence 889s ok 4 /conversion/byte-order 889s ok 5 /conversion/unicode 889s ok 6 /conversion/filename-utf8 889s ok 7 /conversion/filename-display 889s ok 8 /conversion/convert-embedded-nul 889s # Start of locale-to-utf8 tests 889s ok 9 /conversion/locale-to-utf8/embedded-nul 889s # Start of embedded-nul tests 889s # Start of subprocess tests 889s # End of subprocess tests 889s # End of embedded-nul tests 889s # End of locale-to-utf8 tests 889s # Start of locale-from-utf8 tests 889s ok 10 /conversion/locale-from-utf8/embedded-nul 889s # Start of embedded-nul tests 889s # Start of subprocess tests 889s # End of subprocess tests 889s # End of embedded-nul tests 889s # End of locale-from-utf8 tests 889s # Start of filename-to-utf8 tests 889s ok 11 /conversion/filename-to-utf8/embedded-nul 889s # Start of embedded-nul tests 889s # Start of subprocess tests 889s # End of subprocess tests 889s # End of embedded-nul tests 889s # End of filename-to-utf8 tests 889s # Start of filename-from-utf8 tests 889s ok 12 /conversion/filename-from-utf8/embedded-nul 889s # Start of embedded-nul tests 889s # Start of subprocess tests 889s # End of subprocess tests 889s # End of embedded-nul tests 889s # End of filename-from-utf8 tests 889s # Start of filename-from-uri tests 889s ok 13 /conversion/filename-from-uri/query-is-ignored 889s ok 14 /conversion/filename-from-uri/fragment-is-ignored 889s # End of filename-from-uri tests 889s # End of conversion tests 889s ok - glib/convert.test 889s # Running test: glib/bindinggroup.test 889s TAP version 14 889s # random seed: R02S10504dd803accfe1d7b9b443a7827c36 889s 1..11 889s # Start of GObject tests 889s # Start of BindingGroup tests 889s ok 1 /GObject/BindingGroup/invalid 889s ok 2 /GObject/BindingGroup/default 889s ok 3 /GObject/BindingGroup/bidirectional 889s ok 4 /GObject/BindingGroup/transform 889s ok 5 /GObject/BindingGroup/transform-closures 889s ok 6 /GObject/BindingGroup/same-object 889s ok 7 /GObject/BindingGroup/weak-ref-source 889s ok 8 /GObject/BindingGroup/weak-ref-target 889s ok 9 /GObject/BindingGroup/properties 889s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 889s ok 11 /GObject/BindingGroup/empty-closures 889s # End of BindingGroup tests 889s # End of GObject tests 889s ok - glib/bindinggroup.test 889s # Running test: glib/memory-monitor-portal.test 889s TAP version 13 889s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 889s 1..1 889s ok - glib/memory-monitor-portal.test 889s # Running test: glib/g-file-info.test 889s TAP version 14 889s # random seed: R02Sfba3d79333064426227e17d0f61ab551 889s 1..6 889s # Start of g-file-info tests 889s ok 1 /g-file-info/test_g_file_info 889s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 889s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 889s ok 2 /g-file-info/xattrs 889s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 889s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 889s ok 3 /g-file-info/set-modified-date-time-precision 889s # Start of test_g_file_info tests 889s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 889s ok 4 /g-file-info/test_g_file_info/modification-time 889s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 889s ok 5 /g-file-info/test_g_file_info/access-time 889s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 889s ok 6 /g-file-info/test_g_file_info/creation-time 889s # End of test_g_file_info tests 889s # End of g-file-info tests 889s ok - glib/g-file-info.test 889s # Running test: glib/notify-init.test 889s TAP version 14 889s # random seed: R02Sa602b838be00bf6e2e2d1d38491e60ac 889s 1..1 889s # Start of properties tests 889s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 889s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 889s ok 1 /properties/notify-in-init 889s # End of properties tests 889s ok - glib/notify-init.test 889s # Running test: glib/markup-collect.test 889s TAP version 14 889s # random seed: R02S48baddf2d8359e521183d46662b641c4 889s 1..21 889s # Start of markup tests 889s # Start of collect tests 889s ok 1 /markup/collect/0 889s ok 2 /markup/collect/1 889s ok 3 /markup/collect/2 889s ok 4 /markup/collect/3 889s ok 5 /markup/collect/4 889s ok 6 /markup/collect/5 889s ok 7 /markup/collect/6 889s ok 8 /markup/collect/7 889s ok 9 /markup/collect/8 889s ok 10 /markup/collect/9 889s ok 11 /markup/collect/10 889s ok 12 /markup/collect/11 889s ok 13 /markup/collect/12 889s ok 14 /markup/collect/13 889s ok 15 /markup/collect/14 889s ok 16 /markup/collect/15 889s ok 17 /markup/collect/16 889s ok 18 /markup/collect/17 889s ok 19 /markup/collect/18 889s ok 20 /markup/collect/19 889s ok 21 /markup/collect/cleanup 889s # End of collect tests 889s # End of markup tests 889s ok - glib/markup-collect.test 889s # Running test: glib/cxx-98.test 889s TAP version 14 889s # random seed: R02S7f15232f95836f7b36e1bff7d591022d 889s 1..2 889s # Start of gtask tests 889s # 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. 889s ok 1 /gtask/name 889s # Start of name tests 889s # 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. 889s ok 2 /gtask/name/macro-wrapper 889s # End of name tests 889s # End of gtask tests 889s ok - glib/cxx-98.test 889s # Running test: glib/simple-async-result.test 889s TAP version 14 889s # random seed: R02S864c3679ac3fa034bf261469e844d658 889s 1..2 889s # Start of gio tests 889s # Start of simple-async-result tests 889s ok 1 /gio/simple-async-result/test 889s # GLib-GIO-DEBUG: GTask 0xb8317e4c4730 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 889s ok 2 /gio/simple-async-result/valid 889s # End of simple-async-result tests 889s # End of gio tests 889s ok - glib/simple-async-result.test 889s # Running test: glib/defaultvalue.test 889s TAP version 14 889s # random seed: R02S62110e7216980e122ed425901df28c06 889s 1..84 889s # Start of Default Values tests 889s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 889s ok 2 /Default Values/GAppLaunchContext 889s ok 3 /Default Values/GApplicationCommandLine 890s # skipping GApplication:is-remote 890s ok 4 /Default Values/GApplication 890s ok 5 /Default Values/GBinding # SKIP mandatory construct params 890s ok 6 /Default Values/GBindingGroup 890s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 890s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 890s ok 9 /Default Values/GBytesIcon 890s ok 10 /Default Values/GCancellable 890s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 890s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 890s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 890s ok 14 /Default Values/GCredentials 890s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 890s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 890s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 890s ok 18 /Default Values/GDBusAuthObserver 890s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 890s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 890s ok 21 /Default Values/GDBusMessage 890s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 890s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 890s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 890s ok 25 /Default Values/GDBusObjectProxy 890s ok 26 /Default Values/GDBusObjectSkeleton 890s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 890s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 890s ok 29 /Default Values/GEmblem 890s ok 30 /Default Values/GEmblemedIcon 890s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 890s ok 32 /Default Values/GFileInfo 890s ok 33 /Default Values/GFileInputStream 890s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 890s ok 35 /Default Values/GFileOutputStream 890s ok 36 /Default Values/GFilenameCompleter 890s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 890s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 890s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 890s ok 40 /Default Values/GInitiallyUnowned 890s ok 41 /Default Values/GIOModule 890s ok 42 /Default Values/GListStore 890s ok 43 /Default Values/GMemoryInputStream 890s ok 44 /Default Values/GMemoryOutputStream 890s ok 45 /Default Values/GMenu 890s ok 46 /Default Values/GMenuItem 890s ok 47 /Default Values/GMountOperation 890s ok 48 /Default Values/GNativeSocketAddress 890s ok 49 /Default Values/GNetworkAddress 890s ok 50 /Default Values/GNetworkService 890s ok 51 /Default Values/GNotification 890s ok 52 /Default Values/GObject 890s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 890s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 890s # skipping GProxyAddressEnumerator:proxy-resolver 890s ok 54 /Default Values/GProxyAddressEnumerator 890s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 890s ok 56 /Default Values/GSettings # SKIP mandatory construct params 890s ok 57 /Default Values/GSignalGroup 890s ok 58 /Default Values/GSimpleAction 890s ok 59 /Default Values/GSimpleActionGroup 890s ok 60 /Default Values/GSimpleAsyncResult 890s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 890s ok 62 /Default Values/GSimplePermission 890s ok 63 /Default Values/GSimpleProxyResolver 890s # skipping GSocketClient:proxy-resolver 890s ok 64 /Default Values/GSocketClient 890s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 890s ok 66 /Default Values/GSocket # SKIP initialization failed 890s ok 67 /Default Values/GSocketListener 890s ok 68 /Default Values/GSocketService 890s ok 69 /Default Values/GSubprocess # SKIP initialization failed 890s ok 70 /Default Values/GSubprocessLauncher 890s # GLib-GIO-DEBUG: GTask 0xb6ad56baeff0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 890s ok 71 /Default Values/GTask 890s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 890s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 890s ok 74 /Default Values/GTestDBus 890s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 890s ok 76 /Default Values/GThreadedSocketService 890s ok 77 /Default Values/GTlsInteraction 890s ok 78 /Default Values/GTlsPassword 890s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 890s ok 80 /Default Values/GUnixFDList 890s ok 81 /Default Values/GVfs 890s ok 82 /Default Values/GVolumeMonitor 890s ok 83 /Default Values/GZlibCompressor 890s ok 84 /Default Values/GZlibDecompressor 890s # End of Default Values tests 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s ok - glib/defaultvalue.test 890s # Running test: glib/portal-support-flatpak-gsettings-only.test 890s TAP version 14 890s # random seed: R02Sc47714ea3b5f9565e6c9799d5c35aa2d 890s 1..1 890s # Start of portal-support tests 890s # Start of flatpak tests 890s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_HF2MX2/portal-support/flatpak/gsettings/.dirs/home 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HF2MX2/portal-support/flatpak/gsettings/.dirs/cache 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_HF2MX2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_HF2MX2/portal-support/flatpak/gsettings/.dirs/system-config2 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HF2MX2/portal-support/flatpak/gsettings/.dirs/config 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_HF2MX2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_HF2MX2/portal-support/flatpak/gsettings/.dirs/system-data2 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HF2MX2/portal-support/flatpak/gsettings/.dirs/data 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_HF2MX2/portal-support/flatpak/gsettings/.dirs/state 890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_HF2MX2/portal-support/flatpak/gsettings/.dirs/runtime 890s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_HF2MX2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 890s ok 1 /portal-support/flatpak/gsettings 890s # End of flatpak tests 890s # End of portal-support tests 890s ok - glib/portal-support-flatpak-gsettings-only.test 890s # Running test: glib/debugcontroller.test 890s TAP version 14 890s # random seed: R02Sbf872ddd53b167b66d55ee66c961c4be 890s 1..3 890s # Start of debug-controller tests 890s # Start of dbus tests 890s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Debug output enabled 890s # GLib-GIO-DEBUG: Debug output disabled 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s ok 1 /debug-controller/dbus/basic 890s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 890s ok 2 /debug-controller/dbus/duplicate 890s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 890s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 890s # End of dbus tests 890s # End of debug-controller tests 890s ok - glib/debugcontroller.test 890s # Running test: glib/refcount-macro.test 890s TAP version 14 890s # random seed: R02Scbd7cf4cc5ff2dfa014be040a168575a 890s 1..4 890s # Start of refcount tests 890s ok 1 /refcount/grefcount 890s ok 2 /refcount/gatomicrefcount 890s # Start of grefcount tests 890s ok 3 /refcount/grefcount/saturation 890s # End of grefcount tests 890s # Start of gatomicrefcount tests 890s ok 4 /refcount/gatomicrefcount/saturation 890s # End of gatomicrefcount tests 890s # End of refcount tests 890s ok - glib/refcount-macro.test 890s # Running test: glib/rand.test 890s TAP version 14 890s # random seed: R02Sbe93698b52a5806d8950cbc0981f1f3d 890s 1..2 890s # Start of rand tests 890s ok 1 /rand/test-rand 890s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 890s ok 2 /rand/double-range 890s # End of rand tests 890s ok - glib/rand.test 890s # Running test: glib/cancellable.test 890s TAP version 14 890s # random seed: R02Se897ac4639941ffb3178e9ab245a0533 890s 1..10 890s # Start of cancellable tests 890s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 890s ok 2 /cancellable/null 890s # /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 890s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 890s # /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 890s ok 4 /cancellable/resets-on-cancel-callback-hangs 890s ok 5 /cancellable/poll-fd 890s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 890s ok 6 /cancellable/poll-fd-cancelled 890s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 890s ok 7 /cancellable/poll-fd-cancelled-threaded 890s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 890s ok 8 /cancellable/cancel-reset-races 890s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 890s ok 9 /cancellable/cancel-reset-connect-races 890s # End of cancellable tests 890s # Start of cancellable-source tests 890s # /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) 890s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 892s ok 10 /cancellable-source/threaded-dispose 892s # slow test /cancellable-source/threaded-dispose executed in 1.92 secs 892s # End of cancellable-source tests 892s ok - glib/cancellable.test 892s # Running test: glib/unicode-normalize.test 892s TAP version 14 892s # random seed: R02S3a4e96f41feda7c7a094ff9a609e5409 892s 1..3 892s # Start of unicode tests 892s # Processing Part0 # Specific cases 892s # Processing Part1 # Character by character test 892s # Executing: glib/unicode-normalize.test 892s # Processing Part2 # Canonical Order Test 892s # Processing Part3 # PRI #29 Test 892s ok 1 /unicode/normalize 892s # Invalid UTF-8 vector 0 892s # Invalid UTF-8 vector 1 892s # Invalid UTF-8 vector 2 892s # Invalid UTF-8 vector 3 892s # Invalid UTF-8 vector 4 892s # Invalid UTF-8 vector 5 892s # Invalid UTF-8 vector 6 892s # Invalid UTF-8 vector 7 892s # Invalid UTF-8 vector 8 892s # Invalid UTF-8 vector 9 892s # Invalid UTF-8 vector 10 892s # Invalid UTF-8 vector 11 892s # Invalid UTF-8 vector 12 892s ok 2 /unicode/normalize-invalid 892s # Start of normalize tests 892s ok 3 /unicode/normalize/bad-length 892s # End of normalize tests 892s # End of unicode tests 892s ok - glib/unicode-normalize.test 892s # Running test: glib/buffered-input-stream.test 892s TAP version 14 892s # random seed: R02S145066d56060765eceed62f6a7f5b566 892s 1..10 892s # Start of buffered-input-stream tests 892s ok 1 /buffered-input-stream/peek 892s ok 2 /buffered-input-stream/peek-buffer 892s ok 3 /buffered-input-stream/set-buffer-size 892s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 892s ok 4 /buffered-input-stream/read-byte 892s ok 5 /buffered-input-stream/read 892s ok 6 /buffered-input-stream/read-async 892s ok 7 /buffered-input-stream/skip 892s ok 8 /buffered-input-stream/skip-async 892s ok 9 /buffered-input-stream/seek 892s # End of buffered-input-stream tests 892s # Start of filter-input-stream tests 892s ok 10 /filter-input-stream/close 892s # End of filter-input-stream tests 892s ok - glib/buffered-input-stream.test 892s # Running test: glib/markup-escape.test 892s TAP version 14 892s # random seed: R02Sb697ff2ce88c9722973b0a2766ff2dcd 892s 1..41 892s # Start of markup tests 892s ok 1 /markup/format 892s # Start of escape-text tests 892s ok 2 /markup/escape-text/0 892s ok 3 /markup/escape-text/1 892s ok 4 /markup/escape-text/2 892s ok 5 /markup/escape-text/3 892s ok 6 /markup/escape-text/4 892s ok 7 /markup/escape-text/5 892s ok 8 /markup/escape-text/6 892s ok 9 /markup/escape-text/7 892s ok 10 /markup/escape-text/8 892s ok 11 /markup/escape-text/9 892s ok 12 /markup/escape-text/10 892s ok 13 /markup/escape-text/11 892s ok 14 /markup/escape-text/12 892s ok 15 /markup/escape-text/13 892s ok 16 /markup/escape-text/14 892s ok 17 /markup/escape-text/15 892s ok 18 /markup/escape-text/16 892s ok 19 /markup/escape-text/17 892s ok 20 /markup/escape-text/18 892s ok 21 /markup/escape-text/19 892s ok 22 /markup/escape-text/20 892s ok 23 /markup/escape-text/21 892s ok 24 /markup/escape-text/22 892s # End of escape-text tests 892s # Start of escape-unichar tests 892s ok 25 /markup/escape-unichar/0 892s ok 26 /markup/escape-unichar/1 892s ok 27 /markup/escape-unichar/2 892s ok 28 /markup/escape-unichar/3 892s ok 29 /markup/escape-unichar/4 892s ok 30 /markup/escape-unichar/5 892s ok 31 /markup/escape-unichar/6 892s ok 32 /markup/escape-unichar/7 892s ok 33 /markup/escape-unichar/8 892s ok 34 /markup/escape-unichar/9 892s ok 35 /markup/escape-unichar/10 892s ok 36 /markup/escape-unichar/11 892s ok 37 /markup/escape-unichar/12 892s ok 38 /markup/escape-unichar/13 892s ok 39 /markup/escape-unichar/14 892s ok 40 /markup/escape-unichar/15 892s ok 41 /markup/escape-unichar/16 892s # End of escape-unichar tests 892s # End of markup tests 892s ok - glib/markup-escape.test 892s # Running test: glib/signals-refcount2.test 892s TAP version 14 892s # random seed: R02Sa5358dfb187dc12bf9998db305941e8b 892s 1..1 892s # Start of gobject tests 892s # Start of refcount tests 892s # init 0xb24b1f1e8430 892s # 892s # init 0xb24b1f1e85d0 892s # 897s # Executing: glib/signals-refcount2.test 897s # dispose 0xb24b1f1e8430! 897s # 897s # dispose 0xb24b1f1e85d0! 897s # 897s ok 1 /gobject/refcount/signals 897s # slow test /gobject/refcount/signals executed in 5.00 secs 897s # End of refcount tests 897s # End of gobject tests 897s ok - glib/signals-refcount2.test 897s # Running test: glib/tls-bindings.test 897s TAP version 14 897s # random seed: R02S1169b5b0245b4aff9d93d9e607676aa5 897s 1..2 897s # Start of tls-connection tests 897s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 897s ok 1 /tls-connection/get-tls-channel-binding 897s ok 2 /tls-connection/get-dtls-channel-binding 897s # End of tls-connection tests 897s ok - glib/tls-bindings.test 897s # Running test: glib/utf8-pointer.test 897s TAP version 14 897s # random seed: R02S683642850224bc9b7dc96ce1114167c6 897s 1..3 897s # Start of utf8 tests 898s ok 1 /utf8/offsets 898s # slow test /utf8/offsets executed in 0.89 secs 898s ok 2 /utf8/lengths 898s ok 3 /utf8/find 898s # End of utf8 tests 898s ok - glib/utf8-pointer.test 898s # Running test: glib/srvtarget.test 898s TAP version 14 898s # random seed: R02Sd15c617b0c25a28ceef88aaeb7c621ec 898s 1..1 898s # Start of srvtarget tests 898s ok 1 /srvtarget/srv-target-ordering 898s # End of srvtarget tests 898s ok - glib/srvtarget.test 898s # Running test: glib/utf8-performance.test 898s TAP version 14 898s # random seed: R02S9d8c35ff262c3951294f1a3fcc7ffa47 898s 1..36 898s # Start of utf8 tests 898s # Start of perf tests 898s # Start of get_char tests 898s # max perf: 21.5 MB/s 898s ok 1 /utf8/perf/get_char/ascii 898s # max perf: 67.0 MB/s 898s ok 2 /utf8/perf/get_char/latin1 898s # max perf: inf MB/s 898s ok 3 /utf8/perf/get_char/cyrillic 898s # max perf: 156.0 MB/s 898s ok 4 /utf8/perf/get_char/han 898s # End of get_char tests 898s # Start of get_char-backwards tests 898s # max perf: 43.0 MB/s 898s ok 5 /utf8/perf/get_char-backwards/ascii 898s # max perf: 67.0 MB/s 898s ok 6 /utf8/perf/get_char-backwards/latin1 898s # max perf: 160.0 MB/s 898s ok 7 /utf8/perf/get_char-backwards/cyrillic 898s # max perf: 156.0 MB/s 898s ok 8 /utf8/perf/get_char-backwards/han 898s # End of get_char-backwards tests 898s # Start of get_char_validated tests 898s # max perf: 43.0 MB/s 898s ok 9 /utf8/perf/get_char_validated/ascii 898s # max perf: inf MB/s 898s ok 10 /utf8/perf/get_char_validated/latin1 898s # max perf: 160.0 MB/s 898s ok 11 /utf8/perf/get_char_validated/cyrillic 898s # max perf: 156.0 MB/s 898s ok 12 /utf8/perf/get_char_validated/han 898s # End of get_char_validated tests 898s # Start of utf8_to_ucs4 tests 898s # max perf: 43.0 MB/s 898s ok 13 /utf8/perf/utf8_to_ucs4/ascii 898s # max perf: inf MB/s 898s ok 14 /utf8/perf/utf8_to_ucs4/latin1 898s # max perf: 160.0 MB/s 898s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 898s # max perf: 156.0 MB/s 898s ok 16 /utf8/perf/utf8_to_ucs4/han 898s # End of utf8_to_ucs4 tests 898s # Start of utf8_to_ucs4-sized tests 898s # max perf: inf MB/s 898s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 898s # max perf: 67.0 MB/s 898s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 898s # max perf: 160.0 MB/s 898s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 898s # max perf: 156.0 MB/s 898s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 898s # End of utf8_to_ucs4-sized tests 898s # Start of utf8_to_ucs4_fast tests 898s # max perf: 43.0 MB/s 898s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 898s # max perf: 67.0 MB/s 898s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 898s # max perf: 160.0 MB/s 898s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 898s # max perf: inf MB/s 898s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 898s # End of utf8_to_ucs4_fast tests 898s # Start of utf8_to_ucs4_fast-sized tests 898s # max perf: inf MB/s 898s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 898s # max perf: inf MB/s 898s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 898s # max perf: 160.0 MB/s 898s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 898s # max perf: inf MB/s 898s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 898s # End of utf8_to_ucs4_fast-sized tests 898s # Start of utf8_validate tests 898s # max perf: 43.0 MB/s 898s ok 29 /utf8/perf/utf8_validate/ascii 898s # max perf: inf MB/s 898s ok 30 /utf8/perf/utf8_validate/latin1 898s # max perf: inf MB/s 898s ok 31 /utf8/perf/utf8_validate/cyrillic 898s # max perf: inf MB/s 898s ok 32 /utf8/perf/utf8_validate/han 898s # End of utf8_validate tests 898s # Start of utf8_validate-sized tests 898s # max perf: inf MB/s 898s ok 33 /utf8/perf/utf8_validate-sized/ascii 898s # max perf: inf MB/s 898s ok 34 /utf8/perf/utf8_validate-sized/latin1 898s # max perf: 160.0 MB/s 898s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 898s # max perf: inf MB/s 898s ok 36 /utf8/perf/utf8_validate-sized/han 898s # End of utf8_validate-sized tests 898s # End of perf tests 898s # End of utf8 tests 898s ok - glib/utf8-performance.test 898s # Running test: glib/signals-refcount3.test 898s TAP version 14 898s # random seed: R02Scd5eb7362ae473ebc2c7ec4ad106eeda 898s 1..1 898s # Start of gobject tests 898s # Start of refcount tests 898s # init 0xb9cb0c281430 898s # 898s # init 0xb9cb0c2815d0 898s # 902s # Executing: glib/signals-refcount3.test 903s # dispose 0xb9cb0c281430! 903s # 903s # dispose 0xb9cb0c2815d0! 903s # 903s ok 1 /gobject/refcount/signals 903s # slow test /gobject/refcount/signals executed in 5.00 secs 903s # End of refcount tests 903s # End of gobject tests 903s ok - glib/signals-refcount3.test 903s # Running test: glib/timeout.test 903s TAP version 14 903s # random seed: R02S79467dd6d0af086c53967a0ffdd4b5bb 903s 1..5 903s # Start of timeout tests 903s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 906s ok 1 /timeout/seconds 906s # slow test /timeout/seconds executed in 2.10 secs 907s # Executing: glib/timeout.test 908s ok 2 /timeout/seconds-once 908s # slow test /timeout/seconds-once executed in 2.10 secs 908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 910s ok 3 /timeout/weeks-overflow 910s # slow test /timeout/weeks-overflow executed in 2.10 secs 910s ok 4 /timeout/far-future-ready-time 912s # Executing: glib/timeout.test 917s # Executing: glib/timeout.test 920s ok 5 /timeout/rounding 920s # slow test /timeout/rounding executed in 10.27 secs 920s # End of timeout tests 920s ok - glib/timeout.test 920s # Running test: glib/properties-introspection.test 920s TAP version 14 920s # random seed: R02S08ad7c161a3cbbaf1e9944ba0c2a02b6 920s 1..2 920s # Start of properties tests 920s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 920s ok 1 /properties/introspection 920s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 920s ok 2 /properties/collision 920s # End of properties tests 920s ok - glib/properties-introspection.test 920s # Running test: glib/actions.test 920s TAP version 14 920s # random seed: R02S1afd6e5a85e5f2202626f092b0fc73a3 920s 1..13 920s # Start of actions tests 920s ok 1 /actions/basic 920s ok 2 /actions/name 920s ok 3 /actions/simplegroup 920s ok 4 /actions/stateful 920s ok 5 /actions/default-activate 920s ok 6 /actions/entries 920s ok 7 /actions/parse-detailed 920s ok 8 /actions/property 920s ok 9 /actions/no-properties 920s # Start of dbus tests 920s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 920s ok 10 /actions/dbus/export 920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 920s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s ok 11 /actions/dbus/threaded 921s # slow test /actions/dbus/threaded executed in 1.34 secs 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s ok 12 /actions/dbus/bug679509 921s # Start of export tests 921s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 921s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s ok 13 /actions/dbus/export/error-handling 921s # End of export tests 921s # End of dbus tests 921s # End of actions tests 921s ok - glib/actions.test 921s # Running test: glib/socket.test 921s TAP version 14 921s # random seed: R02Sfa255fa920187366c2a8e9bff00f8bb0 922s 1..28 922s # Start of socket tests 922s # Executing: glib/socket.test 922s ok 1 /socket/ipv4_sync 922s # slow test /socket/ipv4_sync executed in 1.00 secs 924s ok 2 /socket/ipv4_async 924s # slow test /socket/ipv4_async executed in 1.00 secs 924s ok 3 /socket/ipv6_sync 924s ok 4 /socket/ipv6_async 924s ok 5 /socket/ipv6_v4mapped 924s ok 6 /socket/close_graceful 924s # slow test /socket/close_graceful executed in 1.00 secs 924s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 924s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 924s ok 8 /socket/fd_reuse 924s ok 9 /socket/address 924s ok 10 /socket/unix-from-fd 924s ok 11 /socket/unix-connection 925s ok 12 /socket/unix-connection-ancillary-data 925s ok 13 /socket/source-postmortem 925s ok 14 /socket/read_write 925s ok 15 /socket/read_writev 925s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 925s ok 16 /socket/receive_bytes 925s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 925s ok 17 /socket/receive_bytes_from 925s # Start of ipv4_sync tests 925s ok 18 /socket/ipv4_sync/datagram 925s # Start of datagram tests 926s ok 19 /socket/ipv4_sync/datagram/timeouts 926s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 926s # End of datagram tests 926s # End of ipv4_sync tests 926s # Start of ipv6_sync tests 926s ok 20 /socket/ipv6_sync/datagram 926s # Start of datagram tests 927s ok 21 /socket/ipv6_sync/datagram/timeouts 927s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 927s # End of datagram tests 927s # End of ipv6_sync tests 927s # Start of reuse tests 927s ok 22 /socket/reuse/tcp 927s ok 23 /socket/reuse/udp 927s # End of reuse tests 927s # Start of get_available tests 927s ok 24 /socket/get_available/datagram 927s ok 25 /socket/get_available/stream 927s # End of get_available tests 927s # Start of credentials tests 927s # Supported on this OS: GCredentials:linux-ucred:pid=0 927s ok 26 /socket/credentials/tcp_client 927s # Supported on this OS: GCredentials:linux-ucred:pid=0 927s ok 27 /socket/credentials/tcp_server 927s # Supported on this OS: GCredentials:linux-ucred:pid=11874,uid=1000,gid=1000 927s ok 28 /socket/credentials/unix_socketpair 927s # End of credentials tests 927s # End of socket tests 927s ok - glib/socket.test 927s # Running test: glib/utf8-misc.test 927s TAP version 14 927s # random seed: R02Sb0df0b93b7fd26b305ef02092391ae4c 927s 1..7 927s # Start of utf8 tests 927s ok 1 /utf8/strlen 927s ok 2 /utf8/strncpy 927s ok 3 /utf8/strrchr 927s ok 4 /utf8/reverse 927s ok 5 /utf8/substring 927s ok 6 /utf8/make-valid 927s ok 7 /utf8/truncate-middle 927s # End of utf8 tests 927s ok - glib/utf8-misc.test 927s # Running test: glib/cxx-03.test 927s TAP version 14 927s # random seed: R02Sb6c7d2cc6b2ac41a11e829c32a0c8e6f 927s 1..2 927s # Start of gtask tests 927s # 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. 927s ok 1 /gtask/name 927s # Start of name tests 927s # 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. 927s ok 2 /gtask/name/macro-wrapper 927s # End of name tests 927s # End of gtask tests 927s ok - glib/cxx-03.test 927s # Running test: glib/signalgroup.test 927s TAP version 14 927s # random seed: R02S92b592ef0ce24386e6fb357e6b73e877 927s 1..9 927s # Start of GObject tests 927s # Start of SignalGroup tests 927s ok 1 /GObject/SignalGroup/invalid 927s ok 2 /GObject/SignalGroup/simple 927s ok 3 /GObject/SignalGroup/changing-target 927s ok 4 /GObject/SignalGroup/blocking 927s ok 5 /GObject/SignalGroup/weak-ref-target 927s ok 6 /GObject/SignalGroup/connect-object 927s ok 7 /GObject/SignalGroup/signal-parsing 927s ok 8 /GObject/SignalGroup/properties 927s ok 9 /GObject/SignalGroup/interface 927s # Start of signal-parsing tests 927s # End of signal-parsing tests 927s # End of SignalGroup tests 927s # End of GObject tests 927s ok - glib/signalgroup.test 927s # Running test: glib/converter-stream.test 927s TAP version 14 927s # random seed: R02S439a007ff4138e0bfdca15ac9290f489 927s 1..17 927s # Start of converter tests 927s ok 1 /converter/basics 927s # End of converter tests 927s # Start of converter-input-stream tests 927s ok 2 /converter-input-stream/expander 927s ok 3 /converter-input-stream/compressor 927s # Start of truncation tests 927s # Executing: glib/converter-stream.test 927s ok 4 /converter-input-stream/truncation/zlib 927s ok 5 /converter-input-stream/truncation/gzip 927s ok 6 /converter-input-stream/truncation/raw 927s # End of truncation tests 927s # Start of charset tests 927s ok 7 /converter-input-stream/charset/utf8->latin1 927s ok 8 /converter-input-stream/charset/latin1->utf8 927s ok 9 /converter-input-stream/charset/fallbacks 927s # End of charset tests 927s # End of converter-input-stream tests 927s # Start of converter-output-stream tests 927s # Start of roundtrip tests 927s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 927s ok 10 /converter-output-stream/roundtrip/zlib-0 927s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 927s ok 11 /converter-output-stream/roundtrip/zlib-9 927s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 927s ok 12 /converter-output-stream/roundtrip/gzip-0 927s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 928s ok 13 /converter-output-stream/roundtrip/gzip-9 928s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 928s ok 14 /converter-output-stream/roundtrip/raw-0 928s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 928s ok 15 /converter-output-stream/roundtrip/raw-9 928s # End of roundtrip tests 928s # End of converter-output-stream tests 928s # Start of converter-stream tests 928s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 928s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbb4603216ea0 and GSocketClientAsyncConnectData 0xbb460360c330 928s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 928s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 928s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbb4603227620 for GSocketClientAsyncConnectData 0xbb460360c330 928s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 928s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 928s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 928s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 928s ok 16 /converter-stream/pollable 928s ok 17 /converter-stream/leftover 928s # End of converter-stream tests 928s ok - glib/converter-stream.test 928s # Running test: glib/deftype.test 928s ok - glib/deftype.test 928s # Running test: glib/throws.test 928s TAP version 14 928s # random seed: R02S9acd1e82290421a60feafe11fbbae92a 928s 1..3 928s # Start of throws tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_KP93X2/throws/invoke-gerror/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_KP93X2/throws/invoke-gerror/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_KP93X2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_KP93X2/throws/invoke-gerror/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_KP93X2/throws/invoke-gerror/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_KP93X2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_KP93X2/throws/invoke-gerror/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_KP93X2/throws/invoke-gerror/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_KP93X2/throws/invoke-gerror/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_KP93X2/throws/invoke-gerror/.dirs/runtime 928s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 928s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 928s ok 1 /throws/invoke-gerror 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_KP93X2/throws/vfunc-can-throw-gerror/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_KP93X2/throws/vfunc-can-throw-gerror/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_KP93X2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_KP93X2/throws/vfunc-can-throw-gerror/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_KP93X2/throws/vfunc-can-throw-gerror/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_KP93X2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_KP93X2/throws/vfunc-can-throw-gerror/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_KP93X2/throws/vfunc-can-throw-gerror/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_KP93X2/throws/vfunc-can-throw-gerror/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_KP93X2/throws/vfunc-can-throw-gerror/.dirs/runtime 928s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 928s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 928s ok 2 /throws/vfunc-can-throw-gerror 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_KP93X2/throws/callback-can-throw-gerror/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_KP93X2/throws/callback-can-throw-gerror/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_KP93X2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_KP93X2/throws/callback-can-throw-gerror/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_KP93X2/throws/callback-can-throw-gerror/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_KP93X2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_KP93X2/throws/callback-can-throw-gerror/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_KP93X2/throws/callback-can-throw-gerror/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_KP93X2/throws/callback-can-throw-gerror/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_KP93X2/throws/callback-can-throw-gerror/.dirs/runtime 928s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 928s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 928s ok 3 /throws/callback-can-throw-gerror 928s # End of throws tests 928s ok - glib/throws.test 928s # Running test: glib/date.test 928s TAP version 14 928s # random seed: R02Sb372a9f185634d4d3b74a1200e304940 928s 1..121 928s # Start of date tests 928s ok 1 /date/basic 928s ok 2 /date/empty 928s ok 3 /date/dmy 928s ok 4 /date/julian 928s ok 5 /date/compare 928s ok 6 /date/dates 928s ok 7 /date/strftime 928s ok 8 /date/two-digit-years 928s ok 9 /date/parse 928s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 928s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 928s ok 11 /date/month_substring 928s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 928s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 928s ok 13 /date/clamp 928s ok 14 /date/order 928s ok 15 /date/copy 928s # Vector 0: 0000-00-00, invalid 928s # Vector 1: 0001-01-01, valid 928s # Vector 2: 0000-01-01, invalid 928s # Vector 3: 2000-02-30, invalid 928s # Vector 4: 2000-02-29, valid 928s # Vector 5: 2001-02-29, invalid 928s # Vector 6: 65535-01-01, valid 928s ok 16 /date/valid-dmy 928s # Start of parse tests 928s # Test 0 928s # Test 1 928s ok 17 /date/parse/invalid 928s # End of parse tests 928s # Start of year tests 928s ok 18 /date/year/1 928s ok 19 /date/year/2 928s ok 20 /date/year/3 928s ok 21 /date/year/4 928s ok 22 /date/year/5 928s ok 23 /date/year/6 928s ok 24 /date/year/7 928s ok 25 /date/year/8 928s ok 26 /date/year/9 928s ok 27 /date/year/10 928s ok 28 /date/year/11 928s ok 29 /date/year/12 928s ok 30 /date/year/13 928s ok 31 /date/year/14 928s ok 32 /date/year/98 928s ok 33 /date/year/99 928s ok 34 /date/year/100 928s ok 35 /date/year/101 928s ok 36 /date/year/102 928s ok 37 /date/year/103 928s ok 38 /date/year/397 928s ok 39 /date/year/398 928s ok 40 /date/year/399 928s ok 41 /date/year/400 928s ok 42 /date/year/401 928s ok 43 /date/year/402 928s ok 44 /date/year/403 928s ok 45 /date/year/404 928s ok 46 /date/year/405 928s ok 47 /date/year/406 928s ok 48 /date/year/1598 928s ok 49 /date/year/1599 928s ok 50 /date/year/1600 928s ok 51 /date/year/1601 928s ok 52 /date/year/1602 928s ok 53 /date/year/1650 928s ok 54 /date/year/1651 928s ok 55 /date/year/1897 928s ok 56 /date/year/1898 928s ok 57 /date/year/1899 928s ok 58 /date/year/1900 928s ok 59 /date/year/1901 928s ok 60 /date/year/1902 928s ok 61 /date/year/1903 928s ok 62 /date/year/1961 928s ok 63 /date/year/1962 928s ok 64 /date/year/1963 928s ok 65 /date/year/1964 928s ok 66 /date/year/1965 928s ok 67 /date/year/1967 928s ok 68 /date/year/1968 928s ok 69 /date/year/1969 928s ok 70 /date/year/1970 928s ok 71 /date/year/1971 928s ok 72 /date/year/1972 928s ok 73 /date/year/1973 928s ok 74 /date/year/1974 928s ok 75 /date/year/1975 928s ok 76 /date/year/1976 928s ok 77 /date/year/1977 928s ok 78 /date/year/1978 928s ok 79 /date/year/1979 928s ok 80 /date/year/1980 928s ok 81 /date/year/1981 928s ok 82 /date/year/1982 928s ok 83 /date/year/1983 928s ok 84 /date/year/1984 928s ok 85 /date/year/1985 928s ok 86 /date/year/1986 928s ok 87 /date/year/1987 928s ok 88 /date/year/1988 928s ok 89 /date/year/1989 928s ok 90 /date/year/1990 928s ok 91 /date/year/1991 928s ok 92 /date/year/1992 928s ok 93 /date/year/1993 928s ok 94 /date/year/1994 928s ok 95 /date/year/1995 928s ok 96 /date/year/1996 928s ok 97 /date/year/1997 928s ok 98 /date/year/1998 928s ok 99 /date/year/1999 928s ok 100 /date/year/2000 928s ok 101 /date/year/2001 928s ok 102 /date/year/2002 928s ok 103 /date/year/2003 928s ok 104 /date/year/2004 928s ok 105 /date/year/2005 928s ok 106 /date/year/2006 928s ok 107 /date/year/2007 928s ok 108 /date/year/2008 928s ok 109 /date/year/2009 928s ok 110 /date/year/2010 928s ok 111 /date/year/2011 928s ok 112 /date/year/2012 928s ok 113 /date/year/3000 928s ok 114 /date/year/3001 928s ok 115 /date/year/3002 928s ok 116 /date/year/3998 928s ok 117 /date/year/3999 928s ok 118 /date/year/4000 928s ok 119 /date/year/4001 928s ok 120 /date/year/4002 928s ok 121 /date/year/4003 928s # End of year tests 928s # End of date tests 928s ok - glib/date.test 928s # Running test: glib/function-info.test 928s TAP version 14 928s # random seed: R02S785ba12bfc76d55d8f7ad5757b1de016 928s 1..1 928s # Start of function-info tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_8WWYX2/function-info/invoker/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_8WWYX2/function-info/invoker/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_8WWYX2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_8WWYX2/function-info/invoker/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_8WWYX2/function-info/invoker/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_8WWYX2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_8WWYX2/function-info/invoker/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_8WWYX2/function-info/invoker/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_8WWYX2/function-info/invoker/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_8WWYX2/function-info/invoker/.dirs/runtime 928s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 928s # /function-info/invoker summary: Test preparing a function invoker 928s ok 1 /function-info/invoker 928s # End of function-info tests 928s ok - glib/function-info.test 928s # Running test: glib/dataset.test 928s TAP version 14 928s # random seed: R02Sb1847b7b2ce06fc853ab8f1a28874ad4 928s 1..14 928s # Start of quark tests 928s ok 1 /quark/basic 928s ok 2 /quark/string 928s # End of quark tests 928s # Start of dataset tests 928s ok 3 /dataset/basic 928s ok 4 /dataset/id 928s ok 5 /dataset/full 928s ok 6 /dataset/foreach 928s ok 7 /dataset/destroy 928s # End of dataset tests 928s # Start of datalist tests 928s ok 8 /datalist/basic 928s ok 9 /datalist/id 928s ok 10 /datalist/recursive-clear 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 928s ok 11 /datalist/id-remove-multiple 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 928s ok 12 /datalist/id-remove-multiple-destroy-order 928s ok 13 /datalist/update-atomic 928s # Start of id-remove-multiple tests 928s ok 14 /datalist/id-remove-multiple/resize 928s # End of id-remove-multiple tests 928s # End of datalist tests 928s ok - glib/dataset.test 928s # Running test: glib/contenttype.test 928s TAP version 14 928s # random seed: R02S066fa93e1331db2731962d075d3eff82 928s 1..13 928s # Start of contenttype tests 928s ok 1 /contenttype/guess 928s ok 2 /contenttype/guess_svg_from_data 928s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 928s ok 4 /contenttype/unknown 928s ok 5 /contenttype/subtype 928s ok 6 /contenttype/list 928s ok 7 /contenttype/executable 928s ok 8 /contenttype/description 928s ok 9 /contenttype/icon 928s ok 10 /contenttype/symbolic-icon 928s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 928s ok 11 /contenttype/tree 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 928s ok 12 /contenttype/tree_invalid_encoding 928s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 928s ok 13 /contenttype/test_type_is_a_special_case 928s # End of contenttype tests 928s ok - glib/contenttype.test 928s # Running test: glib/mimeapps.test 928s TAP version 14 928s # random seed: R02S82d8c72bc7d5211d3c5c2fad53867e9b 928s 1..7 928s # Start of appinfo tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/runtime 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/system-data1/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/data/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/data/applications/myapp.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/data/applications/myapp2.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/data/applications/myapp3.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/data/applications/myapp4.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/data/applications/myapp5.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 928s # removing '/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/data/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 928s ok 1 /appinfo/all 928s # Start of mime tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/runtime 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/system-data1/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/data/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 928s # removing '/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/config 928s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OIZXX2/appinfo/all/.dirs/config to /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/config 928s ok 2 /appinfo/mime/api 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/runtime 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/system-data1/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/data/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 928s # removing '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/config 928s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OIZXX2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/config 928s ok 3 /appinfo/mime/default 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/runtime 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/system-data1/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/data/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 928s # removing '/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/config 928s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OIZXX2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/config 928s ok 4 /appinfo/mime/file 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/runtime 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/data/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 928s # removing '/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 928s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OIZXX2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/config 928s ok 5 /appinfo/mime/scheme-handler 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/runtime 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/data/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 928s # removing '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/config 928s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OIZXX2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/config 928s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/config 928s ok 6 /appinfo/mime/default-last-used 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/runtime 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 928s # removing '/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 928s # creating '/tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 928s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OIZXX2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_OIZXX2/appinfo/mime/ignore-nonexisting/.dirs/config 928s ok 7 /appinfo/mime/ignore-nonexisting 928s # End of mime tests 928s # End of appinfo tests 928s ok - glib/mimeapps.test 928s # Running test: glib/error.test 928s TAP version 14 928s # random seed: R02S5aaab0c1d7fe4dad3084d4daeffe8f1d 928s 1..3 928s # Start of error tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_PQMTX2/error/from-errno/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_PQMTX2/error/from-errno/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_PQMTX2/error/from-errno/.dirs/system-config1:/tmp/test_error_PQMTX2/error/from-errno/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_PQMTX2/error/from-errno/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_PQMTX2/error/from-errno/.dirs/system-data1:/tmp/test_error_PQMTX2/error/from-errno/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_PQMTX2/error/from-errno/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_PQMTX2/error/from-errno/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_PQMTX2/error/from-errno/.dirs/runtime 928s ok 1 /error/from-errno 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_PQMTX2/error/from-file-error/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_PQMTX2/error/from-file-error/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_PQMTX2/error/from-file-error/.dirs/system-config1:/tmp/test_error_PQMTX2/error/from-file-error/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_PQMTX2/error/from-file-error/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_PQMTX2/error/from-file-error/.dirs/system-data1:/tmp/test_error_PQMTX2/error/from-file-error/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_PQMTX2/error/from-file-error/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_PQMTX2/error/from-file-error/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_PQMTX2/error/from-file-error/.dirs/runtime 928s ok 2 /error/from-file-error 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_PQMTX2/error/from-win32-error/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_PQMTX2/error/from-win32-error/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_PQMTX2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_PQMTX2/error/from-win32-error/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_PQMTX2/error/from-win32-error/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_PQMTX2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_PQMTX2/error/from-win32-error/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_PQMTX2/error/from-win32-error/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_PQMTX2/error/from-win32-error/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_PQMTX2/error/from-win32-error/.dirs/runtime 928s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 928s # End of error tests 928s ok - glib/error.test 928s # Running test: glib/gdbus-server-auth.test 928s TAP version 14 928s # random seed: R02Sf77de55ca0a7637c39cec2fde8cec7c6 928s 1..9 928s # Start of gdbus tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/.dirs/runtime 928s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LVETX2/gdbus-server-auth-2P1TX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 928s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LVETX2/gdbus-server-auth-2P1TX2/dbus-2gKCu1di 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11926 928s ok 1 /gdbus/server-auth 928s # Start of server-auth tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/abstract/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/abstract/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/abstract/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/abstract/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/abstract/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/abstract/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/abstract/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/abstract/.dirs/runtime 928s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_LVETX2/gdbus-server-auth-EWQSX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 928s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LVETX2/gdbus-server-auth-EWQSX2/dbus-SIhwGwvp 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 928s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 928s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11926 928s ok 2 /gdbus/server-auth/abstract 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/tcp/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/tcp/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/tcp/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/tcp/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/tcp/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/tcp/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/tcp/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/tcp/.dirs/runtime 928s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 928s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/.dirs/runtime 928s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LVETX2/gdbus-server-auth-7Z9RX2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 928s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LVETX2/gdbus-server-auth-7Z9RX2/dbus-meMbDCbP 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11926 928s ok 4 /gdbus/server-auth/anonymous 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/.dirs/runtime 928s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LVETX2/gdbus-server-auth-ZCARX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 928s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LVETX2/gdbus-server-auth-ZCARX2/dbus-gjt1Qg5v 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11926 928s ok 5 /gdbus/server-auth/external 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/.dirs/runtime 928s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LVETX2/gdbus-server-auth-AZTQX2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 928s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 928s # Start of anonymous tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/tcp/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/tcp/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/tcp/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/tcp/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/tcp/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 928s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 928s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 928s # End of anonymous tests 928s # Start of external tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/require-same-user/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/require-same-user/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/require-same-user/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/require-same-user/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/require-same-user/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/external/require-same-user/.dirs/runtime 928s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LVETX2/gdbus-server-auth-GLTQX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 928s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LVETX2/gdbus-server-auth-GLTQX2/dbus-GyHfji9P 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11926 928s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 928s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 928s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 928s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11926,uid=1000,gid=1000 928s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11926 928s ok 8 /gdbus/server-auth/external/require-same-user 928s # End of external tests 928s # Start of sha1 tests 928s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/tcp/.dirs/home 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/tcp/.dirs/cache 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/tcp/.dirs/config 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/tcp/.dirs/data 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/tcp/.dirs/state 928s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LVETX2/gdbus/server-auth/sha1/tcp/.dirs/runtime 928s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 928s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 928s # End of sha1 tests 928s # End of server-auth tests 928s # End of gdbus tests 928s ok - glib/gdbus-server-auth.test 928s # Running test: glib/vfs.test 928s TAP version 14 928s # random seed: R02S6ce582d99252edef9f1351ee37e2a60c 928s 1..3 928s # Start of gvfs tests 928s ok 1 /gvfs/local 928s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 928s ok 2 /gvfs/register-scheme 928s # Start of resource tests 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 928s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 928s ok 3 /gvfs/resource/malformed-escaping 928s # End of resource tests 928s # End of gvfs tests 928s ok - glib/vfs.test 928s # Running test: glib/gsubprocess.test 928s TAP version 14 928s # random seed: R02S53321b83c5f3f344195572f532f6be2f 928s 1..83 928s # Start of gsubprocess tests 928s ok 1 /gsubprocess/noop 928s ok 2 /gsubprocess/noop-all-to-null 928s ok 3 /gsubprocess/noop-no-wait 928s ok 4 /gsubprocess/noop-stdin-inherit 928s ok 5 /gsubprocess/search-path 928s ok 6 /gsubprocess/search-path-from-envp 932s # Executing: glib/gsubprocess.test 932s ok 7 /gsubprocess/signal 932s # slow test /gsubprocess/signal executed in 3.48 secs 932s ok 8 /gsubprocess/exit1 932s ok 9 /gsubprocess/echo1 932s ok 10 /gsubprocess/echo-merged 932s ok 11 /gsubprocess/cat-utf8 933s ok 12 /gsubprocess/cat-eof 933s # slow test /gsubprocess/cat-eof executed in 1.01 secs 936s ok 13 /gsubprocess/multi1 936s # slow test /gsubprocess/multi1 executed in 3.02 secs 936s ok 14 /gsubprocess/communicate 937s # Executing: glib/gsubprocess.test 939s ok 15 /gsubprocess/terminate 939s # slow test /gsubprocess/terminate executed in 2.93 secs 939s ok 16 /gsubprocess/env 939s ok 17 /gsubprocess/cwd 939s ok 18 /gsubprocess/launcher-close 939s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 939s ok 19 /gsubprocess/stdout-file 939s ok 20 /gsubprocess/stdout-fd 939s ok 21 /gsubprocess/child-setup 939s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 939s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 939s ok 22 /gsubprocess/launcher-environment 939s # Start of exit1 tests 939s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 939s ok 23 /gsubprocess/exit1/cancel 939s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 939s ok 24 /gsubprocess/exit1/cancel_in_cb 939s # End of exit1 tests 939s # Start of communicate tests 939s ok 25 /gsubprocess/communicate/cancelled 939s ok 26 /gsubprocess/communicate/async 939s ok 27 /gsubprocess/communicate/utf8 939s # hello world 939s ok 28 /gsubprocess/communicate/no-pipes 939s ok 29 /gsubprocess/communicate/separate-stderr 939s ok 30 /gsubprocess/communicate/stdout-only 939s # hello world 939s ok 31 /gsubprocess/communicate/stderr-only 939s ok 32 /gsubprocess/communicate/stdout-silence 939s ok 33 /gsubprocess/communicate/nothing 939s # Start of async tests 939s ok 34 /gsubprocess/communicate/async/cancelled 939s # hello world 939s ok 35 /gsubprocess/communicate/async/no-pipes 939s ok 36 /gsubprocess/communicate/async/separate-stderr 939s ok 37 /gsubprocess/communicate/async/stdout-only 939s # hello world 939s ok 38 /gsubprocess/communicate/async/stderr-only 939s ok 39 /gsubprocess/communicate/async/stdout-silence 939s # Start of cancelled tests 939s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 939s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 939s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 939s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 939s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 939s # End of cancelled tests 939s # End of async tests 939s # Start of utf8 tests 939s ok 45 /gsubprocess/communicate/utf8/cancelled 939s ok 46 /gsubprocess/communicate/utf8/async 939s # hello world 939s ok 47 /gsubprocess/communicate/utf8/no-pipes 939s ok 48 /gsubprocess/communicate/utf8/separate-stderr 939s ok 49 /gsubprocess/communicate/utf8/stdout-only 939s # hello world 939s ok 50 /gsubprocess/communicate/utf8/stderr-only 939s ok 51 /gsubprocess/communicate/utf8/stdout-silence 939s ok 52 /gsubprocess/communicate/utf8/invalid 939s # Start of async tests 939s ok 53 /gsubprocess/communicate/utf8/async/cancelled 939s # hello world 939s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 939s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 939s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 939s # hello world 939s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 939s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 939s ok 59 /gsubprocess/communicate/utf8/async/invalid 939s # Start of cancelled tests 939s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 939s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 939s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 939s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 939s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 939s # End of cancelled tests 939s # End of async tests 939s # Start of cancelled tests 939s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 939s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 939s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 939s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 939s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 939s # End of cancelled tests 939s # End of utf8 tests 939s # Start of cancelled tests 939s ok 70 /gsubprocess/communicate/cancelled/no-pipes 939s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 939s ok 72 /gsubprocess/communicate/cancelled/stdout-only 939s ok 73 /gsubprocess/communicate/cancelled/stderr-only 939s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 939s # End of cancelled tests 939s # End of communicate tests 939s # Start of env tests 939s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 939s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 939s ok 75 /gsubprocess/env/inherit 939s # End of env tests 939s # Start of pass-fd tests 939s ok 76 /gsubprocess/pass-fd/basic 939s ok 77 /gsubprocess/pass-fd/empty-child-setup 939s ok 78 /gsubprocess/pass-fd/inherit-fds 939s # End of pass-fd tests 939s # Start of fd-conflation tests 939s ok 79 /gsubprocess/fd-conflation/basic 939s ok 80 /gsubprocess/fd-conflation/empty-child-setup 939s ok 81 /gsubprocess/fd-conflation/inherit-fds 939s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 939s # End of fd-conflation tests 939s # Start of exit-status tests 939s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 939s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 939s ok 83 /gsubprocess/exit-status/trapped 939s # End of exit-status tests 939s # End of gsubprocess tests 939s ok - glib/gsubprocess.test 939s # Running test: glib/gdbus-close-pending.test 939s TAP version 14 939s # random seed: R02S6b5406db2351ce60d7accf1ed46b1225 939s 1..2 939s # Start of gdbus tests 939s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/close-pending/.dirs/home 939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/close-pending/.dirs/cache 939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_TFKRX2/gdbus/close-pending/.dirs/system-config2 939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/close-pending/.dirs/config 939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_TFKRX2/gdbus/close-pending/.dirs/system-data2 939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/close-pending/.dirs/data 939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/close-pending/.dirs/state 939s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/close-pending/.dirs/runtime 940s ok 1 /gdbus/close-pending 940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/unref-pending/.dirs/home 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/unref-pending/.dirs/cache 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_TFKRX2/gdbus/unref-pending/.dirs/system-config2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/unref-pending/.dirs/config 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_TFKRX2/gdbus/unref-pending/.dirs/system-data2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/unref-pending/.dirs/data 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/unref-pending/.dirs/state 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_TFKRX2/gdbus/unref-pending/.dirs/runtime 940s ok 2 /gdbus/unref-pending 940s # End of gdbus tests 940s ok - glib/gdbus-close-pending.test 940s # Running test: glib/gdbus-proxy-well-known-name.test 940s TAP version 14 940s # random seed: R02S6741dcf9c1dc4933e6a7d7476a5d1c06 940s 1..1 940s # Start of gdbus tests 940s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_TFDZX2/gdbus/proxy-well-known-name/.dirs/home 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_TFDZX2/gdbus/proxy-well-known-name/.dirs/cache 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_TFDZX2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_TFDZX2/gdbus/proxy-well-known-name/.dirs/system-config2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_TFDZX2/gdbus/proxy-well-known-name/.dirs/config 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_TFDZX2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_TFDZX2/gdbus/proxy-well-known-name/.dirs/system-data2 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_TFDZX2/gdbus/proxy-well-known-name/.dirs/data 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_TFDZX2/gdbus/proxy-well-known-name/.dirs/state 940s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_TFDZX2/gdbus/proxy-well-known-name/.dirs/runtime 940s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 940s ok 1 /gdbus/proxy-well-known-name 940s # End of gdbus tests 940s ok - glib/gdbus-proxy-well-known-name.test 940s # Running test: glib/giomodule.test 940s TAP version 14 940s # random seed: R02Se7a8aaf0d6353064f2f9086dac10f7f8 940s 1..3 940s # Start of giomodule tests 940s ok 1 /giomodule/extension-point 940s ok 2 /giomodule/module-scan-all 940s ok 3 /giomodule/module-scan-all-with-scope 940s # End of giomodule tests 940s ok - glib/giomodule.test 940s # Running test: glib/autoptr.test 940s TAP version 14 940s # random seed: R02S721ab938a623c14891bbb3ab5768e223 940s 1..6 940s # Start of autoptr tests 940s ok 1 /autoptr/autoptr 940s ok 2 /autoptr/autoptr_steal 940s ok 3 /autoptr/autolist 940s ok 4 /autoptr/autoslist 940s ok 5 /autoptr/autoqueue 940s ok 6 /autoptr/autoclass 940s # End of autoptr tests 940s ok - glib/autoptr.test 940s # Running test: glib/memory-settings-backend.test 940s TAP version 14 940s # random seed: R02S399b31f3700c50fb8d362a36e8cfab2f 940s 1..1 940s # Start of memory-settings-backend tests 940s ok 1 /memory-settings-backend/extension-point-registered 940s # End of memory-settings-backend tests 940s ok - glib/memory-settings-backend.test 940s # Running test: glib/guuid.test 940s TAP version 14 940s # random seed: R02Sffcb6f477120ab1624dc4b9b5ff549a0 940s 1..2 940s # Start of uuid tests 940s ok 1 /uuid/string 940s ok 2 /uuid/random 940s # End of uuid tests 940s ok - glib/guuid.test 940s # Running test: glib/tls-interaction.test 940s TAP version 14 940s # random seed: R02Sfb09209f70863d04ce6711d91198be4d 940s 1..42 940s # Start of tls-interaction tests 940s # Start of ask-password tests 940s # Start of invoke-with-loop tests 940s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 940s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 940s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 940s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 940s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 940s # End of invoke-with-loop tests 940s # Start of invoke-without-loop tests 940s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 940s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 940s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 940s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 940s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 940s # End of invoke-without-loop tests 940s # Start of invoke-in-loop tests 940s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 940s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 940s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 940s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 940s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 940s # End of invoke-in-loop tests 940s # Start of sync tests 940s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 940s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 940s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 940s # End of sync tests 940s # Start of async tests 940s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 940s ok 20 /tls-interaction/ask-password/async/async-implementation-success 940s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 940s # End of async tests 940s # End of ask-password tests 940s # Start of request-certificate tests 940s # Start of invoke-with-loop tests 940s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 940s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 940s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 940s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 940s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 940s # End of invoke-with-loop tests 940s # Start of invoke-without-loop tests 940s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 940s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 940s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 940s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 940s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 940s # End of invoke-without-loop tests 940s # Start of invoke-in-loop tests 940s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 940s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 940s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 940s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 940s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 940s # End of invoke-in-loop tests 940s # Start of sync tests 940s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 940s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 940s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 940s # End of sync tests 940s # Start of async tests 940s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 940s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 940s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 940s # End of async tests 940s # End of request-certificate tests 940s # End of tls-interaction tests 940s ok - glib/tls-interaction.test 940s # Running test: glib/cxx-2b.test 940s TAP version 14 940s # random seed: R02S17345ee8b3466c52adc2b8e8a19b1a08 940s 1..2 940s # Start of gtask tests 940s # 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. 940s ok 1 /gtask/name 940s # Start of name tests 940s # 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. 940s ok 2 /gtask/name/macro-wrapper 940s # End of name tests 940s # End of gtask tests 940s ok - glib/cxx-2b.test 940s # Running test: glib/type.test 940s TAP version 14 940s # random seed: R02S633c1c0583fb0c14c820ba23debcad9a 940s 1..6 940s # Start of type tests 940s ok 1 /type/registration-serial 940s ok 2 /type/interface-prerequisite 940s ok 3 /type/interface-check 940s ok 4 /type/next-base 940s ok 5 /type/is-a 940s # Invalid types can?t be queried. 940s # Unclassed types can?t be queried. 940s ok 6 /type/query 940s # End of type tests 940s ok - glib/type.test 940s # Running test: glib/converter.test 940s TAP version 14 940s # random seed: R02S729ce97c871ea2f378a9fd52377509ea 940s 1..1 940s # Start of converter tests 940s ok 1 /converter/bytes 940s # End of converter tests 940s ok - glib/converter.test 940s # Running test: glib/dynamictests.test 940s TAP version 14 940s # random seed: R02Se84c54c98422722c9a8cbdf0e7a36f78 940s 1..2 940s # Start of GObject tests 940s ok 1 /GObject/threaded-dynamic-ref-unref-init 940s ok 2 /GObject/dynamic-interface-properties 940s # End of GObject tests 940s ok - glib/dynamictests.test 940s # Running test: glib/atomic-c-17.test 940s TAP version 14 940s # random seed: R02Sbde49a2a2c83d7df7bc5a455785e609d 940s 1..2 940s # Start of atomic tests 940s ok 1 /atomic/types 940s ok 2 /atomic/threaded 940s # End of atomic tests 940s ok - glib/atomic-c-17.test 940s # Running test: glib/mapping.test 940s TAP version 14 940s # random seed: R02Sbb77e51df5b4e7524235b8ce8ebeeb78 940s 1..3 940s # Start of mapping tests 940s # test_mapping: ok 940s ok 1 /mapping/flags 940s ok 2 /mapping/private 940s # test_child_private: child spawned 940s # Subtest: /usr/libexec/installed-tests/glib/mapping 940s # random seed: R02S0be1d85c1b37478c74fa301b9d1fe43a 940s # test_child_private: received first child signal 940s # test_child_private: received parent signal 940s # Child exited with status 0 940s # test_child_private: received second child signal 940s ok 3 /mapping/private-child 940s # End of mapping tests 940s ok - glib/mapping.test 940s # Running test: glib/tls-certificate.test 940s TAP version 14 940s # random seed: R02S0d26d403f496485216beb697660b76b2 940s 1..19 940s # Start of tls-certificate tests 940s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 940s ok 1 /tls-certificate/pem-parser 940s ok 2 /tls-certificate/pem-parser-handles-chain 940s ok 3 /tls-certificate/from_file 940s ok 4 /tls-certificate/from_files 940s ok 5 /tls-certificate/from_files_crlf 940s ok 6 /tls-certificate/from_files_pkcs8 940s ok 7 /tls-certificate/from_files_pkcs8enc 940s ok 8 /tls-certificate/list_from_file 940s ok 9 /tls-certificate/pkcs11-uri 940s ok 10 /tls-certificate/pkcs11-uri-unsupported 940s ok 11 /tls-certificate/from_pkcs12 940s ok 12 /tls-certificate/from_pkcs12_file 940s ok 13 /tls-certificate/not-valid-before 940s ok 14 /tls-certificate/not-valid-after 940s ok 15 /tls-certificate/subject-name 940s ok 16 /tls-certificate/issuer-name 940s ok 17 /tls-certificate/dns-names 940s ok 18 /tls-certificate/ip-addresses 940s ok 19 /tls-certificate/pem-parser-no-sentinel 940s # End of tls-certificate tests 940s ok - glib/tls-certificate.test 940s # Running test: glib/references.test 940s TAP version 14 940s # random seed: R02Sc3c9b955538d57a004401638e6bd4299 940s 1..1 940s # Start of gobject tests 940s ok 1 /gobject/references 940s # End of gobject tests 940s ok - glib/references.test 940s # Running test: glib/socket-listener.test 940s TAP version 14 940s # random seed: R02S473bf8c0910a435a0f3e09c099df95ab 940s 1..1 940s # Start of socket-listener tests 940s ok 1 /socket-listener/event-signal 940s # End of socket-listener tests 940s ok - glib/socket-listener.test 940s # Running test: glib/cond.test 940s TAP version 14 940s # random seed: R02Sf7303bbeed32c5a3106251d927013794 940s 1..4 940s # Start of thread tests 940s ok 1 /thread/cond1 940s ok 2 /thread/cond2 940s # Start of cond tests 941s ok 3 /thread/cond/wait-until 941s # slow test /thread/cond/wait-until executed in 1.02 secs 941s # Start of wait-until tests 941s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 941s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 942s # Executing: glib/cond.test 942s ok 4 /thread/cond/wait-until/contended-and-interrupted 942s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 942s # End of wait-until tests 942s # End of cond tests 942s # End of thread tests 942s ok - glib/cond.test 942s # Running test: glib/option-argv0.test 942s TAP version 14 942s # random seed: R02Sfacaf1adeab198fc2a0b0cd37457d385 942s 1..1 942s # Start of option tests 942s ok 1 /option/argv0 942s # End of option tests 943s ok - glib/option-argv0.test 943s # Running test: glib/portal-support-snap-classic.test 943s TAP version 14 943s # random seed: R02S7c3e1c967ad63d8dbe123f7878a7853e 943s 1..3 943s # Start of portal-support tests 943s # Start of snap-classic tests 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/no-snapctl/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/no-snapctl/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/no-snapctl/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/no-snapctl/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/no-snapctl/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/no-snapctl/.dirs/runtime 943s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/no-snapctl: No such file or directory 943s ok 1 /portal-support/snap-classic/no-snapctl 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/none/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/none/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/none/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/none/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/none/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/none/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/none/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/none/.dirs/runtime 943s # Created snap.yaml in /tmp/test_portal-support-snap-classic_R1ANX2/meta/snap.yaml 943s # Created snapctl in /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/none/.dirs/runtime/snapctl 943s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/none: No such file or directory 943s ok 2 /portal-support/snap-classic/none 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/all/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/all/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/all/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/all/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/all/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/all/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/all/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/all/.dirs/runtime 943s # Created snap.yaml in /tmp/test_portal-support-snap-classic_R1ANX2/meta/snap.yaml 943s # Created snapctl in /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/all/.dirs/runtime/snapctl 943s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_R1ANX2/portal-support/snap-classic/all: No such file or directory 943s ok 3 /portal-support/snap-classic/all 943s # End of snap-classic tests 943s # End of portal-support tests 943s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_R1ANX2: No such file or directory 943s ok - glib/portal-support-snap-classic.test 943s # Running test: glib/genmarshal.py.test 943s TAP version 13 943s ok 1 __main__.TestGenmarshal.test_empty_list 943s # tmpdir: /tmp/tmpxnq_ehst 943s # genmarshal: /usr/bin/glib-genmarshal 943s # /tmp/tmpxnq_ehst/tmpdm8bb257.list: 943s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpxnq_ehst/tmpdm8bb257.list', '--header', '--quiet'] 943s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 943s # 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. */ 943s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 943s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 943s # 943s # #include 943s # 943s # G_BEGIN_DECLS 943s # 943s # 943s # G_END_DECLS 943s # 943s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 943s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpxnq_ehst/tmpdm8bb257.list', '--body', '--quiet'] 943s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 943s # 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. */ 943s # #include 943s # 943s # #ifdef G_ENABLE_DEBUG 943s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 943s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 943s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 943s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 943s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 943s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 943s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 943s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 943s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 943s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 943s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 943s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 943s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 943s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 943s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 943s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 943s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 943s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 943s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 943s # #else /* !G_ENABLE_DEBUG */ 943s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 943s # * Do not access GValues directly in your code. Instead, use the 943s # * g_value_get_*() functions 943s # */ 943s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 943s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 943s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 943s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 943s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 943s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 943s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 943s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 943s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 943s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 943s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 943s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 943s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 943s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 943s # #endif /* !G_ENABLE_DEBUG */ 943s ok 2 __main__.TestGenmarshal.test_help 943s # tmpdir: /tmp/tmp2upx1f5u 943s # genmarshal: /usr/bin/glib-genmarshal 943s # Running: ['/usr/bin/glib-genmarshal', '--help'] 943s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 943s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 943s # [--internal] [--valist-marshallers] [-v] 943s # [--g-fatal-warnings] [--include-header [HEADER]] 943s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 943s # [--prototypes] [--header] [--body] 943s # [--stdinc | --nostdinc] [--quiet | --verbose] 943s # [FILE ...] 943s # 943s # Generate signal marshallers for GObject 943s # 943s # positional arguments: 943s # FILE Files with lists of marshallers to generate, or "-" 943s # for standard input 943s # 943s # options: 943s # -h, --help show this help message and exit 943s # --prefix STRING Specify marshaller prefix 943s # --output FILE Write output into the specified file 943s # --skip-source Skip source location comments 943s # --internal Mark generated functions as internal 943s # --valist-marshallers Generate va_list marshallers 943s # -v, --version Print version information, and exit 943s # --g-fatal-warnings Make warnings fatal 943s # --include-header [HEADER] 943s # Include the specified header in the body 943s # --pragma-once Use "pragma once" as the inclusion guard 943s # -D CPP_DEFINES Pre-processor define 943s # -U CPP_UNDEFINES Pre-processor undefine 943s # --prototypes Generate the marshallers prototype in the C code 943s # --header Generate C headers 943s # --body Generate C code 943s # --stdinc Include standard marshallers 943s # --nostdinc Use standard marshallers 943s # --quiet Only print warnings and errors 943s # --verbose Be verbose, and include debugging information 943s ok 3 __main__.TestGenmarshal.test_no_args 943s # tmpdir: /tmp/tmpq41cyvuj 943s # genmarshal: /usr/bin/glib-genmarshal 943s # Running: ['/usr/bin/glib-genmarshal'] 943s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 943s # Output: 943s ok 4 __main__.TestGenmarshal.test_void_boolean 943s # tmpdir: /tmp/tmp_w90xsvq 943s # genmarshal: /usr/bin/glib-genmarshal 943s # /tmp/tmp_w90xsvq/tmp0jtczpbf.list: VOID:BOOLEAN 943s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_w90xsvq/tmp0jtczpbf.list', '--header', '--quiet'] 943s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 943s # 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. */ 943s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 943s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 943s # 943s # #include 943s # 943s # G_BEGIN_DECLS 943s # 943s # /* VOID:BOOLEAN (/tmp/tmp_w90xsvq/tmp0jtczpbf.list:1) */ 943s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 943s # 943s # 943s # G_END_DECLS 943s # 943s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 943s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_w90xsvq/tmp0jtczpbf.list', '--body', '--quiet'] 943s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 943s # 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. */ 943s # #include 943s # 943s # #ifdef G_ENABLE_DEBUG 943s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 943s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 943s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 943s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 943s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 943s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 943s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 943s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 943s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 943s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 943s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 943s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 943s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 943s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 943s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 943s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 943s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 943s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 943s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 943s # #else /* !G_ENABLE_DEBUG */ 943s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 943s # * Do not access GValues directly in your code. Instead, use the 943s # * g_value_get_*() functions 943s # */ 943s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 943s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 943s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 943s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 943s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 943s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 943s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 943s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 943s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 943s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 943s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 943s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 943s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 943s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 943s # #endif /* !G_ENABLE_DEBUG */ 943s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 943s # tmpdir: /tmp/tmpe5w9f61w 943s # genmarshal: /usr/bin/glib-genmarshal 943s # /tmp/tmpe5w9f61w/tmpctli_c39.list: VOID:BOOLEAN,INT64 943s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpe5w9f61w/tmpctli_c39.list', '--header', '--quiet'] 943s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 943s # 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. */ 943s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 943s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 943s # 943s # #include 943s # 943s # G_BEGIN_DECLS 943s # 943s # /* VOID:BOOLEAN,INT64 (/tmp/tmpe5w9f61w/tmpctli_c39.list:1) */ 943s # extern 943s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 943s # GValue *return_value, 943s # guint n_param_values, 943s # const GValue *param_values, 943s # gpointer invocation_hint, 943s # gpointer marshal_data); 943s # 943s # 943s # G_END_DECLS 943s # 943s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 943s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpe5w9f61w/tmpctli_c39.list', '--body', '--quiet'] 943s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 943s # 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. */ 943s # #include 943s # 943s # #ifdef G_ENABLE_DEBUG 943s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 943s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 943s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 943s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 943s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 943s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 943s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 943s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 943s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 943s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 943s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 943s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 943s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 943s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 943s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 943s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 943s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 943s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 943s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 943s # #else /* !G_ENABLE_DEBUG */ 943s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 943s # * Do not access GValues directly in your code. Instead, use the 943s # * g_value_get_*() functions 943s # */ 943s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 943s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 943s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 943s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 943s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 943s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 943s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 943s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 943s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 943s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 943s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 943s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 943s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 943s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 943s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 943s # #endif /* !G_ENABLE_DEBUG */ 943s # 943s # /* VOID:BOOLEAN,INT64 (/tmp/tmpe5w9f61w/tmpctli_c39.list:1) */ 943s # void 943s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 943s # GValue *return_value G_GNUC_UNUSED, 943s # guint n_param_values, 943s # const GValue *param_values, 943s # gpointer invocation_hint G_GNUC_UNUSED, 943s # gpointer marshal_data) 943s # { 943s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 943s # gboolean arg1, 943s # gint64 arg2, 943s # gpointer data2); 943s # GCClosure *cc = (GCClosure *) closure; 943s # gpointer data1, data2; 943s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 943s # 943s # g_return_if_fail (n_param_values == 3); 943s # 943s # if (G_CCLOSURE_SWAP_DATA (closure)) 943s # { 943s # data1 = closure->data; 943s # data2 = g_value_peek_pointer (param_values + 0); 943s # } 943s # else 943s # { 943s # data1 = g_value_peek_pointer (param_values + 0); 943s # data2 = closure->data; 943s # } 943s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 943s # 943s # callback (data1, 943s # g_marshal_value_peek_boolean (param_values + 1), 943s # g_marshal_value_peek_int64 (param_values + 2), 943s # data2); 943s # } 944s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 944s # tmpdir: /tmp/tmpcuugd9zk 944s # genmarshal: /usr/bin/glib-genmarshal 944s # /tmp/tmpcuugd9zk/tmpkpqur8qu.list: VOID:PARAM 944s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcuugd9zk/tmpkpqur8qu.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 944s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 944s # 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. */ 944s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 944s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 944s # 944s # G_BEGIN_DECLS 944s # 944s # /* VOID:PARAM (/tmp/tmpcuugd9zk/tmpkpqur8qu.list:1) */ 944s # extern 944s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 944s # GValue *return_value, 944s # guint n_param_values, 944s # const GValue *param_values, 944s # gpointer invocation_hint, 944s # gpointer marshal_data); 944s # extern 944s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 944s # GValue *return_value, 944s # gpointer instance, 944s # va_list args, 944s # gpointer marshal_data, 944s # int n_params, 944s # GType *param_types); 944s # 944s # 944s # G_END_DECLS 944s # 944s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 944s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcuugd9zk/tmpkpqur8qu.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 944s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 944s # 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. */ 944s # #ifdef G_ENABLE_DEBUG 944s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 944s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 944s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 944s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 944s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 944s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 944s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 944s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 944s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 944s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 944s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 944s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 944s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 944s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 944s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 944s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 944s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 944s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 944s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 944s # #else /* !G_ENABLE_DEBUG */ 944s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 944s # * Do not access GValues directly in your code. Instead, use the 944s # * g_value_get_*() functions 944s # */ 944s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 944s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 944s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 944s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 944s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 944s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 944s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 944s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 944s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 944s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 944s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 944s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 944s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 944s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 944s # #endif /* !G_ENABLE_DEBUG */ 944s # 944s # /* VOID:PARAM (/tmp/tmpcuugd9zk/tmpkpqur8qu.list:1) */ 944s # void 944s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 944s # GValue *return_value G_GNUC_UNUSED, 944s # guint n_param_values, 944s # const GValue *param_values, 944s # gpointer invocation_hint G_GNUC_UNUSED, 944s # gpointer marshal_data) 944s # { 944s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 944s # gpointer arg1, 944s # gpointer data2); 944s # GCClosure *cc = (GCClosure *) closure; 944s # gpointer data1, data2; 944s # GMarshalFunc_VOID__PARAM callback; 944s # 944s # g_return_if_fail (n_param_values == 2); 944s # 944s # if (G_CCLOSURE_SWAP_DATA (closure)) 944s # { 944s # data1 = closure->data; 944s # data2 = g_value_peek_pointer (param_values + 0); 944s # } 944s # else 944s # { 944s # data1 = g_value_peek_pointer (param_values + 0); 944s # data2 = closure->data; 944s # } 944s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 944s # 944s # callback (data1, 944s # g_marshal_value_peek_param (param_values + 1), 944s # data2); 944s # } 944s # 944s # void 944s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 944s # GValue *return_value G_GNUC_UNUSED, 944s # gpointer instance, 944s # va_list args, 944s # gpointer marshal_data, 944s # int n_params, 944s # GType *param_types) 944s # { 944s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 944s # gpointer arg1, 944s # gpointer data2); 944s # GCClosure *cc = (GCClosure *) closure; 944s # gpointer data1, data2; 944s # GMarshalFunc_VOID__PARAM callback; 944s # gpointer arg0; 944s # va_list args_copy; 944s # 944s # va_copy (args_copy, args); 944s # arg0 = (gpointer) va_arg (args_copy, gpointer); 944s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 944s # arg0 = g_param_spec_ref (arg0); 944s # va_end (args_copy); 944s # 944s # 944s # if (G_CCLOSURE_SWAP_DATA (closure)) 944s # { 944s # data1 = closure->data; 944s # data2 = instance; 944s # } 944s # else 944s # { 944s # data1 = instance; 944s # data2 = closure->data; 944s # } 944s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 944s # 944s # callback (data1, 944s # arg0, 944s # data2); 944s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 944s # g_param_spec_unref (arg0); 944s # } 944s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 944s # tmpdir: /tmp/tmp0f_qn0ok 944s # genmarshal: /usr/bin/glib-genmarshal 944s # /tmp/tmp0f_qn0ok/tmp3ve5l4jk.list: VOID:STRING 944s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp0f_qn0ok/tmp3ve5l4jk.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 944s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 944s # 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. */ 944s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 944s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 944s # 944s # G_BEGIN_DECLS 944s # 944s # /* VOID:STRING (/tmp/tmp0f_qn0ok/tmp3ve5l4jk.list:1) */ 944s # extern 944s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 944s # GValue *return_value, 944s # guint n_param_values, 944s # const GValue *param_values, 944s # gpointer invocation_hint, 944s # gpointer marshal_data); 944s # extern 944s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 944s # GValue *return_value, 944s # gpointer instance, 944s # va_list args, 944s # gpointer marshal_data, 944s # int n_params, 944s # GType *param_types); 944s # 944s # 944s # G_END_DECLS 944s # 944s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 944s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp0f_qn0ok/tmp3ve5l4jk.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 944s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 944s # 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. */ 944s # #ifdef G_ENABLE_DEBUG 944s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 944s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 944s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 944s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 944s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 944s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 944s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 944s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 944s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 944s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 944s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 944s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 944s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 944s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 944s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 944s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 944s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 944s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 944s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 944s # #else /* !G_ENABLE_DEBUG */ 944s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 944s # * Do not access GValues directly in your code. Instead, use the 944s # * g_value_get_*() functions 944s # */ 944s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 944s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 944s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 944s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 944s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 944s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 944s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 944s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 944s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 944s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 944s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 944s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 944s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 944s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 944s # #endif /* !G_ENABLE_DEBUG */ 944s # 944s # /* VOID:STRING (/tmp/tmp0f_qn0ok/tmp3ve5l4jk.list:1) */ 944s # void 944s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 944s # GValue *return_value G_GNUC_UNUSED, 944s # guint n_param_values, 944s # const GValue *param_values, 944s # gpointer invocation_hint G_GNUC_UNUSED, 944s # gpointer marshal_data) 944s # { 944s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 944s # gpointer arg1, 944s # gpointer data2); 944s # GCClosure *cc = (GCClosure *) closure; 944s # gpointer data1, data2; 944s # GMarshalFunc_VOID__STRING callback; 944s # 944s # g_return_if_fail (n_param_values == 2); 944s # 944s # if (G_CCLOSURE_SWAP_DATA (closure)) 944s # { 944s # data1 = closure->data; 944s # data2 = g_value_peek_pointer (param_values + 0); 944s # } 944s # else 944s # { 944s # data1 = g_value_peek_pointer (param_values + 0); 944s # data2 = closure->data; 944s # } 944s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 944s # 944s # callback (data1, 944s # g_marshal_value_peek_string (param_values + 1), 944s # data2); 944s # } 944s # 944s # void 944s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 944s # GValue *return_value G_GNUC_UNUSED, 944s # gpointer instance, 944s # va_list args, 944s # gpointer marshal_data, 944s # int n_params, 944s # GType *param_types) 944s # { 944s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 944s # gpointer arg1, 944s # gpointer data2); 944s # GCClosure *cc = (GCClosure *) closure; 944s # gpointer data1, data2; 944s # GMarshalFunc_VOID__STRING callback; 944s # gpointer arg0; 944s # va_list args_copy; 944s # 944s # va_copy (args_copy, args); 944s # arg0 = (gpointer) va_arg (args_copy, gpointer); 944s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 944s # arg0 = g_strdup (arg0); 944s # va_end (args_copy); 944s # 944s # 944s # if (G_CCLOSURE_SWAP_DATA (closure)) 944s # { 944s # data1 = closure->data; 944s # data2 = instance; 944s # } 944s # else 944s # { 944s # data1 = instance; 944s # data2 = closure->data; 944s # } 944s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 944s # 944s # callback (data1, 944s # arg0, 944s # data2); 944s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 944s # g_free (arg0); 944s # } 944s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 944s # tmpdir: /tmp/tmpew73wqyt 944s # genmarshal: /usr/bin/glib-genmarshal 944s # /tmp/tmpew73wqyt/tmpg21cecfa.list: VOID:VARIANT 944s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpew73wqyt/tmpg21cecfa.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 944s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 944s # 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. */ 944s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 944s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 944s # 944s # G_BEGIN_DECLS 944s # 944s # /* VOID:VARIANT (/tmp/tmpew73wqyt/tmpg21cecfa.list:1) */ 944s # extern 944s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 944s # GValue *return_value, 944s # guint n_param_values, 944s # const GValue *param_values, 944s # gpointer invocation_hint, 944s # gpointer marshal_data); 944s # extern 944s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 944s # GValue *return_value, 944s # gpointer instance, 944s # va_list args, 944s # gpointer marshal_data, 944s # int n_params, 944s # GType *param_types); 944s # 944s # 944s # G_END_DECLS 944s # 944s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 944s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpew73wqyt/tmpg21cecfa.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 944s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 944s # 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. */ 944s # #ifdef G_ENABLE_DEBUG 944s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 944s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 944s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 944s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 944s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 944s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 944s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 944s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 944s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 944s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 944s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 944s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 944s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 944s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 944s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 944s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 944s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 944s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 944s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 944s # #else /* !G_ENABLE_DEBUG */ 944s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 944s # * Do not access GValues directly in your code. Instead, use the 944s # * g_value_get_*() functions 944s # */ 944s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 944s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 944s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 944s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 944s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 944s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 944s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 944s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 944s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 944s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 944s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 944s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 944s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 944s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 944s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 944s # #endif /* !G_ENABLE_DEBUG */ 944s # 944s # /* VOID:VARIANT (/tmp/tmpew73wqyt/tmpg21cecfa.list:1) */ 944s # void 944s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 944s # GValue *return_value G_GNUC_UNUSED, 944s # guint n_param_values, 944s # const GValue *param_values, 944s # gpointer invocation_hint G_GNUC_UNUSED, 944s # gpointer marshal_data) 944s # { 944s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 944s # gpointer arg1, 944s # gpointer data2); 944s # GCClosure *cc = (GCClosure *) closure; 944s # gpointer data1, data2; 944s # GMarshalFunc_VOID__VARIANT callback; 944s # 944s # g_return_if_fail (n_param_values == 2); 944s # 944s # if (G_CCLOSURE_SWAP_DATA (closure)) 944s # { 944s # data1 = closure->data; 944s # data2 = g_value_peek_pointer (param_values + 0); 944s # } 944s # else 944s # { 944s # data1 = g_value_peek_pointer (param_values + 0); 944s # data2 = closure->data; 944s # } 944s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 944s # 944s # callback (data1, 944s # g_marshal_value_peek_variant (param_values + 1), 944s # data2); 944s # } 944s # 944s # void 944s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 944s # GValue *return_value G_GNUC_UNUSED, 944s # gpointer instance, 944s # va_list args, 944s # gpointer marshal_data, 944s # int n_params, 944s # GType *param_types) 944s # { 944s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 944s # gpointer arg1, 944s # gpointer data2); 944s # GCClosure *cc = (GCClosure *) closure; 944s # gpointer data1, data2; 944s # GMarshalFunc_VOID__VARIANT callback; 944s # gpointer arg0; 944s # va_list args_copy; 944s # 944s # va_copy (args_copy, args); 944s # arg0 = (gpointer) va_arg (args_copy, gpointer); 944s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 944s # arg0 = g_variant_ref_sink (arg0); 944s # va_end (args_copy); 944s # 944s # 944s # if (G_CCLOSURE_SWAP_DATA (closure)) 944s # { 944s # data1 = closure->data; 944s # data2 = instance; 944s # } 944s # else 944s # { 944s # data1 = instance; 944s # data2 = closure->data; 944s # } 944s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 944s # 944s # callback (data1, 944s # arg0, 944s # data2); 944s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 944s # g_variant_unref (arg0); 944s # } 944s 1..8 944s ok - glib/genmarshal.py.test 944s # Running test: glib/gdbus-test-codegen.test 944s TAP version 14 944s # random seed: R02S1c3737a9c37f01ff732c39644b879823 944s 1..8 944s # Start of gdbus tests 944s # Start of codegen tests 944s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/annotations/.dirs/home 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/annotations/.dirs/cache 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/annotations/.dirs/system-config2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/annotations/.dirs/config 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/annotations/.dirs/system-data2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/annotations/.dirs/data 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/annotations/.dirs/state 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/annotations/.dirs/runtime 944s ok 1 /gdbus/codegen/annotations 944s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/interface_stability/.dirs/home 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/interface_stability/.dirs/cache 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/interface_stability/.dirs/system-config2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/interface_stability/.dirs/config 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/interface_stability/.dirs/system-data2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/interface_stability/.dirs/data 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/interface_stability/.dirs/state 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/interface_stability/.dirs/runtime 944s ok 2 /gdbus/codegen/interface_stability 944s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/object-manager/.dirs/home 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/object-manager/.dirs/cache 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/object-manager/.dirs/system-config2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/object-manager/.dirs/config 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/object-manager/.dirs/system-data2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/object-manager/.dirs/data 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/object-manager/.dirs/state 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/object-manager/.dirs/runtime 944s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 944s ok 3 /gdbus/codegen/object-manager 944s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/property-naming/.dirs/home 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/property-naming/.dirs/cache 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/property-naming/.dirs/system-config2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/property-naming/.dirs/config 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/property-naming/.dirs/system-data2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/property-naming/.dirs/data 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/property-naming/.dirs/state 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/property-naming/.dirs/runtime 944s ok 4 /gdbus/codegen/property-naming 944s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/autocleanups/.dirs/home 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/autocleanups/.dirs/cache 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/autocleanups/.dirs/system-config2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/autocleanups/.dirs/config 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/autocleanups/.dirs/system-data2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/autocleanups/.dirs/data 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/autocleanups/.dirs/state 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/autocleanups/.dirs/runtime 944s ok 5 /gdbus/codegen/autocleanups 944s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/deprecations/.dirs/home 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/deprecations/.dirs/cache 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/deprecations/.dirs/system-config2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/deprecations/.dirs/config 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/deprecations/.dirs/system-data2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/deprecations/.dirs/data 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/deprecations/.dirs/state 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/deprecations/.dirs/runtime 944s ok 6 /gdbus/codegen/deprecations 944s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/standalone-interface-info/.dirs/home 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/standalone-interface-info/.dirs/cache 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/standalone-interface-info/.dirs/config 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/standalone-interface-info/.dirs/data 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/standalone-interface-info/.dirs/state 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/standalone-interface-info/.dirs/runtime 944s ok 7 /gdbus/codegen/standalone-interface-info 944s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/unix-fd-list/.dirs/home 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/unix-fd-list/.dirs/cache 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/unix-fd-list/.dirs/system-config2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/unix-fd-list/.dirs/config 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/unix-fd-list/.dirs/system-data2 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/unix-fd-list/.dirs/data 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/unix-fd-list/.dirs/state 944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_LOIZX2/gdbus/codegen/unix-fd-list/.dirs/runtime 944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 944s ok 8 /gdbus/codegen/unix-fd-list 944s # End of codegen tests 944s # End of gdbus tests 944s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 944s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 944s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 944s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 944s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 944s ok - glib/gdbus-test-codegen.test 944s # Running test: glib/buffered-output-stream.test 944s TAP version 14 944s # random seed: R02Sfee0d71d8b7548b33c8e95d7fb92b625 944s 1..5 944s # Start of buffered-output-stream tests 944s ok 1 /buffered-output-stream/write 944s ok 2 /buffered-output-stream/grow 944s ok 3 /buffered-output-stream/seek 944s ok 4 /buffered-output-stream/truncate 944s # End of buffered-output-stream tests 944s # Start of filter-output-stream tests 944s ok 5 /filter-output-stream/close 944s # End of filter-output-stream tests 944s ok - glib/buffered-output-stream.test 944s # Running test: glib/thread-pool.test 944s TAP version 14 944s # random seed: R02S35006b52f414376b9a1ee5e08d181b00 944s 1..5 944s # Start of thread_pool tests 944s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 944s ok 1 /thread_pool/shared 944s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 944s ok 2 /thread_pool/exclusive 944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 944s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 944s ok 3 /thread_pool/create_shared_after_exclusive 944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 944s ok 4 /thread_pool/create_full 944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 944s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 944s ok 5 /thread_pool/create_exclusive_after_shared 944s # End of thread_pool tests 944s ok - glib/thread-pool.test 944s # Running test: glib/utils.test 944s TAP version 14 944s # random seed: R02S7375e0be248bf8075b575449d63914e8 944s 1..40 944s # Start of utils tests 944s ok 1 /utils/language-names 944s ok 2 /utils/locale-variants 944s ok 3 /utils/version 944s ok 4 /utils/appname 944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 944s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 944s ok 5 /utils/prgname-thread-safety 944s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 944s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 944s ok 6 /utils/tmpdir 944s ok 7 /utils/basic_bits 944s ok 8 /utils/bits 944s ok 9 /utils/swap 944s ok 10 /utils/find-program 944s ok 11 /utils/find-program-for-path 944s ok 12 /utils/debug 944s ok 13 /utils/codeset 944s ok 14 /utils/codeset2 944s ok 15 /utils/console-charset 944s ok 16 /utils/gettext 944s ok 17 /utils/username 944s ok 18 /utils/realname 944s ok 19 /utils/hostname 944s ok 20 /utils/xdgdirs 944s ok 21 /utils/specialdir 944s # NAME: Ubuntu 944s ok 22 /utils/os-info 944s ok 23 /utils/clear-pointer 944s ok 24 /utils/clear-pointer-cast 944s ok 25 /utils/take-pointer 944s ok 26 /utils/clear-source 944s ok 27 /utils/misc-mem 944s # /utils/aligned-mem summary: Aligned memory allocator 944s # Alignment must not be zero 944s # Alignment must be a power of two 944s # Alignment must be a multiple of sizeof(void*) 944s ok 28 /utils/aligned-mem 944s # /utils/free-sized summary: Check that g_free_sized() works 944s ok 29 /utils/free-sized 944s ok 30 /utils/nullify 944s ok 31 /utils/atexit 944s ok 32 /utils/check-setuid 944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 944s ok 33 /utils/int-limits 944s ok 34 /utils/clear-list 944s ok 35 /utils/clear-slist 944s # Start of specialdir tests 944s ok 36 /utils/specialdir/desktop 944s # End of specialdir tests 944s # Start of clear-pointer tests 944s ok 37 /utils/clear-pointer/side-effects 944s # End of clear-pointer tests 944s # Start of aligned-mem tests 944s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 944s ok 38 /utils/aligned-mem/alignment 944s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 944s ok 39 /utils/aligned-mem/zeroed 944s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 944s ok 40 /utils/aligned-mem/free-sized 944s # Start of subprocess tests 944s # End of subprocess tests 944s # End of aligned-mem tests 944s # End of utils tests 944s ok - glib/utils.test 944s # Running test: glib/memory-output-stream.test 944s TAP version 14 944s # random seed: R02Sc311d33b5794ab2bfba8c8b11af98f98 944s 1..10 944s # Start of memory-output-stream tests 944s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 944s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 944s ok 1 /memory-output-stream/truncate 944s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 944s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 944s ok 2 /memory-output-stream/get-data-size 944s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 944s ok 3 /memory-output-stream/properties 944s ok 4 /memory-output-stream/write-bytes 944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 944s ok 5 /memory-output-stream/write-null 944s ok 6 /memory-output-stream/writev 944s ok 7 /memory-output-stream/writev_nonblocking 944s ok 8 /memory-output-stream/steal_as_bytes 944s # Start of seek tests 944s ok 9 /memory-output-stream/seek/fixed 944s ok 10 /memory-output-stream/seek/resizable 944s # End of seek tests 944s # End of memory-output-stream tests 944s ok - glib/memory-output-stream.test 944s # Running test: glib/queue.test 944s TAP version 14 944s # random seed: R02S6e23d7b1c9bfe3cdb968f9ae2dc9aadc 944s 1..12 944s # Start of queue tests 944s ok 1 /queue/basic 944s ok 2 /queue/copy 944s ok 3 /queue/off-by-one 944s ok 4 /queue/find-custom 944s ok 5 /queue/static 944s ok 6 /queue/clear 944s ok 7 /queue/free-full 944s ok 8 /queue/clear-full 944s ok 9 /queue/insert-sibling-link 944s ok 10 /queue/push-nth-link 944s # Start of clear-full tests 944s ok 11 /queue/clear-full/noop 944s # End of clear-full tests 944s # Start of random tests 944s ok 12 /queue/random/seed:894316655 944s # End of random tests 944s # End of queue tests 944s ok - glib/queue.test 944s # Running test: glib/private.test 944s TAP version 14 944s # random seed: R02S5faf1653ccf88bf0be9926ab1f41cea7 944s 1..8 944s # Start of thread tests 944s ok 1 /thread/private1 945s ok 2 /thread/private2 945s # slow test /thread/private2 executed in 1.09 secs 945s ok 3 /thread/private3 945s ok 4 /thread/staticprivate1 945s ok 5 /thread/staticprivate2 945s ok 6 /thread/staticprivate3 946s ok 7 /thread/staticprivate4 946s # slow test /thread/staticprivate4 executed in 1.08 secs 946s ok 8 /thread/staticprivate5 946s # End of thread tests 946s ok - glib/private.test 946s # Running test: glib/slist.test 946s TAP version 14 946s # random seed: R02Sf3e81de983192ef78135d0252b73e99d 946s 1..14 946s # Start of slist tests 946s ok 1 /slist/sort 946s ok 2 /slist/sort-with-data 946s ok 3 /slist/insert-sorted 946s ok 4 /slist/insert-sorted-with-data 946s ok 5 /slist/reverse 946s ok 6 /slist/nth 946s ok 7 /slist/remove 946s ok 8 /slist/remove-all 946s ok 9 /slist/insert 946s ok 10 /slist/position 946s ok 11 /slist/concat 946s ok 12 /slist/copy 946s # Start of sort tests 946s ok 13 /slist/sort/stable 946s # End of sort tests 946s # Start of copy tests 946s ok 14 /slist/copy/deep 946s # End of copy tests 946s # End of slist tests 946s ok - glib/slist.test 946s # Running test: glib/gdbus-proxy-threads.test 946s TAP version 14 946s # random seed: R02S27f1afeeef145ea0a46027d37419d469 946s 1..1 946s # Start of gdbus tests 946s # Start of proxy tests 946s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_OW7NX2/gdbus/proxy/vs-threads/.dirs/home 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_OW7NX2/gdbus/proxy/vs-threads/.dirs/cache 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_OW7NX2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_OW7NX2/gdbus/proxy/vs-threads/.dirs/system-config2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_OW7NX2/gdbus/proxy/vs-threads/.dirs/config 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_OW7NX2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_OW7NX2/gdbus/proxy/vs-threads/.dirs/system-data2 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_OW7NX2/gdbus/proxy/vs-threads/.dirs/data 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_OW7NX2/gdbus/proxy/vs-threads/.dirs/state 946s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_OW7NX2/gdbus/proxy/vs-threads/.dirs/runtime 947s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 947s # Executing: glib/gdbus-proxy-threads.test 948s ok 1 /gdbus/proxy/vs-threads 948s # slow test /gdbus/proxy/vs-threads executed in 1.29 secs 948s # End of proxy tests 948s # End of gdbus tests 948s cleaning up pid 12340 948s ok - glib/gdbus-proxy-threads.test 948s # Running test: glib/io-channel.test 948s TAP version 14 948s # random seed: R02Sa4135a000af99fa88069f968616348ab 948s 1..2 948s # Start of io-channel tests 948s # Line one 948s # 948s # Line two 948s # 948s # Line three 948s # 948s # /* Hello */ 948s # 948s # \x1234\x567890\x6666 948s # 948s # read 62 bytes, wrote 62 bytes 948s ok 1 /io-channel/read-write 948s # Start of read-line tests 948s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 948s ok 2 /io-channel/read-line/embedded-nuls 948s # End of read-line tests 948s # End of io-channel tests 948s ok - glib/io-channel.test 948s # Running test: glib/gdbus-addresses.test 948s TAP version 14 948s # random seed: R02S43f08bcb244f9727b3c6de7903874d98 948s 1..9 948s # Start of gdbus tests 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/empty-address/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/empty-address/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_US52X2/gdbus/empty-address/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/empty-address/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_US52X2/gdbus/empty-address/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/empty-address/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/empty-address/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_US52X2/gdbus/empty-address/.dirs/runtime 948s ok 1 /gdbus/empty-address 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/unsupported-address/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/unsupported-address/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_US52X2/gdbus/unsupported-address/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/unsupported-address/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_US52X2/gdbus/unsupported-address/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/unsupported-address/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/unsupported-address/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_US52X2/gdbus/unsupported-address/.dirs/runtime 948s ok 2 /gdbus/unsupported-address 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/address-parsing/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/address-parsing/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_US52X2/gdbus/address-parsing/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/address-parsing/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_US52X2/gdbus/address-parsing/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/address-parsing/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/address-parsing/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_US52X2/gdbus/address-parsing/.dirs/runtime 948s ok 3 /gdbus/address-parsing 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/unix-address/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/unix-address/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_US52X2/gdbus/unix-address/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/unix-address/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_US52X2/gdbus/unix-address/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/unix-address/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/unix-address/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_US52X2/gdbus/unix-address/.dirs/runtime 948s ok 4 /gdbus/unix-address 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/nonce-tcp-address/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/nonce-tcp-address/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_US52X2/gdbus/nonce-tcp-address/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/nonce-tcp-address/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_US52X2/gdbus/nonce-tcp-address/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/nonce-tcp-address/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/nonce-tcp-address/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_US52X2/gdbus/nonce-tcp-address/.dirs/runtime 948s ok 5 /gdbus/nonce-tcp-address 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/tcp-address/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/tcp-address/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_US52X2/gdbus/tcp-address/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/tcp-address/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_US52X2/gdbus/tcp-address/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/tcp-address/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/tcp-address/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_US52X2/gdbus/tcp-address/.dirs/runtime 948s ok 6 /gdbus/tcp-address 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/autolaunch-address/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/autolaunch-address/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_US52X2/gdbus/autolaunch-address/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/autolaunch-address/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_US52X2/gdbus/autolaunch-address/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/autolaunch-address/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/autolaunch-address/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_US52X2/gdbus/autolaunch-address/.dirs/runtime 948s ok 7 /gdbus/autolaunch-address 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/mixed-address/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/mixed-address/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_US52X2/gdbus/mixed-address/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/mixed-address/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_US52X2/gdbus/mixed-address/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/mixed-address/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/mixed-address/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_US52X2/gdbus/mixed-address/.dirs/runtime 948s ok 8 /gdbus/mixed-address 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/escape-address/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/escape-address/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_US52X2/gdbus/escape-address/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/escape-address/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_US52X2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_US52X2/gdbus/escape-address/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/escape-address/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_US52X2/gdbus/escape-address/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_US52X2/gdbus/escape-address/.dirs/runtime 948s ok 9 /gdbus/escape-address 948s # End of gdbus tests 948s ok - glib/gdbus-addresses.test 948s # Running test: glib/overflow-fallback.test 948s TAP version 14 948s # random seed: R02S9f75101cbb8eaa58c3031d546e436344 948s 1..6 948s # Start of glib tests 948s # Start of checked-math tests 948s ok 1 /glib/checked-math/guint-add 948s ok 2 /glib/checked-math/guint-mul 948s ok 3 /glib/checked-math/guint64-add 948s ok 4 /glib/checked-math/guint64-mul 948s ok 5 /glib/checked-math/gsize-add 948s ok 6 /glib/checked-math/gsize-mul 948s # End of checked-math tests 948s # End of glib tests 948s ok - glib/overflow-fallback.test 948s # Running test: glib/cache.test 948s TAP version 14 948s # random seed: R02S92c3d9add4a6e63b9606a3bdb89ba1bd 948s 1..1 948s # Start of cache tests 948s ok 1 /cache/basic 948s # End of cache tests 948s ok - glib/cache.test 948s # Running test: glib/properties-refcount1.test 948s TAP version 14 948s # random seed: R02S7f6e3775768e247d36cc305961e25a65 948s 1..1 948s # Start of gobject tests 948s # Start of refcount tests 948s # .c 948s # .d 948s # .e 948s # .f 948s # .b 948s # .c 948s # .e 948s # .d 948s # .b 948s # .f 948s # .b 948s # .f 948s # .d 948s # .e 948s # .c 948s # .b 948s # .d 948s # .c 948s # .f 948s # .e 949s # .b 949s # .d 949s # .f 949s # .c 949s # .e 949s # .b 949s # .c 949s # .d 949s # .f 949s # .e 949s # .c 949s # .b 949s # .c 949s # .f 949s # .d 949s # .e 949s # .b 949s # .f 949s # .c 949s # .b 949s # .e 949s # .d 949s # .f 949s # .b 949s # .e 949s # .d 949s # .c 949s # .f 949s # .d 949s # .b 949s # .c 949s # .e 949s # .f 950s # .d 950s # .e 950s # .c 950s # .b 950s # .f 950s # .e 950s # .d 950s # .c 950s # .b 950s # .e 950s # .d 950s # .f 950s # .c 950s # .e 950s # .d 950s # .b 950s # .f 950s # .e 950s # .b 950s # .c 950s # .d 950s # .e 950s # .f 950s # .d 950s # .c 950s # .b 950s # .e 950s # .f 950s # .d 950s # .c 950s # .b 950s # .e 951s # .f 951s # .c 951s # .b 951s # .d 951s # .e 951s # .f 951s # .c 951s # .b 951s # .f 951s # .d 951s # .e 951s # .f 951s ok 1 /gobject/refcount/properties-1 951s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 951s # End of refcount tests 951s # End of gobject tests 951s ok - glib/properties-refcount1.test 951s # Running test: glib/macros-c-99.test 951s TAP version 14 951s # random seed: R02Saaffcba6b6eac871b18b6e518bc09012 951s 1..4 951s # Start of C tests 951s ok 1 /C/standard-99 951s # End of C tests 951s # Start of alignof tests 951s ok 2 /alignof/fallback 951s # End of alignof tests 951s # Start of assert tests 951s ok 3 /assert/static 951s # End of assert tests 951s # Start of struct tests 951s ok 4 /struct/sizeof_member 951s # End of struct tests 951s ok - glib/macros-c-99.test 951s # Running test: glib/gapplication.test 951s TAP version 14 951s # random seed: R02S65128a87fcc82437ec21094c8a1f74f6 951s 1..24 951s # Start of gapplication tests 951s ok 1 /gapplication/no-dbus 951s ok 2 /gapplication/no-appid 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s ok 3 /gapplication/properties 951s ok 4 /gapplication/app-id 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s ok 5 /gapplication/quit 951s ok 6 /gapplication/registered 951s ok 7 /gapplication/local-actions 951s ok 8 /gapplication/local-command-line 951s ok 9 /gapplication/resource-path 951s ok 10 /gapplication/test-help 951s ok 11 /gapplication/command-line-done 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s ok 12 /gapplication/test-busy 951s ok 13 /gapplication/test-handle-local-options1 951s ok 14 /gapplication/test-handle-local-options2 951s ok 15 /gapplication/test-handle-local-options3 951s ok 16 /gapplication/api 951s ok 17 /gapplication/version 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # launching subprocess 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s ok 18 /gapplication/replace 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # launching subprocess 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s ok 19 /gapplication/no-replace 951s # slow test /gapplication/no-replace executed in 0.51 secs 951s # Start of dbus tests 951s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 951s # Message 0 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # Message 1 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # Message 2 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s ok 20 /gapplication/dbus/activate 951s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 951s # Message 0 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 951s # Message 1 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # Message 2 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # Message 3 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s ok 21 /gapplication/dbus/open 951s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 951s # Message 0 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # Message 1 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # Message 2 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s ok 22 /gapplication/dbus/command-line 952s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s ok 23 /gapplication/dbus/command-line-done 952s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 952s # Message 0 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # Message 1 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # Message 2 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # Message 3 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # Message 4 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # Message 5 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # Message 6 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # Message 7 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # Message 8 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # Message 9 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # Message 10 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # Message 11 952s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 952s ok 24 /gapplication/dbus/activate-action 952s # End of dbus tests 952s # End of gapplication tests 952s ok - glib/gapplication.test 952s # Running test: glib/spawn-multithreaded.test 952s TAP version 14 952s # random seed: R02Sac73ec5291e1a48cbc4c1e6a431e76c8 952s 1..4 952s # Start of gthread tests 952s # Executing: glib/spawn-multithreaded.test 953s # Child 12398 (ttl 1) exited, status 0 954s # Child 12399 (ttl 2) exited, status 0 954s ok 1 /gthread/spawn-childs 954s # slow test /gthread/spawn-childs executed in 2.00 secs 954s # Created pid: 12403 (ttl 1) 954s # Created pid: 12404 (ttl 2) 955s # Child 12403 (ttl 1) exited, status 0 956s # Child 12404 (ttl 2) exited, status 0 956s ok 2 /gthread/spawn-childs-threads 956s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 956s ok 3 /gthread/spawn-sync 956s ok 4 /gthread/spawn-async 956s # End of gthread tests 956s ok - glib/spawn-multithreaded.test 956s # Running test: glib/sequence.test 956s TAP version 14 956s # random seed: R02Sc193ab068e4da07266ceb00593b18470 956s 1..16 956s # Start of sequence tests 956s ok 1 /sequence/out-of-range-jump 956s ok 2 /sequence/iter-move 956s ok 3 /sequence/insert-sorted-non-pointer 956s ok 4 /sequence/stable-sort 956s ok 5 /sequence/is_empty 956s # Start of random tests 956s ok 6 /sequence/random/seed:825541564 956s # slow test /sequence/random/seed:825541564 executed in 0.55 secs 957s ok 7 /sequence/random/seed:801678400 957s # slow test /sequence/random/seed:801678400 executed in 0.52 secs 957s # Executing: glib/sequence.test 957s ok 8 /sequence/random/seed:1477639090 957s # slow test /sequence/random/seed:1477639090 executed in 0.54 secs 958s ok 9 /sequence/random/seed:3369132895 958s ok 10 /sequence/random/seed:1192944867 958s # slow test /sequence/random/seed:1192944867 executed in 0.52 secs 959s ok 11 /sequence/random/seed:770458294 959s # slow test /sequence/random/seed:770458294 executed in 0.54 secs 959s ok 12 /sequence/random/seed:1099575817 959s # slow test /sequence/random/seed:1099575817 executed in 0.52 secs 960s ok 13 /sequence/random/seed:590523467 960s # slow test /sequence/random/seed:590523467 executed in 0.54 secs 961s ok 14 /sequence/random/seed:3583571454 961s # slow test /sequence/random/seed:3583571454 executed in 0.55 secs 961s ok 15 /sequence/random/seed:579241222 961s # slow test /sequence/random/seed:579241222 executed in 0.54 secs 962s ok 16 /sequence/random/seed:802437442 962s # slow test /sequence/random/seed:802437442 executed in 0.55 secs 962s # End of random tests 962s # End of sequence tests 962s ok - glib/sequence.test 962s # Running test: glib/sort.test 962s TAP version 14 962s # random seed: R02Sfd07b7d20796a5e1855d72938c684562 962s 1..5 962s # Start of sort tests 962s ok 1 /sort/basic 962s ok 2 /sort/zero-elements 962s ok 3 /sort/stable 962s ok 4 /sort/big 962s ok 5 /sort/deprecated 962s # End of sort tests 962s ok - glib/sort.test 962s # Running test: glib/properties-refcount4.test 962s TAP version 14 962s # random seed: R02S5efcba140a2a18f62cadac6b627894a9 962s 1..1 962s # Start of gobject tests 962s # Start of refcount tests 962s ok 1 /gobject/refcount/properties-4 962s # End of refcount tests 962s # End of gobject tests 962s ok - glib/properties-refcount4.test 962s # Running test: glib/basics-gobject.test 962s TAP version 14 962s # random seed: R02Sa56205f899e6e6fc742078cb603d84d0 962s 1..1 962s # Start of gobject tests 962s # private data during initialization: 54321 == 54321 962s # MAIN: emit test-signal: 962s # ::test_signal default_handler called 962s # ::test_signal default_handler called 962s # ::test_signal default_handler called 962s # signal return: "" 962s # MAIN: call iface print-string on test and derived object: 962s # Iface-FOO: "iface-string-from-test-type" from 0xb7b426c197b0 962s # Iface-BAR: "iface-string-from-derived-type" from 0xb7b426c196d0 962s # chaining: 962s # Iface-FOO: "iface-string-from-derived-type" from 0xb7b426c196d0 962s # private data after initialization: 54321 == 54321 962s ok 1 /gobject/basics 962s # End of gobject tests 962s ok - glib/basics-gobject.test 962s # Running test: glib/simple-proxy.test 962s TAP version 14 962s # random seed: R02Sc28e3baf668b5cc6a81d34dbe8bbfea2 962s 1..3 962s # Start of static-proxy tests 962s ok 1 /static-proxy/uri 962s ok 2 /static-proxy/socks 962s ok 3 /static-proxy/ignore 962s # End of static-proxy tests 962s ok - glib/simple-proxy.test 962s # Running test: glib/scannerapi.test 962s TAP version 14 962s # random seed: R02Sf04780cee434fcc32c76354928bc281f 962s 1..4 962s # Start of scanner tests 962s ok 1 /scanner/warn 962s ok 2 /scanner/error 962s ok 3 /scanner/symbols 962s ok 4 /scanner/tokens 962s # End of scanner tests 962s ok - glib/scannerapi.test 962s # Running test: glib/thread.test 962s TAP version 14 962s # random seed: R02S546214e7547d09875b99a1c3919e85d3 962s 1..7 962s # Start of thread tests 962s ok 1 /thread/thread1 962s ok 2 /thread/thread2 962s ok 3 /thread/thread3 962s ok 4 /thread/thread4 962s ok 5 /thread/thread5 962s ok 6 /thread/thread6 962s ok 7 /thread/thread7 962s # End of thread tests 962s ok - glib/thread.test 962s # Running test: glib/charset.test 962s TAP version 14 962s # random seed: R02S9140051c642a1778d960e1ca95c75208 962s 1..2 962s # Start of charset tests 962s # Test 0 962s # Test 1 962s # Test 2 962s # Test 3 962s ok 1 /charset/language_names_with_category 962s ok 2 /charset/language_names_with_category_async 962s # End of charset tests 962s ok - glib/charset.test 962s # Running test: glib/onceinit.test 962s TAP version 14 962s # random seed: R02S195d438bd841c63cea956ebb3f982cc4 962s 1..1 962s # Start of thread tests 962s ok 1 /thread/onceinit 962s # End of thread tests 962s ok - glib/onceinit.test 962s # Running test: glib/portal-support-none.test 962s TAP version 14 962s # random seed: R02S130165a273adb306b03ffa50e75557ac 962s 1..1 962s # Start of portal-support tests 962s ok 1 /portal-support/none 962s # End of portal-support tests 962s ok - glib/portal-support-none.test 962s # Running test: glib/base64.test 962s TAP version 14 962s # random seed: R02S9f5c2523da7b3cd5fc102787631c902f 962s 1..28 962s # Start of base64 tests 962s ok 1 /base64/encode 962s ok 2 /base64/decode 962s ok 3 /base64/decode-inplace 962s ok 4 /base64/encode-decode 962s # Start of full tests 962s ok 5 /base64/full/1 962s ok 6 /base64/full/2 962s ok 7 /base64/full/3 962s ok 8 /base64/full/4 962s # End of full tests 962s # Start of encode tests 962s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 962s ok 9 /base64/encode/empty 962s # Start of incremental tests 962s # Start of small-block tests 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 962s ok 10 /base64/encode/incremental/small-block/1 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 962s ok 11 /base64/encode/incremental/small-block/2 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 962s ok 12 /base64/encode/incremental/small-block/3 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 962s ok 13 /base64/encode/incremental/small-block/4 962s # End of small-block tests 962s # End of incremental tests 962s # End of encode tests 962s # Start of incremental tests 962s # Start of nobreak tests 962s ok 14 /base64/incremental/nobreak/1 962s ok 15 /base64/incremental/nobreak/2 962s ok 16 /base64/incremental/nobreak/3 962s ok 17 /base64/incremental/nobreak/4-a 962s ok 18 /base64/incremental/nobreak/4-b 962s ok 19 /base64/incremental/nobreak/4-c 962s # End of nobreak tests 962s # Start of break tests 962s ok 20 /base64/incremental/break/1 962s ok 21 /base64/incremental/break/2 962s ok 22 /base64/incremental/break/3 962s # End of break tests 962s # Start of smallblock tests 962s ok 23 /base64/incremental/smallblock/1 962s ok 24 /base64/incremental/smallblock/2 962s ok 25 /base64/incremental/smallblock/3 962s ok 26 /base64/incremental/smallblock/4 962s # End of smallblock tests 962s # End of incremental tests 962s # Start of decode tests 962s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 962s ok 27 /base64/decode/empty 962s # End of decode tests 962s # Start of encode-decode tests 962s # Vector 0: 962s # Vector 1: f 962s # Vector 2: fo 962s # Vector 3: foo 962s # Vector 4: foob 962s # Vector 5: fooba 962s # Vector 6: foobar 962s ok 28 /base64/encode-decode/rfc4648 962s # End of encode-decode tests 962s # End of base64 tests 962s ok - glib/base64.test 962s # Running test: glib/unix-fd.test 962s TAP version 14 962s # random seed: R02Sebf4f8214ad3ceb911d7c63d16c7100b 962s 1..2 962s # Start of unix-fd tests 962s ok 1 /unix-fd/fd-list 962s ok 2 /unix-fd/scm 962s # End of unix-fd tests 962s ok - glib/unix-fd.test 962s # Running test: glib/fileattributematcher.test 962s TAP version 14 962s # random seed: R02Sb49aa684fa5600488eadcba21ed9c53f 962s 1..3 962s # Start of fileattributematcher tests 962s ok 1 /fileattributematcher/exact 962s ok 2 /fileattributematcher/equality 962s ok 3 /fileattributematcher/subtract 962s # End of fileattributematcher tests 962s ok - glib/fileattributematcher.test 962s # Running test: glib/slice.test 962s TAP version 14 962s # random seed: R02S6fc7c455064969a802f17fcdc973b47f 962s 1..3 962s # Start of slice tests 962s ok 1 /slice/copy 962s ok 2 /slice/chain 962s # Executing: glib/slice.test 962s ok 3 /slice/allocate 962s # End of slice tests 962s ok - glib/slice.test 962s # Running test: glib/array-test.test 962s TAP version 14 962s # random seed: R02S3f505ed3456d343be28b4062d1460f60 962s 1..113 962s # Start of array tests 962s ok 1 /array/ref-count 962s ok 2 /array/steal 962s ok 3 /array/clear-func 962s ok 4 /array/binary-search 962s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 962s ok 5 /array/copy-sized 962s ok 6 /array/overflow-append-vals 962s ok 7 /array/overflow-set-size 962s # Start of new tests 962s ok 8 /array/new/zero-terminated 962s ok 9 /array/new/take 962s ok 10 /array/new/take-zero-terminated 962s # Start of take tests 962s ok 11 /array/new/take/empty 962s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 962s # End of take tests 962s # End of new tests 962s # Start of set-size tests 962s ok 13 /array/set-size/non-zero-terminated-no-clear 962s ok 14 /array/set-size/non-zero-terminated-clear 962s ok 15 /array/set-size/zero-terminated-no-clear 962s ok 16 /array/set-size/zero-terminated-clear 962s # Start of sized tests 962s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 962s ok 18 /array/set-size/sized/non-zero-terminated-clear 962s ok 19 /array/set-size/sized/zero-terminated-no-clear 962s ok 20 /array/set-size/sized/zero-terminated-clear 962s # End of sized tests 962s # End of set-size tests 962s # Start of append-val tests 962s ok 21 /array/append-val/non-zero-terminated-no-clear 962s ok 22 /array/append-val/non-zero-terminated-clear 962s ok 23 /array/append-val/zero-terminated-no-clear 962s ok 24 /array/append-val/zero-terminated-clear 962s # End of append-val tests 962s # Start of prepend-val tests 962s ok 25 /array/prepend-val/non-zero-terminated-no-clear 962s ok 26 /array/prepend-val/non-zero-terminated-clear 962s ok 27 /array/prepend-val/zero-terminated-no-clear 962s ok 28 /array/prepend-val/zero-terminated-clear 962s # End of prepend-val tests 962s # Start of prepend-vals tests 962s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 962s ok 30 /array/prepend-vals/non-zero-terminated-clear 962s ok 31 /array/prepend-vals/zero-terminated-no-clear 962s ok 32 /array/prepend-vals/zero-terminated-clear 962s # End of prepend-vals tests 962s # Start of insert-vals tests 962s ok 33 /array/insert-vals/non-zero-terminated-no-clear 962s ok 34 /array/insert-vals/non-zero-terminated-clear 962s ok 35 /array/insert-vals/zero-terminated-no-clear 962s ok 36 /array/insert-vals/zero-terminated-clear 962s # End of insert-vals tests 962s # Start of remove-index tests 962s ok 37 /array/remove-index/non-zero-terminated-no-clear 962s ok 38 /array/remove-index/non-zero-terminated-clear 962s ok 39 /array/remove-index/zero-terminated-no-clear 962s ok 40 /array/remove-index/zero-terminated-clear 962s # End of remove-index tests 962s # Start of remove-index-fast tests 962s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 962s ok 42 /array/remove-index-fast/non-zero-terminated-clear 962s ok 43 /array/remove-index-fast/zero-terminated-no-clear 962s ok 44 /array/remove-index-fast/zero-terminated-clear 962s # End of remove-index-fast tests 962s # Start of remove-range tests 962s ok 45 /array/remove-range/non-zero-terminated-no-clear 962s ok 46 /array/remove-range/non-zero-terminated-clear 962s ok 47 /array/remove-range/zero-terminated-no-clear 962s ok 48 /array/remove-range/zero-terminated-clear 962s # End of remove-range tests 962s # Start of copy tests 962s ok 49 /array/copy/non-zero-terminated-no-clear 962s ok 50 /array/copy/non-zero-terminated-clear 962s ok 51 /array/copy/zero-terminated-no-clear 962s ok 52 /array/copy/zero-terminated-clear 962s # End of copy tests 962s # Start of sort tests 962s ok 53 /array/sort/non-zero-terminated-no-clear 962s ok 54 /array/sort/non-zero-terminated-clear 962s ok 55 /array/sort/zero-terminated-no-clear 962s ok 56 /array/sort/zero-terminated-clear 962s # End of sort tests 962s # Start of sort-with-data tests 962s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 962s ok 58 /array/sort-with-data/non-zero-terminated-clear 962s ok 59 /array/sort-with-data/zero-terminated-no-clear 962s ok 60 /array/sort-with-data/zero-terminated-clear 962s # End of sort-with-data tests 962s # End of array tests 962s # Start of pointerarray tests 962s ok 61 /pointerarray/add 962s ok 62 /pointerarray/insert 962s ok 63 /pointerarray/new-take 962s ok 64 /pointerarray/new-take-null-terminated 962s ok 65 /pointerarray/new-from-array 962s ok 66 /pointerarray/new-from-null-terminated-array 962s ok 67 /pointerarray/free-func 962s ok 68 /pointerarray/array_extend_and_steal 962s ok 69 /pointerarray/sort 962s ok 70 /pointerarray/sort-with-data 962s ok 71 /pointerarray/sort-values 962s ok 72 /pointerarray/sort-values-with-data 962s ok 73 /pointerarray/remove-range 962s ok 74 /pointerarray/steal 962s # Start of free tests 962s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 962s ok 75 /pointerarray/free/null-terminated 962s # End of free tests 962s # Start of new-take tests 962s ok 76 /pointerarray/new-take/empty 962s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 962s ok 78 /pointerarray/new-take/with-free-func 962s # End of new-take tests 962s # Start of new-take-null-terminated tests 962s ok 79 /pointerarray/new-take-null-terminated/empty 962s ok 80 /pointerarray/new-take-null-terminated/with-free-func 962s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 962s # End of new-take-null-terminated tests 962s # Start of new-from-array tests 962s ok 82 /pointerarray/new-from-array/empty 962s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 962s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 962s # End of new-from-array tests 962s # Start of new-from-null-terminated-array tests 962s ok 85 /pointerarray/new-from-null-terminated-array/empty 962s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 962s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 962s # End of new-from-null-terminated-array tests 962s # Start of ref-count tests 962s ok 88 /pointerarray/ref-count/not-null-terminated 962s ok 89 /pointerarray/ref-count/null-terminated 962s # End of ref-count tests 962s # Start of array_copy tests 962s # /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 962s ok 90 /pointerarray/array_copy/not-null-terminated 962s # /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 962s ok 91 /pointerarray/array_copy/null-terminated 962s # End of array_copy tests 962s # Start of array_extend tests 962s ok 92 /pointerarray/array_extend/not-null-terminated 962s ok 93 /pointerarray/array_extend/null-terminated 962s # End of array_extend tests 962s # Start of sort tests 962s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 962s ok 94 /pointerarray/sort/example 962s # End of sort tests 962s # Start of sort-with-data tests 962s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 962s ok 95 /pointerarray/sort-with-data/example 962s # End of sort-with-data tests 962s # Start of sort-values tests 962s ok 96 /pointerarray/sort-values/example 962s # End of sort-values tests 962s # Start of sort-values-with-data tests 962s ok 97 /pointerarray/sort-values-with-data/example 962s # End of sort-values-with-data tests 962s # Start of find tests 962s ok 98 /pointerarray/find/empty 962s ok 99 /pointerarray/find/non-empty 962s # End of find tests 962s # Start of steal_index tests 962s ok 100 /pointerarray/steal_index/not-null-terminated 962s ok 101 /pointerarray/steal_index/null-terminated 962s # End of steal_index tests 962s # End of pointerarray tests 962s # Start of bytearray tests 962s ok 102 /bytearray/steal 962s ok 103 /bytearray/append 962s ok 104 /bytearray/prepend 962s ok 105 /bytearray/remove 962s ok 106 /bytearray/remove-fast 962s ok 107 /bytearray/remove-range 962s ok 108 /bytearray/ref-count 962s ok 109 /bytearray/sort 962s ok 110 /bytearray/sort-with-data 962s ok 111 /bytearray/new-take 962s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 962s ok 113 /bytearray/free-to-bytes 962s # End of bytearray tests 962s ok - glib/array-test.test 962s # Running test: glib/permission.test 962s TAP version 14 962s # random seed: R02S8797d851d2d6ba02371661f635e4e290 962s 1..1 962s # Start of permission tests 962s ok 1 /permission/simple 962s # End of permission tests 962s ok - glib/permission.test 962s # Running test: glib/gdbus-connection-flush.test 962s TAP version 14 962s # random seed: R02Sb40c72835b8bf6ffca4ce96419929fe0 962s 1..2 962s # Start of gdbus tests 962s # Start of connection tests 962s # Start of flush tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/busy/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/busy/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/busy/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/busy/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/busy/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/busy/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/busy/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/busy/.dirs/runtime 962s ok 1 /gdbus/connection/flush/busy 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/idle/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/idle/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/idle/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/idle/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/idle/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/idle/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/idle/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_S76VX2/gdbus/connection/flush/idle/.dirs/runtime 962s ok 2 /gdbus/connection/flush/idle 962s # End of flush tests 962s # End of connection tests 962s # End of gdbus tests 962s ok - glib/gdbus-connection-flush.test 962s # Running test: glib/resolver-parsing.test 962s TAP version 14 962s # random seed: R02S82e421829f12afebd398109311f98aae 962s 1..21 962s # Start of gresolver tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/invalid-header/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/invalid-header/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/invalid-header/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/invalid-header/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/invalid-header/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/invalid-header/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/invalid-header/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/invalid-header/.dirs/runtime 962s ok 1 /gresolver/invalid-header 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/record-ownership/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/record-ownership/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/record-ownership/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/record-ownership/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/record-ownership/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/record-ownership/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/record-ownership/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/record-ownership/.dirs/runtime 962s ok 2 /gresolver/record-ownership 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/unknown-record-type/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/unknown-record-type/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/unknown-record-type/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/unknown-record-type/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/unknown-record-type/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/unknown-record-type/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/unknown-record-type/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/unknown-record-type/.dirs/runtime 962s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 962s ok 3 /gresolver/unknown-record-type 962s # Start of mx tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/valid/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/valid/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/mx/valid/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/valid/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/mx/valid/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/valid/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/valid/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/valid/.dirs/runtime 962s ok 4 /gresolver/mx/valid 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/.dirs/runtime 962s ok 5 /gresolver/mx/invalid 962s # Start of invalid tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short/.dirs/runtime 962s ok 6 /gresolver/mx/invalid/too-short 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short2/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short2/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short2/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short2/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short2/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short2/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short2/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/mx/invalid/too-short2/.dirs/runtime 962s ok 7 /gresolver/mx/invalid/too-short2 962s # End of invalid tests 962s # End of mx tests 962s # Start of ns tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/valid/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/valid/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/ns/valid/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/valid/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/ns/valid/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/valid/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/valid/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/valid/.dirs/runtime 962s ok 8 /gresolver/ns/valid 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/invalid/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/invalid/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/ns/invalid/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/invalid/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/ns/invalid/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/invalid/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/invalid/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/ns/invalid/.dirs/runtime 962s ok 9 /gresolver/ns/invalid 962s # End of ns tests 962s # Start of soa tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/valid/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/valid/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/soa/valid/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/valid/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/soa/valid/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/valid/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/valid/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/valid/.dirs/runtime 962s ok 10 /gresolver/soa/valid 962s # Start of invalid tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/mname/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/mname/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/mname/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/mname/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/mname/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/mname/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/mname/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/mname/.dirs/runtime 962s ok 11 /gresolver/soa/invalid/mname 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/rname/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/rname/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/rname/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/rname/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/rname/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/rname/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/rname/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/rname/.dirs/runtime 962s ok 12 /gresolver/soa/invalid/rname 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/too-short/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/too-short/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/too-short/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/too-short/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/too-short/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/too-short/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/too-short/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/soa/invalid/too-short/.dirs/runtime 962s ok 13 /gresolver/soa/invalid/too-short 962s # End of invalid tests 962s # End of soa tests 962s # Start of srv tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/valid/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/valid/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/srv/valid/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/valid/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/srv/valid/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/valid/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/valid/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/valid/.dirs/runtime 962s ok 14 /gresolver/srv/valid 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/.dirs/runtime 962s ok 15 /gresolver/srv/invalid 962s # Start of invalid tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short/.dirs/runtime 962s ok 16 /gresolver/srv/invalid/too-short 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short2/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short2/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short2/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short2/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short2/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short2/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short2/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/srv/invalid/too-short2/.dirs/runtime 962s ok 17 /gresolver/srv/invalid/too-short2 962s # End of invalid tests 962s # End of srv tests 962s # Start of txt tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/.dirs/runtime 962s ok 18 /gresolver/txt/valid 962s # Start of valid tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/multiple-strings/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/multiple-strings/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/multiple-strings/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/multiple-strings/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/multiple-strings/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/valid/multiple-strings/.dirs/runtime 962s ok 19 /gresolver/txt/valid/multiple-strings 962s # End of valid tests 962s # Start of invalid tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/empty/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/empty/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/empty/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/empty/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/empty/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/empty/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/empty/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/empty/.dirs/runtime 962s ok 20 /gresolver/txt/invalid/empty 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/overflow/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/overflow/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/overflow/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/overflow/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/overflow/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/overflow/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/overflow/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_TBOVX2/gresolver/txt/invalid/overflow/.dirs/runtime 962s ok 21 /gresolver/txt/invalid/overflow 962s # End of invalid tests 962s # End of txt tests 962s # End of gresolver tests 962s ok - glib/resolver-parsing.test 962s # Running test: glib/thread-deprecated.test 962s TAP version 14 962s # random seed: R02Sb05f5ca670a25f4e911edaa57ab67639 962s 1..6 962s # Start of thread tests 962s ok 1 /thread/mutex 963s ok 2 /thread/static-rec-mutex 967s # Executing: glib/thread-deprecated.test 967s ok 3 /thread/static-private 967s # slow test /thread/static-private executed in 4.40 secs 972s # Executing: glib/thread-deprecated.test 972s ok 4 /thread/static-rw-lock 972s # slow test /thread/static-rw-lock executed in 5.00 secs 972s ok 5 /thread/once 977s # Executing: glib/thread-deprecated.test 982s # Executing: glib/thread-deprecated.test 982s ok 6 /thread/rerun-all 982s # slow test /thread/rerun-all executed in 9.82 secs 982s # End of thread tests 982s ok - glib/thread-deprecated.test 982s # Running test: glib/node.test 982s TAP version 14 982s # random seed: R02Sfffe73c173d06e6a24b24e54a2c71171 982s 1..6 982s # Start of node tests 982s ok 1 /node/allocation 982s ok 2 /node/construction 982s ok 3 /node/traversal 982s ok 4 /node/misc 982s ok 5 /node/unlink 982s ok 6 /node/copy 982s # End of node tests 982s ok - glib/node.test 982s # Running test: glib/power-profile-monitor.test 982s TAP version 14 982s # random seed: R02S859bc41ae084489c8a50b0721a702b24 982s 1..1 982s # Start of power-profile-monitor tests 982s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 982s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 982s ok 1 /power-profile-monitor/default 982s # End of power-profile-monitor tests 982s ok - glib/power-profile-monitor.test 982s # Running test: glib/atomic-c-11.test 982s TAP version 14 982s # random seed: R02S70bffee2b07ec20ca5655b60ad4a0200 982s 1..2 982s # Start of atomic tests 982s ok 1 /atomic/types 982s ok 2 /atomic/threaded 982s # End of atomic tests 982s ok - glib/atomic-c-11.test 982s # Running test: glib/markup-subparser.test 982s TAP version 14 982s # random seed: R02S8053d567e78ee8f86f0e575f4a49190d 982s 1..14 982s # Start of glib tests 982s # Start of markup tests 982s # Start of subparser tests 982s # Start of success tests 982s ok 1 /glib/markup/subparser/success/0 982s ok 2 /glib/markup/subparser/success/1 982s ok 3 /glib/markup/subparser/success/2 982s ok 4 /glib/markup/subparser/success/3 982s ok 5 /glib/markup/subparser/success/4 982s ok 6 /glib/markup/subparser/success/5 982s ok 7 /glib/markup/subparser/success/6 982s # End of success tests 982s # Start of failure tests 982s ok 8 /glib/markup/subparser/failure/0 982s ok 9 /glib/markup/subparser/failure/1 982s ok 10 /glib/markup/subparser/failure/2 982s ok 11 /glib/markup/subparser/failure/3 982s ok 12 /glib/markup/subparser/failure/4 982s ok 13 /glib/markup/subparser/failure/5 982s ok 14 /glib/markup/subparser/failure/6 982s # End of failure tests 982s # End of subparser tests 982s # End of markup tests 982s # End of glib tests 982s ok - glib/markup-subparser.test 982s # Running test: glib/utils-c-17.test 982s TAP version 14 982s # random seed: R02S065a148d64d2aa42c48721622dcd4b9d 982s 1..40 982s # Start of utils tests 982s ok 1 /utils/language-names 982s ok 2 /utils/locale-variants 982s ok 3 /utils/version 982s ok 4 /utils/appname 982s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 982s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 982s ok 5 /utils/prgname-thread-safety 982s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 982s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 982s ok 6 /utils/tmpdir 982s ok 7 /utils/basic_bits 982s ok 8 /utils/bits 982s ok 9 /utils/swap 982s ok 10 /utils/find-program 982s ok 11 /utils/find-program-for-path 982s ok 12 /utils/debug 982s ok 13 /utils/codeset 982s ok 14 /utils/codeset2 982s ok 15 /utils/console-charset 982s ok 16 /utils/gettext 982s ok 17 /utils/username 982s ok 18 /utils/realname 982s ok 19 /utils/hostname 982s ok 20 /utils/xdgdirs 982s ok 21 /utils/specialdir 982s # NAME: Ubuntu 982s ok 22 /utils/os-info 982s ok 23 /utils/clear-pointer 982s ok 24 /utils/clear-pointer-cast 982s ok 25 /utils/take-pointer 982s ok 26 /utils/clear-source 982s ok 27 /utils/misc-mem 982s # /utils/aligned-mem summary: Aligned memory allocator 982s # Alignment must not be zero 982s # Alignment must be a power of two 982s # Alignment must be a multiple of sizeof(void*) 982s ok 28 /utils/aligned-mem 982s # /utils/free-sized summary: Check that g_free_sized() works 982s ok 29 /utils/free-sized 982s ok 30 /utils/nullify 982s ok 31 /utils/atexit 982s ok 32 /utils/check-setuid 982s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 982s ok 33 /utils/int-limits 982s ok 34 /utils/clear-list 982s ok 35 /utils/clear-slist 982s # Start of specialdir tests 982s ok 36 /utils/specialdir/desktop 982s # End of specialdir tests 982s # Start of clear-pointer tests 982s ok 37 /utils/clear-pointer/side-effects 982s # End of clear-pointer tests 982s # Start of aligned-mem tests 982s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 982s ok 38 /utils/aligned-mem/alignment 982s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 982s ok 39 /utils/aligned-mem/zeroed 982s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 982s ok 40 /utils/aligned-mem/free-sized 982s # Start of subprocess tests 982s # End of subprocess tests 982s # End of aligned-mem tests 982s # End of utils tests 982s ok - glib/utils-c-17.test 982s # Running test: glib/gdbus-exit-on-close.test 982s TAP version 14 982s # random seed: R02S1cee8dab899538df041a602279fb5cc2 982s 1..4 982s # Start of gdbus tests 982s # Start of exit-on-close tests 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/default/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/default/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/default/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/default/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/default/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/default/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/default/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/default/.dirs/runtime 982s ok 1 /gdbus/exit-on-close/default 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/true/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/true/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/true/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/true/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/true/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/true/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/true/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/true/.dirs/runtime 982s ok 2 /gdbus/exit-on-close/true 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/false/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/false/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/false/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/false/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/false/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/false/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/false/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/false/.dirs/runtime 982s ok 3 /gdbus/exit-on-close/false 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/we-close/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/we-close/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/we-close/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/we-close/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/we-close/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/we-close/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/we-close/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_TETWX2/gdbus/exit-on-close/we-close/.dirs/runtime 982s ok 4 /gdbus/exit-on-close/we-close 982s # Start of default tests 982s # End of default tests 982s # Start of true tests 982s # End of true tests 982s # Start of false tests 982s # End of false tests 982s # Start of we-close tests 982s # End of we-close tests 982s # End of exit-on-close tests 982s # End of gdbus tests 982s ok - glib/gdbus-exit-on-close.test 982s # Running test: glib/cmph-bdz.test 982s TAP version 14 982s # random seed: R02Sb36ab43810079ab1c8403f1484b17cd6 982s 1..2 982s # Start of cmph-bdz tests 982s ok 1 /cmph-bdz/search 982s ok 2 /cmph-bdz/search-packed 982s # End of cmph-bdz tests 982s ok - glib/cmph-bdz.test 982s # Running test: glib/type-flags.test 982s TAP version 14 982s # random seed: R02S04a92e3599ec2e36f1adcc6d6d9defd7 982s 1..4 982s # Start of type tests 982s # Start of flags tests 982s ok 1 /type/flags/interface 982s ok 2 /type/flags/final 982s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 982s ok 3 /type/flags/deprecated 982s # Start of final tests 982s ok 4 /type/flags/final/instance-check 982s # End of final tests 982s # End of flags tests 982s # End of type tests 982s ok - glib/type-flags.test 982s # Running test: glib/inet-address.test 982s TAP version 14 982s # random seed: R02S2ef817182c81b882cd0a0d8c00e8ab21 982s 1..11 982s # Start of inet-address tests 982s ok 1 /inet-address/parse 982s ok 2 /inet-address/any 982s ok 3 /inet-address/loopback 982s ok 4 /inet-address/bytes 982s ok 5 /inet-address/property 982s # End of inet-address tests 982s # Start of socket-address tests 982s ok 6 /socket-address/basic 982s ok 7 /socket-address/to-string 982s # End of socket-address tests 982s # Start of address-mask tests 982s ok 8 /address-mask/parse 982s ok 9 /address-mask/property 982s ok 10 /address-mask/equal 982s ok 11 /address-mask/match 982s # End of address-mask tests 982s ok - glib/inet-address.test 982s # Running test: glib/glistmodel.test 982s TAP version 14 982s # random seed: R02S9043cb002b7754969b2e55fe26f3dd9c 982s 1..18 982s # Start of glistmodel tests 982s # Start of store tests 982s ok 1 /glistmodel/store/properties 982s ok 2 /glistmodel/store/non-gobjects 982s ok 3 /glistmodel/store/boundaries 982s ok 4 /glistmodel/store/refcounts 982s ok 5 /glistmodel/store/sorted 982s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 982s ok 6 /glistmodel/store/splice-replace-middle 982s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 982s ok 7 /glistmodel/store/splice-replace-all 982s ok 8 /glistmodel/store/splice-noop 982s ok 9 /glistmodel/store/splice-remove-multiple 982s ok 10 /glistmodel/store/splice-add-multiple 982s ok 11 /glistmodel/store/splice-wrong-type 982s ok 12 /glistmodel/store/item-type 982s ok 13 /glistmodel/store/remove-all 982s ok 14 /glistmodel/store/sort 982s ok 15 /glistmodel/store/get-item-cache 982s ok 16 /glistmodel/store/items-changed 982s ok 17 /glistmodel/store/past-end 982s ok 18 /glistmodel/store/find 982s # End of store tests 982s # End of glistmodel tests 982s ok - glib/glistmodel.test 982s # Running test: glib/gdbus-non-socket.test 982s TAP version 14 982s # random seed: R02Sc12b02221b315a89ff3e6914dfd54d41 982s 1..1 982s # Start of gdbus tests 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_K6UNX2/gdbus/non-socket/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_K6UNX2/gdbus/non-socket/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_K6UNX2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_K6UNX2/gdbus/non-socket/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_K6UNX2/gdbus/non-socket/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_K6UNX2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_K6UNX2/gdbus/non-socket/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_K6UNX2/gdbus/non-socket/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_K6UNX2/gdbus/non-socket/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_K6UNX2/gdbus/non-socket/.dirs/runtime 982s ok 1 /gdbus/non-socket 982s # End of gdbus tests 982s ok - glib/gdbus-non-socket.test 982s # Running test: glib/basic-signals.test 982s TAP version 14 982s # random seed: R02S2d74aefec277085af884715ea90f7658 982s 1..1 982s # Start of gobject tests 982s ok 1 /gobject/basic-signals 982s # End of gobject tests 982s ok - glib/basic-signals.test 982s # Running test: glib/hostutils.test 982s TAP version 14 983s # random seed: R02S6cbfe4db6be109238071f9c46ace6fef 983s 1..3 983s # Start of hostutils tests 983s ok 1 /hostutils/to_ascii 983s ok 2 /hostutils/to_unicode 983s ok 3 /hostutils/is_ip_addr 983s # End of hostutils tests 983s ok - glib/hostutils.test 983s # Running test: glib/g-file-info-filesystem-readonly.test 983s TAP version 14 983s # random seed: R02Se719a7de1f0559156fc6e24cb6966ad2 983s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 983s 1..2 983s # Start of g-file-info-filesystem-readonly tests 983s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 983s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 983s # End of g-file-info-filesystem-readonly tests 983s ok - glib/g-file-info-filesystem-readonly.test 983s # Running test: glib/atomic-c-99.test 983s TAP version 14 983s # random seed: R02S1817eb25001147f1561f04753449f17c 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-c-99.test 983s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 983s TAP version 14 983s # random seed: R02Sfefe37c23ec8c941c70f8cfb85b8aa66 983s 1..8 983s # Start of gdbus tests 983s # Start of codegen tests 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/annotations/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/annotations/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/annotations/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/annotations/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/annotations/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/annotations/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/annotations/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/annotations/.dirs/runtime 983s ok 1 /gdbus/codegen/annotations 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/interface_stability/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/interface_stability/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/interface_stability/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/interface_stability/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/interface_stability/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/interface_stability/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/interface_stability/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/interface_stability/.dirs/runtime 983s ok 2 /gdbus/codegen/interface_stability 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/object-manager/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/object-manager/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/object-manager/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/object-manager/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/object-manager/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/object-manager/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/object-manager/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/object-manager/.dirs/runtime 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s ok 3 /gdbus/codegen/object-manager 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/property-naming/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/property-naming/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/property-naming/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/property-naming/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/property-naming/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/property-naming/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/property-naming/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/property-naming/.dirs/runtime 983s ok 4 /gdbus/codegen/property-naming 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/autocleanups/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/autocleanups/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/autocleanups/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/autocleanups/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/autocleanups/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/autocleanups/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/autocleanups/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/autocleanups/.dirs/runtime 983s ok 5 /gdbus/codegen/autocleanups 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/deprecations/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/deprecations/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/deprecations/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/deprecations/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/deprecations/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/deprecations/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/deprecations/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/deprecations/.dirs/runtime 983s ok 6 /gdbus/codegen/deprecations 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/standalone-interface-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/standalone-interface-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/standalone-interface-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/standalone-interface-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/standalone-interface-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/standalone-interface-info/.dirs/runtime 983s ok 7 /gdbus/codegen/standalone-interface-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/unix-fd-list/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/unix-fd-list/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/unix-fd-list/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/unix-fd-list/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/unix-fd-list/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/unix-fd-list/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/unix-fd-list/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_C8W7X2/gdbus/codegen/unix-fd-list/.dirs/runtime 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 983s ok 8 /gdbus/codegen/unix-fd-list 983s # End of codegen tests 983s # End of gdbus tests 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s ok - glib/gdbus-test-codegen-min-required-2-64.test 983s # Running test: glib/gdbus-names.test 983s TAP version 14 983s # random seed: R02S4c540aed016504b050965d3aff1e5736 983s 1..10 983s # Start of gdbus tests 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V495X2/gdbus/validate-names/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/validate-names/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_V495X2/gdbus/validate-names/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V495X2/gdbus/validate-names/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_V495X2/gdbus/validate-names/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V495X2/gdbus/validate-names/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/validate-names/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V495X2/gdbus/validate-names/.dirs/runtime 983s ok 1 /gdbus/validate-names 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-own-name/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-own-name/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_V495X2/gdbus/bus-own-name/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-own-name/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_V495X2/gdbus/bus-own-name/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-own-name/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-own-name/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V495X2/gdbus/bus-own-name/.dirs/runtime 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s ok 2 /gdbus/bus-own-name 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name/.dirs/runtime 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s ok 3 /gdbus/bus-watch-name 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start/.dirs/runtime 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s ok 4 /gdbus/bus-watch-name-auto-start 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s dbus-daemon[12717]: [session uid=1000 pid=12717] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=12708 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 983s # Acquired a message bus connection 983s dbus-daemon[12717]: [session uid=1000 pid=12717] Successfully activated service 'org.gtk.GDBus.FakeService' 983s # Acquired the name org.gtk.GDBus.FakeService 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures/.dirs/runtime 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s ok 6 /gdbus/bus-watch-name-closures 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s ok 7 /gdbus/bus-watch-name-closures-auto-start 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-different-context/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-different-context/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_V495X2/gdbus/bus-watch-different-context/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-different-context/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_V495X2/gdbus/bus-watch-different-context/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-different-context/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-different-context/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V495X2/gdbus/bus-watch-different-context/.dirs/runtime 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s ok 8 /gdbus/bus-watch-different-context 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-unwatch-early/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-unwatch-early/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_V495X2/gdbus/bus-unwatch-early/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-unwatch-early/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_V495X2/gdbus/bus-unwatch-early/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-unwatch-early/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/bus-unwatch-early/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V495X2/gdbus/bus-unwatch-early/.dirs/runtime 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 983s ok 9 /gdbus/bus-unwatch-early 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_V495X2/gdbus/escape-object-path/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/escape-object-path/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_V495X2/gdbus/escape-object-path/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_V495X2/gdbus/escape-object-path/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_V495X2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_V495X2/gdbus/escape-object-path/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_V495X2/gdbus/escape-object-path/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_V495X2/gdbus/escape-object-path/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_V495X2/gdbus/escape-object-path/.dirs/runtime 983s ok 10 /gdbus/escape-object-path 983s # End of gdbus tests 983s ok - glib/gdbus-names.test 983s # Running test: glib/mkenums.py.test 983s TAP version 13 983s ok 1 __main__.TestMkenums.test_available_in 983s # tmpdir: /tmp/tmp5d58y6po 983s # rspfile: False, mkenums: /usr/bin/glib-mkenums 983s # /tmp/tmp5d58y6po/tmp9ribxbs4.h: 983s # typedef enum { 983s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 983s # } GDBusServerFlags; 983s # 983s # /tmp/tmp5d58y6po/tmpwy7kolg8.template: 983s # /*** BEGIN file-header ***/ 983s # file-header 983s # /*** END file-header ***/ 983s # 983s # /*** BEGIN file-production ***/ 983s # file-production 983s # filename: @filename@ 983s # basename: @basename@ 983s # /*** END file-production ***/ 983s # 983s # /*** BEGIN enumeration-production ***/ 983s # enumeration-production 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END enumeration-production ***/ 983s # 983s # /*** BEGIN value-header ***/ 983s # value-header 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-header ***/ 983s # 983s # /*** BEGIN value-production ***/ 983s # value-production 983s # VALUENAME: @VALUENAME@ 983s # valuenick: @valuenick@ 983s # valuenum: @valuenum@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-production ***/ 983s # 983s # /*** BEGIN value-tail ***/ 983s # value-tail 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-tail ***/ 983s # 983s # /*** BEGIN comment ***/ 983s # comment 983s # comment: @comment@ 983s # /*** END comment ***/ 983s # 983s # /*** BEGIN file-tail ***/ 983s # file-tail 983s # /*** END file-tail ***/ 983s # 983s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5d58y6po/tmpwy7kolg8.template', '/tmp/tmp5d58y6po/tmp9ribxbs4.h'] 983s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 983s # Output: comment 983s # 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. 983s # 983s # 983s # file-header 983s # file-production 983s # filename: /tmp/tmp5d58y6po/tmp9ribxbs4.h 983s # basename: tmp9ribxbs4.h 983s # enumeration-production 983s # EnumName: GDBusServerFlags 983s # enum_name: g_dbus_server_flags 983s # ENUMNAME: G_DBUS_SERVER_FLAGS 983s # ENUMSHORT: DBUS_SERVER_FLAGS 983s # ENUMPREFIX: G 983s # enumsince: 983s # type: flags 983s # Type: Flags 983s # TYPE: FLAGS 983s # value-header 983s # EnumName: GDBusServerFlags 983s # enum_name: g_dbus_server_flags 983s # ENUMNAME: G_DBUS_SERVER_FLAGS 983s # ENUMSHORT: DBUS_SERVER_FLAGS 983s # ENUMPREFIX: G 983s # enumsince: 983s # type: flags 983s # Type: Flags 983s # TYPE: FLAGS 983s # value-production 983s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 983s # valuenick: user 983s # valuenum: 4 983s # type: flags 983s # Type: Flags 983s # TYPE: FLAGS 983s # value-tail 983s # EnumName: GDBusServerFlags 983s # enum_name: g_dbus_server_flags 983s # ENUMNAME: G_DBUS_SERVER_FLAGS 983s # ENUMSHORT: DBUS_SERVER_FLAGS 983s # ENUMPREFIX: G 983s # enumsince: 983s # type: flags 983s # Type: Flags 983s # TYPE: FLAGS 983s # file-tail 983s # 983s # comment 983s # comment: Generated data ends here 983s ok 2 __main__.TestMkenums.test_comma_in_enum_value 983s # tmpdir: /tmp/tmp3j14pjxd 983s # rspfile: False, mkenums: /usr/bin/glib-mkenums 983s # /tmp/tmp3j14pjxd/tmp7ivvs7xm.h: 983s # typedef enum { 983s # ENUM_VALUE_WITH_COMMA = ',', 983s # } TestCommaEnum; 983s # 983s # /tmp/tmp3j14pjxd/tmpnxqzthwa.template: 983s # /*** BEGIN file-header ***/ 983s # file-header 983s # /*** END file-header ***/ 983s # 983s # /*** BEGIN file-production ***/ 983s # file-production 983s # filename: @filename@ 983s # basename: @basename@ 983s # /*** END file-production ***/ 983s # 983s # /*** BEGIN enumeration-production ***/ 983s # enumeration-production 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END enumeration-production ***/ 983s # 983s # /*** BEGIN value-header ***/ 983s # value-header 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-header ***/ 983s # 983s # /*** BEGIN value-production ***/ 983s # value-production 983s # VALUENAME: @VALUENAME@ 983s # valuenick: @valuenick@ 983s # valuenum: @valuenum@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-production ***/ 983s # 983s # /*** BEGIN value-tail ***/ 983s # value-tail 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-tail ***/ 983s # 983s # /*** BEGIN comment ***/ 983s # comment 983s # comment: @comment@ 983s # /*** END comment ***/ 983s # 983s # /*** BEGIN file-tail ***/ 983s # file-tail 983s # /*** END file-tail ***/ 983s # 983s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3j14pjxd/tmpnxqzthwa.template', '/tmp/tmp3j14pjxd/tmp7ivvs7xm.h'] 983s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 983s # Output: comment 983s # 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. 983s # 983s # 983s # file-header 983s # file-production 983s # filename: /tmp/tmp3j14pjxd/tmp7ivvs7xm.h 983s # basename: tmp7ivvs7xm.h 983s # enumeration-production 983s # EnumName: TestCommaEnum 983s # enum_name: test_comma_enum 983s # ENUMNAME: TEST_COMMA_ENUM 983s # ENUMSHORT: COMMA_ENUM 983s # ENUMPREFIX: TEST 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-header 983s # EnumName: TestCommaEnum 983s # enum_name: test_comma_enum 983s # ENUMNAME: TEST_COMMA_ENUM 983s # ENUMSHORT: COMMA_ENUM 983s # ENUMPREFIX: TEST 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-production 983s # VALUENAME: ENUM_VALUE_WITH_COMMA 983s # valuenick: comma 983s # valuenum: 44 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-tail 983s # EnumName: TestCommaEnum 983s # enum_name: test_comma_enum 983s # ENUMNAME: TEST_COMMA_ENUM 983s # ENUMSHORT: COMMA_ENUM 983s # ENUMPREFIX: TEST 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # file-tail 983s # 983s # comment 983s # comment: Generated data ends here 983s ok 3 __main__.TestMkenums.test_deprecated_in 983s # tmpdir: /tmp/tmpeb377ji6 983s # rspfile: False, mkenums: /usr/bin/glib-mkenums 983s # /tmp/tmpeb377ji6/tmpnmjglzxe.h: 983s # typedef enum { 983s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 983s # } GDBusServerFlags; 983s # 983s # /tmp/tmpeb377ji6/tmpif7q4kth.template: 983s # /*** BEGIN file-header ***/ 983s # file-header 983s # /*** END file-header ***/ 983s # 983s # /*** BEGIN file-production ***/ 983s # file-production 983s # filename: @filename@ 983s # basename: @basename@ 983s # /*** END file-production ***/ 983s # 983s # /*** BEGIN enumeration-production ***/ 983s # enumeration-production 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END enumeration-production ***/ 983s # 983s # /*** BEGIN value-header ***/ 983s # value-header 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-header ***/ 983s # 983s # /*** BEGIN value-production ***/ 983s # value-production 983s # VALUENAME: @VALUENAME@ 983s # valuenick: @valuenick@ 983s # valuenum: @valuenum@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-production ***/ 983s # 983s # /*** BEGIN value-tail ***/ 983s # value-tail 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-tail ***/ 983s # 983s # /*** BEGIN comment ***/ 983s # comment 983s # comment: @comment@ 983s # /*** END comment ***/ 983s # 983s # /*** BEGIN file-tail ***/ 983s # file-tail 983s # /*** END file-tail ***/ 983s # 983s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpeb377ji6/tmpif7q4kth.template', '/tmp/tmpeb377ji6/tmpnmjglzxe.h'] 983s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 983s # Output: comment 983s # 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. 983s # 983s # 983s # file-header 983s # file-production 983s # filename: /tmp/tmpeb377ji6/tmpnmjglzxe.h 983s # basename: tmpnmjglzxe.h 983s # enumeration-production 983s # EnumName: GDBusServerFlags 983s # enum_name: g_dbus_server_flags 983s # ENUMNAME: G_DBUS_SERVER_FLAGS 983s # ENUMSHORT: DBUS_SERVER_FLAGS 983s # ENUMPREFIX: G 983s # enumsince: 983s # type: flags 983s # Type: Flags 983s # TYPE: FLAGS 983s # value-header 983s # EnumName: GDBusServerFlags 983s # enum_name: g_dbus_server_flags 983s # ENUMNAME: G_DBUS_SERVER_FLAGS 983s # ENUMSHORT: DBUS_SERVER_FLAGS 983s # ENUMPREFIX: G 983s # enumsince: 983s # type: flags 983s # Type: Flags 983s # TYPE: FLAGS 983s # value-production 983s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 983s # valuenick: user 983s # valuenum: 4 983s # type: flags 983s # Type: Flags 983s # TYPE: FLAGS 983s # value-tail 983s # EnumName: GDBusServerFlags 983s # enum_name: g_dbus_server_flags 983s # ENUMNAME: G_DBUS_SERVER_FLAGS 983s # ENUMSHORT: DBUS_SERVER_FLAGS 983s # ENUMPREFIX: G 983s # enumsince: 983s # type: flags 983s # Type: Flags 983s # TYPE: FLAGS 983s # file-tail 983s # 983s # comment 983s # comment: Generated data ends here 983s ok 4 __main__.TestMkenums.test_deprecated_in_for 983s # tmpdir: /tmp/tmpim34kwxr 983s # rspfile: False, mkenums: /usr/bin/glib-mkenums 983s # /tmp/tmpim34kwxr/tmpnax2k7hb.h: 983s # typedef enum { 983s # 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) 983s # } GDBusServerFlags; 983s # 983s # /tmp/tmpim34kwxr/tmpo1jzvmr8.template: 983s # /*** BEGIN file-header ***/ 983s # file-header 983s # /*** END file-header ***/ 983s # 983s # /*** BEGIN file-production ***/ 983s # file-production 983s # filename: @filename@ 983s # basename: @basename@ 983s # /*** END file-production ***/ 983s # 983s # /*** BEGIN enumeration-production ***/ 983s # enumeration-production 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END enumeration-production ***/ 983s # 983s # /*** BEGIN value-header ***/ 983s # value-header 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-header ***/ 983s # 983s # /*** BEGIN value-production ***/ 983s # value-production 983s # VALUENAME: @VALUENAME@ 983s # valuenick: @valuenick@ 983s # valuenum: @valuenum@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-production ***/ 983s # 983s # /*** BEGIN value-tail ***/ 983s # value-tail 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-tail ***/ 983s # 983s # /*** BEGIN comment ***/ 983s # comment 983s # comment: @comment@ 983s # /*** END comment ***/ 983s # 983s # /*** BEGIN file-tail ***/ 983s # file-tail 983s # /*** END file-tail ***/ 983s # 983s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpim34kwxr/tmpo1jzvmr8.template', '/tmp/tmpim34kwxr/tmpnax2k7hb.h'] 983s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 983s # Output: comment 983s # 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. 983s # 983s # 983s # file-header 983s # file-production 983s # filename: /tmp/tmpim34kwxr/tmpnax2k7hb.h 983s # basename: tmpnax2k7hb.h 983s # enumeration-production 983s # EnumName: GDBusServerFlags 983s # enum_name: g_dbus_server_flags 983s # ENUMNAME: G_DBUS_SERVER_FLAGS 983s # ENUMSHORT: DBUS_SERVER_FLAGS 983s # ENUMPREFIX: G 983s # enumsince: 983s # type: flags 983s # Type: Flags 983s # TYPE: FLAGS 983s # value-header 983s # EnumName: GDBusServerFlags 983s # enum_name: g_dbus_server_flags 983s # ENUMNAME: G_DBUS_SERVER_FLAGS 983s # ENUMSHORT: DBUS_SERVER_FLAGS 983s # ENUMPREFIX: G 983s # enumsince: 983s # type: flags 983s # Type: Flags 983s # TYPE: FLAGS 983s # value-production 983s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 983s # valuenick: user 983s # valuenum: 4 983s # type: flags 983s # Type: Flags 983s # TYPE: FLAGS 983s # value-tail 983s # EnumName: GDBusServerFlags 983s # enum_name: g_dbus_server_flags 983s # ENUMNAME: G_DBUS_SERVER_FLAGS 983s # ENUMSHORT: DBUS_SERVER_FLAGS 983s # ENUMPREFIX: G 983s # enumsince: 983s # type: flags 983s # Type: Flags 983s # TYPE: FLAGS 983s # file-tail 983s # 983s # comment 983s # comment: Generated data ends here 983s ok 5 __main__.TestMkenums.test_empty_header 983s # tmpdir: /tmp/tmprd2y3cg1 983s # rspfile: False, mkenums: /usr/bin/glib-mkenums 983s # /tmp/tmprd2y3cg1/tmp9nueexrp.h: 983s # /tmp/tmprd2y3cg1/tmp56z01hit.template: 983s # /*** BEGIN file-header ***/ 983s # file-header 983s # /*** END file-header ***/ 983s # 983s # /*** BEGIN file-production ***/ 983s # file-production 983s # filename: @filename@ 983s # basename: @basename@ 983s # /*** END file-production ***/ 983s # 983s # /*** BEGIN enumeration-production ***/ 983s # enumeration-production 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END enumeration-production ***/ 983s # 983s # /*** BEGIN value-header ***/ 983s # value-header 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-header ***/ 983s # 983s # /*** BEGIN value-production ***/ 983s # value-production 983s # VALUENAME: @VALUENAME@ 983s # valuenick: @valuenick@ 983s # valuenum: @valuenum@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-production ***/ 983s # 983s # /*** BEGIN value-tail ***/ 983s # value-tail 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-tail ***/ 983s # 983s # /*** BEGIN comment ***/ 983s # comment 983s # comment: @comment@ 983s # /*** END comment ***/ 983s # 983s # /*** BEGIN file-tail ***/ 983s # file-tail 983s # /*** END file-tail ***/ 983s # 983s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprd2y3cg1/tmp56z01hit.template', '/tmp/tmprd2y3cg1/tmp9nueexrp.h'] 983s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 983s # Output: comment 983s # 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. 983s # 983s # 983s # file-header 983s # file-tail 983s # 983s # comment 983s # comment: Generated data ends here 983s ok 6 __main__.TestMkenums.test_empty_template 983s # tmpdir: /tmp/tmpbppikbe3 983s # rspfile: False, mkenums: /usr/bin/glib-mkenums 983s # /tmp/tmpbppikbe3/tmpjnxl769a.template: 983s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbppikbe3/tmpjnxl769a.template'] 983s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 983s # 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. */ 983s # 983s # 983s # /* Generated data ends here */ 983s ok 7 __main__.TestMkenums.test_enum_name 983s # tmpdir: /tmp/tmpue9vt70p 983s # rspfile: False, mkenums: /usr/bin/glib-mkenums 983s # /tmp/tmpue9vt70p/tmpd3zqea2u.h: 983s # typedef enum _SomeEnumIdentifier { 983s # ENUM_VALUE 983s # } SomeEnumIdentifier; 983s # 983s # /tmp/tmpue9vt70p/tmp_aa_iql2.template: 983s # /*** BEGIN file-header ***/ 983s # file-header 983s # /*** END file-header ***/ 983s # 983s # /*** BEGIN file-production ***/ 983s # file-production 983s # filename: @filename@ 983s # basename: @basename@ 983s # /*** END file-production ***/ 983s # 983s # /*** BEGIN enumeration-production ***/ 983s # enumeration-production 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END enumeration-production ***/ 983s # 983s # /*** BEGIN value-header ***/ 983s # value-header 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-header ***/ 983s # 983s # /*** BEGIN value-production ***/ 983s # value-production 983s # VALUENAME: @VALUENAME@ 983s # valuenick: @valuenick@ 983s # valuenum: @valuenum@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-production ***/ 983s # 983s # /*** BEGIN value-tail ***/ 983s # value-tail 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-tail ***/ 983s # 983s # /*** BEGIN comment ***/ 983s # comment 983s # comment: @comment@ 983s # /*** END comment ***/ 983s # 983s # /*** BEGIN file-tail ***/ 983s # file-tail 983s # /*** END file-tail ***/ 983s # 983s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpue9vt70p/tmp_aa_iql2.template', '/tmp/tmpue9vt70p/tmpd3zqea2u.h'] 983s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 983s # Output: comment 983s # 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. 983s # 983s # 983s # file-header 983s # file-production 983s # filename: /tmp/tmpue9vt70p/tmpd3zqea2u.h 983s # basename: tmpd3zqea2u.h 983s # enumeration-production 983s # EnumName: SomeEnumIdentifier 983s # enum_name: some_enum_identifier 983s # ENUMNAME: SOME_ENUM_IDENTIFIER 983s # ENUMSHORT: ENUM_IDENTIFIER 983s # ENUMPREFIX: SOME 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-header 983s # EnumName: SomeEnumIdentifier 983s # enum_name: some_enum_identifier 983s # ENUMNAME: SOME_ENUM_IDENTIFIER 983s # ENUMSHORT: ENUM_IDENTIFIER 983s # ENUMPREFIX: SOME 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-production 983s # VALUENAME: ENUM_VALUE 983s # valuenick: value 983s # valuenum: 0 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-tail 983s # EnumName: SomeEnumIdentifier 983s # enum_name: some_enum_identifier 983s # ENUMNAME: SOME_ENUM_IDENTIFIER 983s # ENUMSHORT: ENUM_IDENTIFIER 983s # ENUMPREFIX: SOME 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # file-tail 983s # 983s # comment 983s # comment: Generated data ends here 983s ok 8 __main__.TestMkenums.test_enum_private_public 983s # tmpdir: /tmp/tmpy66vxvu5 983s # rspfile: False, mkenums: /usr/bin/glib-mkenums 983s # /tmp/tmpy66vxvu5/tmp_p3jzm5a.h: 983s # typedef enum { 983s # ENUM_VALUE_PUBLIC1, 983s # /*< private >*/ 983s # ENUM_VALUE_PRIVATE, 983s # } SomeEnumA 983s # 983s # /tmp/tmpy66vxvu5/tmp1gjqrt8h.template: 983s # /*** BEGIN file-header ***/ 983s # file-header 983s # /*** END file-header ***/ 983s # 983s # /*** BEGIN file-production ***/ 983s # file-production 983s # filename: @filename@ 983s # basename: @basename@ 983s # /*** END file-production ***/ 983s # 983s # /*** BEGIN enumeration-production ***/ 983s # enumeration-production 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END enumeration-production ***/ 983s # 983s # /*** BEGIN value-header ***/ 983s # value-header 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-header ***/ 983s # 983s # /*** BEGIN value-production ***/ 983s # value-production 983s # VALUENAME: @VALUENAME@ 983s # valuenick: @valuenick@ 983s # valuenum: @valuenum@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-production ***/ 983s # 983s # /*** BEGIN value-tail ***/ 983s # value-tail 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-tail ***/ 983s # 983s # /*** BEGIN comment ***/ 983s # comment 983s # comment: @comment@ 983s # /*** END comment ***/ 983s # 983s # /*** BEGIN file-tail ***/ 983s # file-tail 983s # /*** END file-tail ***/ 983s # 983s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpy66vxvu5/tmp1gjqrt8h.template', '/tmp/tmpy66vxvu5/tmp_p3jzm5a.h'] 983s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 983s # Output: comment 983s # 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. 983s # 983s # 983s # file-header 983s # file-production 983s # filename: /tmp/tmpy66vxvu5/tmp_p3jzm5a.h 983s # basename: tmp_p3jzm5a.h 983s # enumeration-production 983s # EnumName: SomeEnumA 983s # enum_name: some_enum_a 983s # ENUMNAME: SOME_ENUM_A 983s # ENUMSHORT: ENUM_A 983s # ENUMPREFIX: SOME 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-header 983s # EnumName: SomeEnumA 983s # enum_name: some_enum_a 983s # ENUMNAME: SOME_ENUM_A 983s # ENUMSHORT: ENUM_A 983s # ENUMPREFIX: SOME 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-production 983s # VALUENAME: ENUM_VALUE_PUBLIC1 983s # valuenick: public1 983s # valuenum: 0 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-tail 983s # EnumName: SomeEnumA 983s # enum_name: some_enum_a 983s # ENUMNAME: SOME_ENUM_A 983s # ENUMSHORT: ENUM_A 983s # ENUMPREFIX: SOME 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # file-tail 983s # 983s # comment 983s # comment: Generated data ends here 983s # /tmp/tmpy66vxvu5/tmp4a1na1_2.h: 983s # typedef enum { 983s # /*< private >*/ 983s # ENUM_VALUE_PRIVATE, 983s # /*< public >*/ 983s # ENUM_VALUE_PUBLIC2, 983s # } SomeEnumB; 983s # 983s # /tmp/tmpy66vxvu5/tmpxj0y3ixj.template: 983s # /*** BEGIN file-header ***/ 983s # file-header 983s # /*** END file-header ***/ 983s # 983s # /*** BEGIN file-production ***/ 983s # file-production 983s # filename: @filename@ 983s # basename: @basename@ 983s # /*** END file-production ***/ 983s # 983s # /*** BEGIN enumeration-production ***/ 983s # enumeration-production 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END enumeration-production ***/ 983s # 983s # /*** BEGIN value-header ***/ 983s # value-header 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-header ***/ 983s # 983s # /*** BEGIN value-production ***/ 983s # value-production 983s # VALUENAME: @VALUENAME@ 983s # valuenick: @valuenick@ 983s # valuenum: @valuenum@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-production ***/ 983s # 983s # /*** BEGIN value-tail ***/ 983s # value-tail 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-tail ***/ 983s # 983s # /*** BEGIN comment ***/ 983s # comment 983s # comment: @comment@ 983s # /*** END comment ***/ 983s # 983s # /*** BEGIN file-tail ***/ 983s # file-tail 983s # /*** END file-tail ***/ 983s # 983s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpy66vxvu5/tmpxj0y3ixj.template', '/tmp/tmpy66vxvu5/tmp4a1na1_2.h'] 983s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 983s # Output: comment 983s # 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. 983s # 983s # 983s # file-header 983s # file-production 983s # filename: /tmp/tmpy66vxvu5/tmp4a1na1_2.h 983s # basename: tmp4a1na1_2.h 983s # enumeration-production 983s # EnumName: SomeEnumB 983s # enum_name: some_enum_b 983s # ENUMNAME: SOME_ENUM_B 983s # ENUMSHORT: ENUM_B 983s # ENUMPREFIX: SOME 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-header 983s # EnumName: SomeEnumB 983s # enum_name: some_enum_b 983s # ENUMNAME: SOME_ENUM_B 983s # ENUMSHORT: ENUM_B 983s # ENUMPREFIX: SOME 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-production 983s # VALUENAME: ENUM_VALUE_PUBLIC2 983s # valuenick: public2 983s # valuenum: 1 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-tail 983s # EnumName: SomeEnumB 983s # enum_name: some_enum_b 983s # ENUMNAME: SOME_ENUM_B 983s # ENUMSHORT: ENUM_B 983s # ENUMPREFIX: SOME 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # file-tail 983s # 983s # comment 983s # comment: Generated data ends here 983s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 983s # tmpdir: /tmp/tmpwvav74q6 983s # rspfile: False, mkenums: /usr/bin/glib-mkenums 983s # /tmp/tmpwvav74q6/tmp9eimjtff.h: 983s # typedef enum { 983s # /*< private >*/ 983s # ENUM_VALUE_PRIVATE = 5, 983s # /*< public >*/ 983s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 983s # } TestSymbolicEnum; 983s # 983s # /tmp/tmpwvav74q6/tmpnflx3xyf.template: 983s # /*** BEGIN file-header ***/ 983s # file-header 983s # /*** END file-header ***/ 983s # 983s # /*** BEGIN file-production ***/ 983s # file-production 983s # filename: @filename@ 983s # basename: @basename@ 983s # /*** END file-production ***/ 983s # 983s # /*** BEGIN enumeration-production ***/ 983s # enumeration-production 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END enumeration-production ***/ 983s # 983s # /*** BEGIN value-header ***/ 983s # value-header 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-header ***/ 983s # 983s # /*** BEGIN value-production ***/ 983s # value-production 983s # VALUENAME: @VALUENAME@ 983s # valuenick: @valuenick@ 983s # valuenum: @valuenum@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-production ***/ 983s # 983s # /*** BEGIN value-tail ***/ 983s # value-tail 983s # EnumName: @EnumName@ 983s # enum_name: @enum_name@ 983s # ENUMNAME: @ENUMNAME@ 983s # ENUMSHORT: @ENUMSHORT@ 983s # ENUMPREFIX: @ENUMPREFIX@ 983s # enumsince: @enumsince@ 983s # type: @type@ 983s # Type: @Type@ 983s # TYPE: @TYPE@ 983s # /*** END value-tail ***/ 983s # 983s # /*** BEGIN comment ***/ 983s # comment 983s # comment: @comment@ 983s # /*** END comment ***/ 983s # 983s # /*** BEGIN file-tail ***/ 983s # file-tail 983s # /*** END file-tail ***/ 983s # 983s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwvav74q6/tmpnflx3xyf.template', '/tmp/tmpwvav74q6/tmp9eimjtff.h'] 983s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 983s # Output: comment 983s # 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. 983s # 983s # 983s # file-header 983s # file-production 983s # filename: /tmp/tmpwvav74q6/tmp9eimjtff.h 983s # basename: tmp9eimjtff.h 983s # enumeration-production 983s # EnumName: TestSymbolicEnum 983s # enum_name: test_symbolic_enum 983s # ENUMNAME: TEST_SYMBOLIC_ENUM 983s # ENUMSHORT: SYMBOLIC_ENUM 983s # ENUMPREFIX: TEST 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-header 983s # EnumName: TestSymbolicEnum 983s # enum_name: test_symbolic_enum 983s # ENUMNAME: TEST_SYMBOLIC_ENUM 983s # ENUMSHORT: SYMBOLIC_ENUM 983s # ENUMPREFIX: TEST 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-production 983s # VALUENAME: ENUM_VALUE_PUBLIC 983s # valuenick: public 983s # valuenum: 7 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # value-tail 983s # EnumName: TestSymbolicEnum 983s # enum_name: test_symbolic_enum 983s # ENUMNAME: TEST_SYMBOLIC_ENUM 983s # ENUMSHORT: SYMBOLIC_ENUM 983s # ENUMPREFIX: TEST 983s # enumsince: 983s # type: enum 983s # Type: Enum 983s # TYPE: ENUM 983s # file-tail 983s # 983s # comment 983s # comment: Generated data ends here 983s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 983s # tmpdir: /tmp/tmp7vzhqbou 983s # rspfile: False, mkenums: /usr/bin/glib-mkenums 983s # /tmp/tmp7vzhqbou/tmpnl2bc1eu.template: 983s # /*** BEGIN file-header ***/ 983s # file-header 983s # filename: @filename@ 983s # basename: @basename@ 983s # /*** END file-header ***/ 983s # 983s # /*** BEGIN comment ***/ 983s # comment 983s # comment: @comment@ 983s # /*** END comment ***/ 983s # 983s # /*** BEGIN file-tail ***/ 983s # file-tail 983s # filename: @filename@ 983s # basename: @basename@ 983s # /*** END file-tail ***/ 983s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7vzhqbou/tmpnl2bc1eu.template'] 983s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 983s # Output: comment 983s # 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. 983s # 983s # 983s # file-header 983s # filename: @filename@ 983s # basename: @basename@ 983s # file-tail 983s # filename: @filename@ 983s # basename: @basename@ 983s # 983s # comment 983s # comment: Generated data ends here 983s ok 11 __main__.TestMkenums.test_help 983s # tmpdir: /tmp/tmpd24mys1x 983s # rspfile: False, mkenums: /usr/bin/glib-mkenums 983s # Running: ['/usr/bin/glib-mkenums', '--help'] 983s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 983s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 983s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 983s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 983s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 983s # [--comments COMMENT_TMPL] [--template TEMPLATE] 983s # [--output OUTPUT] [--version] 983s # [args ...] 983s # 983s # positional arguments: 983s # args One or more input files, or a single argument 983s # @rspfile_path pointing to a file that contains the 983s # actual arguments 983s # 983s # options: 983s # -h, --help show this help message and exit 983s # --identifier-prefix IDPREFIX 983s # Identifier prefix 983s # --symbol-prefix SYMPREFIX 983s # Symbol prefix 983s # --fhead FHEAD Output file header 983s # --ftail FTAIL Output file footer 983s # --fprod FPROD Put out TEXT every time a new input file is being 983s # processed. 983s # --eprod EPROD Per enum text, produced prior to value iterations 983s # --vhead VHEAD Value header, produced before iterating over enum 983s # values 983s # --vprod VPROD Value text, produced for each enum value. 983s # --vtail VTAIL Value tail, produced after iterating over enum values 983s # --comments COMMENT_TMPL 983s # Comment structure 983s # --template TEMPLATE Template file 983s # --output OUTPUT 983s # --version, -v Print version information 983s # 983s # Production text substitutions: 983s # @EnumName@ PrefixTheXEnum 983s # @enum_name@ prefix_the_xenum 983s # @ENUMNAME@ PREFIX_THE_XENUM 983s # @ENUMSHORT@ THE_XENUM 983s # @ENUMPREFIX@ PREFIX 983s # @enumsince@ the user-provided since value given 983s # @VALUENAME@ PREFIX_THE_XVALUE 983s # @valuenick@ the-xvalue 983s # @valuenum@ the integer value (limited support, Since: 2.26) 983s # @type@ either enum or flags 983s # @Type@ either Enum or Flags 983s # @TYPE@ either ENUM or FLAGS 983s # @filename@ name of current input file 983s # @basename@ base name of the current input file (Since: 2.22) 984s ok 12 __main__.TestMkenums.test_no_args 984s # tmpdir: /tmp/tmp5xex8vqd 984s # rspfile: False, mkenums: /usr/bin/glib-mkenums 984s # Running: ['/usr/bin/glib-mkenums'] 984s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 984s # 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. */ 984s # 984s # 984s # /* Generated data ends here */ 984s ok 13 __main__.TestMkenums.test_no_headers 984s # tmpdir: /tmp/tmpfl62yrna 984s # rspfile: False, mkenums: /usr/bin/glib-mkenums 984s # /tmp/tmpfl62yrna/tmpklyil2n1.template: 984s # /*** BEGIN file-header ***/ 984s # file-header 984s # /*** END file-header ***/ 984s # 984s # /*** BEGIN file-production ***/ 984s # file-production 984s # filename: @filename@ 984s # basename: @basename@ 984s # /*** END file-production ***/ 984s # 984s # /*** BEGIN enumeration-production ***/ 984s # enumeration-production 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END enumeration-production ***/ 984s # 984s # /*** BEGIN value-header ***/ 984s # value-header 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-header ***/ 984s # 984s # /*** BEGIN value-production ***/ 984s # value-production 984s # VALUENAME: @VALUENAME@ 984s # valuenick: @valuenick@ 984s # valuenum: @valuenum@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-production ***/ 984s # 984s # /*** BEGIN value-tail ***/ 984s # value-tail 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-tail ***/ 984s # 984s # /*** BEGIN comment ***/ 984s # comment 984s # comment: @comment@ 984s # /*** END comment ***/ 984s # 984s # /*** BEGIN file-tail ***/ 984s # file-tail 984s # /*** END file-tail ***/ 984s # 984s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfl62yrna/tmpklyil2n1.template'] 984s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 984s # Output: comment 984s # 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. 984s # 984s # 984s # file-header 984s # file-tail 984s # 984s # comment 984s # comment: Generated data ends here 984s ok 14 __main__.TestMkenums.test_no_nick 984s # tmpdir: /tmp/tmpfz43yiob 984s # rspfile: False, mkenums: /usr/bin/glib-mkenums 984s # /tmp/tmpfz43yiob/tmp3yaa7lw9.h: 984s # typedef enum { 984s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 984s # } GeglSamplerType; 984s # 984s # /tmp/tmpfz43yiob/tmpe_2kfwmz.template: 984s # /*** BEGIN file-header ***/ 984s # file-header 984s # /*** END file-header ***/ 984s # 984s # /*** BEGIN file-production ***/ 984s # file-production 984s # filename: @filename@ 984s # basename: @basename@ 984s # /*** END file-production ***/ 984s # 984s # /*** BEGIN enumeration-production ***/ 984s # enumeration-production 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END enumeration-production ***/ 984s # 984s # /*** BEGIN value-header ***/ 984s # value-header 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-header ***/ 984s # 984s # /*** BEGIN value-production ***/ 984s # value-production 984s # VALUENAME: @VALUENAME@ 984s # valuenick: @valuenick@ 984s # valuenum: @valuenum@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-production ***/ 984s # 984s # /*** BEGIN value-tail ***/ 984s # value-tail 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-tail ***/ 984s # 984s # /*** BEGIN comment ***/ 984s # comment 984s # comment: @comment@ 984s # /*** END comment ***/ 984s # 984s # /*** BEGIN file-tail ***/ 984s # file-tail 984s # /*** END file-tail ***/ 984s # 984s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfz43yiob/tmpe_2kfwmz.template', '/tmp/tmpfz43yiob/tmp3yaa7lw9.h'] 984s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 984s # Output: comment 984s # 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. 984s # 984s # 984s # file-header 984s # file-production 984s # filename: /tmp/tmpfz43yiob/tmp3yaa7lw9.h 984s # basename: tmp3yaa7lw9.h 984s # enumeration-production 984s # EnumName: GeglSamplerType 984s # enum_name: gegl_sampler_type 984s # ENUMNAME: GEGL_SAMPLER_TYPE 984s # ENUMSHORT: SAMPLER_TYPE 984s # ENUMPREFIX: GEGL 984s # enumsince: 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-header 984s # EnumName: GeglSamplerType 984s # enum_name: gegl_sampler_type 984s # ENUMNAME: GEGL_SAMPLER_TYPE 984s # ENUMSHORT: SAMPLER_TYPE 984s # ENUMPREFIX: GEGL 984s # enumsince: 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-production 984s # VALUENAME: GEGL_SAMPLER_NEAREST 984s # valuenick: nearest 984s # valuenum: 0 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-tail 984s # EnumName: GeglSamplerType 984s # enum_name: gegl_sampler_type 984s # ENUMNAME: GEGL_SAMPLER_TYPE 984s # ENUMSHORT: SAMPLER_TYPE 984s # ENUMPREFIX: GEGL 984s # enumsince: 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # file-tail 984s # 984s # comment 984s # comment: Generated data ends here 984s ok 15 __main__.TestMkenums.test_non_utf8_encoding 984s # tmpdir: /tmp/tmppwr2jkg9 984s # rspfile: False, mkenums: /usr/bin/glib-mkenums 984s # /tmp/tmppwr2jkg9/tmpelb0fem5.h: 984s # /* Copyright © La Peña */ 984s # typedef enum { 984s # ENUM_VALUE 984s # } SomeEnumIdentifier; 984s # 984s # /tmp/tmppwr2jkg9/tmpsvwwahta.template: 984s # /*** BEGIN file-header ***/ 984s # file-header 984s # /*** END file-header ***/ 984s # 984s # /*** BEGIN file-production ***/ 984s # file-production 984s # filename: @filename@ 984s # basename: @basename@ 984s # /*** END file-production ***/ 984s # 984s # /*** BEGIN enumeration-production ***/ 984s # enumeration-production 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END enumeration-production ***/ 984s # 984s # /*** BEGIN value-header ***/ 984s # value-header 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-header ***/ 984s # 984s # /*** BEGIN value-production ***/ 984s # value-production 984s # VALUENAME: @VALUENAME@ 984s # valuenick: @valuenick@ 984s # valuenum: @valuenum@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-production ***/ 984s # 984s # /*** BEGIN value-tail ***/ 984s # value-tail 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-tail ***/ 984s # 984s # /*** BEGIN comment ***/ 984s # comment 984s # comment: @comment@ 984s # /*** END comment ***/ 984s # 984s # /*** BEGIN file-tail ***/ 984s # file-tail 984s # /*** END file-tail ***/ 984s # 984s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppwr2jkg9/tmpsvwwahta.template', '/tmp/tmppwr2jkg9/tmpelb0fem5.h'] 984s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 984s # Output: comment 984s # 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. 984s # 984s # 984s # file-header 984s # file-production 984s # filename: /tmp/tmppwr2jkg9/tmpelb0fem5.h 984s # basename: tmpelb0fem5.h 984s # enumeration-production 984s # EnumName: SomeEnumIdentifier 984s # enum_name: some_enum_identifier 984s # ENUMNAME: SOME_ENUM_IDENTIFIER 984s # ENUMSHORT: ENUM_IDENTIFIER 984s # ENUMPREFIX: SOME 984s # enumsince: 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-header 984s # EnumName: SomeEnumIdentifier 984s # enum_name: some_enum_identifier 984s # ENUMNAME: SOME_ENUM_IDENTIFIER 984s # ENUMSHORT: ENUM_IDENTIFIER 984s # ENUMPREFIX: SOME 984s # enumsince: 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-production 984s # VALUENAME: ENUM_VALUE 984s # valuenick: value 984s # valuenum: 0 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-tail 984s # EnumName: SomeEnumIdentifier 984s # enum_name: some_enum_identifier 984s # ENUMNAME: SOME_ENUM_IDENTIFIER 984s # ENUMSHORT: ENUM_IDENTIFIER 984s # ENUMPREFIX: SOME 984s # enumsince: 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # file-tail 984s # 984s # comment 984s # comment: Generated data ends here 984s ok 16 __main__.TestMkenums.test_reproducible 984s # tmpdir: /tmp/tmpxolmd4xx 984s # rspfile: False, mkenums: /usr/bin/glib-mkenums 984s # /tmp/tmpxolmd4xx/tmpy3188nxu.template: template 984s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxolmd4xx/tmpy3188nxu.template', '/tmp/tmpxolmd4xx/tmpguwpn2k21.h', '/tmp/tmpxolmd4xx/tmpqg7ewmlz2.h'] 984s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 984s # 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. */ 984s # 984s # 984s # /* Generated data ends here */ 984s # /tmp/tmpxolmd4xx/tmprop4zem1.template: template 984s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxolmd4xx/tmprop4zem1.template', '/tmp/tmpxolmd4xx/tmpqg7ewmlz2.h', '/tmp/tmpxolmd4xx/tmpguwpn2k21.h'] 984s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 984s # 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. */ 984s # 984s # 984s # /* Generated data ends here */ 984s ok 17 __main__.TestMkenums.test_since 984s # tmpdir: /tmp/tmpmjbqxm7h 984s # rspfile: False, mkenums: /usr/bin/glib-mkenums 984s # /tmp/tmpmjbqxm7h/tmpmeyr3xi7.h: 984s # typedef enum { /*< since=1.0 >*/ 984s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 984s # } QmiWmsMessageProtocol; 984s # 984s # /tmp/tmpmjbqxm7h/tmpihy67cjg.template: 984s # /*** BEGIN file-header ***/ 984s # file-header 984s # /*** END file-header ***/ 984s # 984s # /*** BEGIN file-production ***/ 984s # file-production 984s # filename: @filename@ 984s # basename: @basename@ 984s # /*** END file-production ***/ 984s # 984s # /*** BEGIN enumeration-production ***/ 984s # enumeration-production 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END enumeration-production ***/ 984s # 984s # /*** BEGIN value-header ***/ 984s # value-header 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-header ***/ 984s # 984s # /*** BEGIN value-production ***/ 984s # value-production 984s # VALUENAME: @VALUENAME@ 984s # valuenick: @valuenick@ 984s # valuenum: @valuenum@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-production ***/ 984s # 984s # /*** BEGIN value-tail ***/ 984s # value-tail 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-tail ***/ 984s # 984s # /*** BEGIN comment ***/ 984s # comment 984s # comment: @comment@ 984s # /*** END comment ***/ 984s # 984s # /*** BEGIN file-tail ***/ 984s # file-tail 984s # /*** END file-tail ***/ 984s # 984s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmjbqxm7h/tmpihy67cjg.template', '/tmp/tmpmjbqxm7h/tmpmeyr3xi7.h'] 984s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 984s # Output: comment 984s # 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. 984s # 984s # 984s # file-header 984s # file-production 984s # filename: /tmp/tmpmjbqxm7h/tmpmeyr3xi7.h 984s # basename: tmpmeyr3xi7.h 984s # enumeration-production 984s # EnumName: QmiWmsMessageProtocol 984s # enum_name: qmi_wms_message_protocol 984s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 984s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 984s # ENUMPREFIX: QMI 984s # enumsince: 1.0 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-header 984s # EnumName: QmiWmsMessageProtocol 984s # enum_name: qmi_wms_message_protocol 984s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 984s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 984s # ENUMPREFIX: QMI 984s # enumsince: 1.0 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-production 984s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 984s # valuenick: cdma 984s # valuenum: 0 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-tail 984s # EnumName: QmiWmsMessageProtocol 984s # enum_name: qmi_wms_message_protocol 984s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 984s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 984s # ENUMPREFIX: QMI 984s # enumsince: 1.0 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # file-tail 984s # 984s # comment 984s # comment: Generated data ends here 984s ok 18 __main__.TestMkenums.test_with_double_quotes 984s # tmpdir: /tmp/tmpnbjgsxnk 984s # rspfile: False, mkenums: /usr/bin/glib-mkenums 984s # /tmp/tmpnbjgsxnk/tmp8apzn079.h: 984s # typedef enum { 984s # FOO_VALUE /*< nick="eek, a comma" >*/ 984s # } Foo; 984s # 984s # /tmp/tmpnbjgsxnk/tmpjcfgce8w.template: 984s # /*** BEGIN file-header ***/ 984s # file-header 984s # /*** END file-header ***/ 984s # 984s # /*** BEGIN file-production ***/ 984s # file-production 984s # filename: @filename@ 984s # basename: @basename@ 984s # /*** END file-production ***/ 984s # 984s # /*** BEGIN enumeration-production ***/ 984s # enumeration-production 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END enumeration-production ***/ 984s # 984s # /*** BEGIN value-header ***/ 984s # value-header 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-header ***/ 984s # 984s # /*** BEGIN value-production ***/ 984s # value-production 984s # VALUENAME: @VALUENAME@ 984s # valuenick: @valuenick@ 984s # valuenum: @valuenum@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-production ***/ 984s # 984s # /*** BEGIN value-tail ***/ 984s # value-tail 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-tail ***/ 984s # 984s # /*** BEGIN comment ***/ 984s # comment 984s # comment: @comment@ 984s # /*** END comment ***/ 984s # 984s # /*** BEGIN file-tail ***/ 984s # file-tail 984s # /*** END file-tail ***/ 984s # 984s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnbjgsxnk/tmpjcfgce8w.template', '/tmp/tmpnbjgsxnk/tmp8apzn079.h'] 984s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 984s # Output: comment 984s # 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. 984s # 984s # 984s # file-header 984s # file-production 984s # filename: /tmp/tmpnbjgsxnk/tmp8apzn079.h 984s # basename: tmp8apzn079.h 984s # enumeration-production 984s # EnumName: Foo 984s # enum_name: foo_ 984s # ENUMNAME: FOO_ 984s # ENUMSHORT: 984s # ENUMPREFIX: FOO 984s # enumsince: 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-header 984s # EnumName: Foo 984s # enum_name: foo_ 984s # ENUMNAME: FOO_ 984s # ENUMSHORT: 984s # ENUMPREFIX: FOO 984s # enumsince: 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-production 984s # VALUENAME: FOO_VALUE 984s # valuenick: eek, a comma 984s # valuenum: 0 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-tail 984s # EnumName: Foo 984s # enum_name: foo_ 984s # ENUMNAME: FOO_ 984s # ENUMSHORT: 984s # ENUMPREFIX: FOO 984s # enumsince: 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # file-tail 984s # 984s # comment 984s # comment: Generated data ends here 984s ok 19 __main__.TestRspMkenums.test_available_in 984s # tmpdir: /tmp/tmpyihssj3y 984s # rspfile: True, mkenums: /usr/bin/glib-mkenums 984s # /tmp/tmpyihssj3y/tmpm1vq3uqt.h: 984s # typedef enum { 984s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 984s # } GDBusServerFlags; 984s # 984s # /tmp/tmpyihssj3y/tmprbwwlq8r.template: 984s # /*** BEGIN file-header ***/ 984s # file-header 984s # /*** END file-header ***/ 984s # 984s # /*** BEGIN file-production ***/ 984s # file-production 984s # filename: @filename@ 984s # basename: @basename@ 984s # /*** END file-production ***/ 984s # 984s # /*** BEGIN enumeration-production ***/ 984s # enumeration-production 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END enumeration-production ***/ 984s # 984s # /*** BEGIN value-header ***/ 984s # value-header 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-header ***/ 984s # 984s # /*** BEGIN value-production ***/ 984s # value-production 984s # VALUENAME: @VALUENAME@ 984s # valuenick: @valuenick@ 984s # valuenum: @valuenum@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-production ***/ 984s # 984s # /*** BEGIN value-tail ***/ 984s # value-tail 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-tail ***/ 984s # 984s # /*** BEGIN comment ***/ 984s # comment 984s # comment: @comment@ 984s # /*** END comment ***/ 984s # 984s # /*** BEGIN file-tail ***/ 984s # file-tail 984s # /*** END file-tail ***/ 984s # 984s # Response file contains: --template /tmp/tmpyihssj3y/tmprbwwlq8r.template /tmp/tmpyihssj3y/tmpm1vq3uqt.h 984s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyihssj3y/tmpdl_662zq'] 984s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 984s # Output: comment 984s # 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. 984s # 984s # 984s # file-header 984s # file-production 984s # filename: /tmp/tmpyihssj3y/tmpm1vq3uqt.h 984s # basename: tmpm1vq3uqt.h 984s # enumeration-production 984s # EnumName: GDBusServerFlags 984s # enum_name: g_dbus_server_flags 984s # ENUMNAME: G_DBUS_SERVER_FLAGS 984s # ENUMSHORT: DBUS_SERVER_FLAGS 984s # ENUMPREFIX: G 984s # enumsince: 984s # type: flags 984s # Type: Flags 984s # TYPE: FLAGS 984s # value-header 984s # EnumName: GDBusServerFlags 984s # enum_name: g_dbus_server_flags 984s # ENUMNAME: G_DBUS_SERVER_FLAGS 984s # ENUMSHORT: DBUS_SERVER_FLAGS 984s # ENUMPREFIX: G 984s # enumsince: 984s # type: flags 984s # Type: Flags 984s # TYPE: FLAGS 984s # value-production 984s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 984s # valuenick: user 984s # valuenum: 4 984s # type: flags 984s # Type: Flags 984s # TYPE: FLAGS 984s # value-tail 984s # EnumName: GDBusServerFlags 984s # enum_name: g_dbus_server_flags 984s # ENUMNAME: G_DBUS_SERVER_FLAGS 984s # ENUMSHORT: DBUS_SERVER_FLAGS 984s # ENUMPREFIX: G 984s # enumsince: 984s # type: flags 984s # Type: Flags 984s # TYPE: FLAGS 984s # file-tail 984s # 984s # comment 984s # comment: Generated data ends here 984s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 984s # tmpdir: /tmp/tmpsyh4bbum 984s # rspfile: True, mkenums: /usr/bin/glib-mkenums 984s # /tmp/tmpsyh4bbum/tmpa1gbhh9p.h: 984s # typedef enum { 984s # ENUM_VALUE_WITH_COMMA = ',', 984s # } TestCommaEnum; 984s # 984s # /tmp/tmpsyh4bbum/tmpj2ex2y12.template: 984s # /*** BEGIN file-header ***/ 984s # file-header 984s # /*** END file-header ***/ 984s # 984s # /*** BEGIN file-production ***/ 984s # file-production 984s # filename: @filename@ 984s # basename: @basename@ 984s # /*** END file-production ***/ 984s # 984s # /*** BEGIN enumeration-production ***/ 984s # enumeration-production 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END enumeration-production ***/ 984s # 984s # /*** BEGIN value-header ***/ 984s # value-header 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-header ***/ 984s # 984s # /*** BEGIN value-production ***/ 984s # value-production 984s # VALUENAME: @VALUENAME@ 984s # valuenick: @valuenick@ 984s # valuenum: @valuenum@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-production ***/ 984s # 984s # /*** BEGIN value-tail ***/ 984s # value-tail 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-tail ***/ 984s # 984s # /*** BEGIN comment ***/ 984s # comment 984s # comment: @comment@ 984s # /*** END comment ***/ 984s # 984s # /*** BEGIN file-tail ***/ 984s # file-tail 984s # /*** END file-tail ***/ 984s # 984s # Response file contains: --template /tmp/tmpsyh4bbum/tmpj2ex2y12.template /tmp/tmpsyh4bbum/tmpa1gbhh9p.h 984s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsyh4bbum/tmpnqwfbidz'] 984s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 984s # Output: comment 984s # 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. 984s # 984s # 984s # file-header 984s # file-production 984s # filename: /tmp/tmpsyh4bbum/tmpa1gbhh9p.h 984s # basename: tmpa1gbhh9p.h 984s # enumeration-production 984s # EnumName: TestCommaEnum 984s # enum_name: test_comma_enum 984s # ENUMNAME: TEST_COMMA_ENUM 984s # ENUMSHORT: COMMA_ENUM 984s # ENUMPREFIX: TEST 984s # enumsince: 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-header 984s # EnumName: TestCommaEnum 984s # enum_name: test_comma_enum 984s # ENUMNAME: TEST_COMMA_ENUM 984s # ENUMSHORT: COMMA_ENUM 984s # ENUMPREFIX: TEST 984s # enumsince: 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-production 984s # VALUENAME: ENUM_VALUE_WITH_COMMA 984s # valuenick: comma 984s # valuenum: 44 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # value-tail 984s # EnumName: TestCommaEnum 984s # enum_name: test_comma_enum 984s # ENUMNAME: TEST_COMMA_ENUM 984s # ENUMSHORT: COMMA_ENUM 984s # ENUMPREFIX: TEST 984s # enumsince: 984s # type: enum 984s # Type: Enum 984s # TYPE: ENUM 984s # file-tail 984s # 984s # comment 984s # comment: Generated data ends here 984s ok 21 __main__.TestRspMkenums.test_deprecated_in 984s # tmpdir: /tmp/tmptcldmzrh 984s # rspfile: True, mkenums: /usr/bin/glib-mkenums 984s # /tmp/tmptcldmzrh/tmpgagwlw_p.h: 984s # typedef enum { 984s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 984s # } GDBusServerFlags; 984s # 984s # /tmp/tmptcldmzrh/tmpw8s1tmg1.template: 984s # /*** BEGIN file-header ***/ 984s # file-header 984s # /*** END file-header ***/ 984s # 984s # /*** BEGIN file-production ***/ 984s # file-production 984s # filename: @filename@ 984s # basename: @basename@ 984s # /*** END file-production ***/ 984s # 984s # /*** BEGIN enumeration-production ***/ 984s # enumeration-production 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END enumeration-production ***/ 984s # 984s # /*** BEGIN value-header ***/ 984s # value-header 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-header ***/ 984s # 984s # /*** BEGIN value-production ***/ 984s # value-production 984s # VALUENAME: @VALUENAME@ 984s # valuenick: @valuenick@ 984s # valuenum: @valuenum@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-production ***/ 984s # 984s # /*** BEGIN value-tail ***/ 984s # value-tail 984s # EnumName: @EnumName@ 984s # enum_name: @enum_name@ 984s # ENUMNAME: @ENUMNAME@ 984s # ENUMSHORT: @ENUMSHORT@ 984s # ENUMPREFIX: @ENUMPREFIX@ 984s # enumsince: @enumsince@ 984s # type: @type@ 984s # Type: @Type@ 984s # TYPE: @TYPE@ 984s # /*** END value-tail ***/ 984s # 984s # /*** BEGIN comment ***/ 984s # comment 984s # comment: @comment@ 984s # /*** END comment ***/ 984s # 984s # /*** BEGIN file-tail ***/ 984s # file-tail 984s # /*** END file-tail ***/ 984s # 984s # Response file contains: --template /tmp/tmptcldmzrh/tmpw8s1tmg1.template /tmp/tmptcldmzrh/tmpgagwlw_p.h 984s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptcldmzrh/tmps9ch1ds_'] 984s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 984s # Output: comment 984s # 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. 984s # 984s # 984s # file-header 984s # file-production 984s # filename: /tmp/tmptcldmzrh/tmpgagwlw_p.h 984s # basename: tmpgagwlw_p.h 984s # enumeration-production 984s # EnumName: GDBusServerFlags 984s # enum_name: g_dbus_server_flags 984s # ENUMNAME: G_DBUS_SERVER_FLAGS 984s # ENUMSHORT: DBUS_SERVER_FLAGS 984s # ENUMPREFIX: G 984s # enumsince: 984s # type: flags 984s # Type: Flags 984s # TYPE: FLAGS 984s # value-header 984s # EnumName: GDBusServerFlags 984s # enum_name: g_dbus_server_flags 984s # ENUMNAME: G_DBUS_SERVER_FLAGS 984s # ENUMSHORT: DBUS_SERVER_FLAGS 984s # ENUMPREFIX: G 984s # enumsince: 984s # type: flags 984s # Type: Flags 984s # TYPE: FLAGS 984s # value-production 984s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 984s # valuenick: user 984s # valuenum: 4 984s # type: flags 984s # Type: Flags 984s # TYPE: FLAGS 984s # value-tail 984s # EnumName: GDBusServerFlags 984s # enum_name: g_dbus_server_flags 984s # ENUMNAME: G_DBUS_SERVER_FLAGS 984s # ENUMSHORT: DBUS_SERVER_FLAGS 984s # ENUMPREFIX: G 984s # enumsince: 984s # type: flags 984s # Type: Flags 984s # TYPE: FLAGS 984s # file-tail 984s # 984s # comment 984s # comment: Generated data ends here 985s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 985s # tmpdir: /tmp/tmpymymh1ad 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmpymymh1ad/tmp2pdjra6n.h: 985s # typedef enum { 985s # 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) 985s # } GDBusServerFlags; 985s # 985s # /tmp/tmpymymh1ad/tmp7knv3h75.template: 985s # /*** BEGIN file-header ***/ 985s # file-header 985s # /*** END file-header ***/ 985s # 985s # /*** BEGIN file-production ***/ 985s # file-production 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-production ***/ 985s # 985s # /*** BEGIN enumeration-production ***/ 985s # enumeration-production 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END enumeration-production ***/ 985s # 985s # /*** BEGIN value-header ***/ 985s # value-header 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-header ***/ 985s # 985s # /*** BEGIN value-production ***/ 985s # value-production 985s # VALUENAME: @VALUENAME@ 985s # valuenick: @valuenick@ 985s # valuenum: @valuenum@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-production ***/ 985s # 985s # /*** BEGIN value-tail ***/ 985s # value-tail 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-tail ***/ 985s # 985s # /*** BEGIN comment ***/ 985s # comment 985s # comment: @comment@ 985s # /*** END comment ***/ 985s # 985s # /*** BEGIN file-tail ***/ 985s # file-tail 985s # /*** END file-tail ***/ 985s # 985s # Response file contains: --template /tmp/tmpymymh1ad/tmp7knv3h75.template /tmp/tmpymymh1ad/tmp2pdjra6n.h 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpymymh1ad/tmpkt735ovs'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: comment 985s # 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. 985s # 985s # 985s # file-header 985s # file-production 985s # filename: /tmp/tmpymymh1ad/tmp2pdjra6n.h 985s # basename: tmp2pdjra6n.h 985s # enumeration-production 985s # EnumName: GDBusServerFlags 985s # enum_name: g_dbus_server_flags 985s # ENUMNAME: G_DBUS_SERVER_FLAGS 985s # ENUMSHORT: DBUS_SERVER_FLAGS 985s # ENUMPREFIX: G 985s # enumsince: 985s # type: flags 985s # Type: Flags 985s # TYPE: FLAGS 985s # value-header 985s # EnumName: GDBusServerFlags 985s # enum_name: g_dbus_server_flags 985s # ENUMNAME: G_DBUS_SERVER_FLAGS 985s # ENUMSHORT: DBUS_SERVER_FLAGS 985s # ENUMPREFIX: G 985s # enumsince: 985s # type: flags 985s # Type: Flags 985s # TYPE: FLAGS 985s # value-production 985s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 985s # valuenick: user 985s # valuenum: 4 985s # type: flags 985s # Type: Flags 985s # TYPE: FLAGS 985s # value-tail 985s # EnumName: GDBusServerFlags 985s # enum_name: g_dbus_server_flags 985s # ENUMNAME: G_DBUS_SERVER_FLAGS 985s # ENUMSHORT: DBUS_SERVER_FLAGS 985s # ENUMPREFIX: G 985s # enumsince: 985s # type: flags 985s # Type: Flags 985s # TYPE: FLAGS 985s # file-tail 985s # 985s # comment 985s # comment: Generated data ends here 985s ok 23 __main__.TestRspMkenums.test_empty_header 985s # tmpdir: /tmp/tmpwb5stq53 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmpwb5stq53/tmpk99xb7wj.h: 985s # /tmp/tmpwb5stq53/tmpsgr6xvf6.template: 985s # /*** BEGIN file-header ***/ 985s # file-header 985s # /*** END file-header ***/ 985s # 985s # /*** BEGIN file-production ***/ 985s # file-production 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-production ***/ 985s # 985s # /*** BEGIN enumeration-production ***/ 985s # enumeration-production 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END enumeration-production ***/ 985s # 985s # /*** BEGIN value-header ***/ 985s # value-header 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-header ***/ 985s # 985s # /*** BEGIN value-production ***/ 985s # value-production 985s # VALUENAME: @VALUENAME@ 985s # valuenick: @valuenick@ 985s # valuenum: @valuenum@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-production ***/ 985s # 985s # /*** BEGIN value-tail ***/ 985s # value-tail 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-tail ***/ 985s # 985s # /*** BEGIN comment ***/ 985s # comment 985s # comment: @comment@ 985s # /*** END comment ***/ 985s # 985s # /*** BEGIN file-tail ***/ 985s # file-tail 985s # /*** END file-tail ***/ 985s # 985s # Response file contains: --template /tmp/tmpwb5stq53/tmpsgr6xvf6.template /tmp/tmpwb5stq53/tmpk99xb7wj.h 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwb5stq53/tmpzo7vyfrp'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: comment 985s # 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. 985s # 985s # 985s # file-header 985s # file-tail 985s # 985s # comment 985s # comment: Generated data ends here 985s ok 24 __main__.TestRspMkenums.test_empty_template 985s # tmpdir: /tmp/tmp8yk1w9ts 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmp8yk1w9ts/tmprot9xkrv.template: 985s # Response file contains: --template /tmp/tmp8yk1w9ts/tmprot9xkrv.template 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8yk1w9ts/tmpqtam7og4'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # 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. */ 985s # 985s # 985s # /* Generated data ends here */ 985s ok 25 __main__.TestRspMkenums.test_enum_name 985s # tmpdir: /tmp/tmpo3uqt6ci 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmpo3uqt6ci/tmp6xl3l678.h: 985s # typedef enum _SomeEnumIdentifier { 985s # ENUM_VALUE 985s # } SomeEnumIdentifier; 985s # 985s # /tmp/tmpo3uqt6ci/tmply65mqog.template: 985s # /*** BEGIN file-header ***/ 985s # file-header 985s # /*** END file-header ***/ 985s # 985s # /*** BEGIN file-production ***/ 985s # file-production 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-production ***/ 985s # 985s # /*** BEGIN enumeration-production ***/ 985s # enumeration-production 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END enumeration-production ***/ 985s # 985s # /*** BEGIN value-header ***/ 985s # value-header 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-header ***/ 985s # 985s # /*** BEGIN value-production ***/ 985s # value-production 985s # VALUENAME: @VALUENAME@ 985s # valuenick: @valuenick@ 985s # valuenum: @valuenum@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-production ***/ 985s # 985s # /*** BEGIN value-tail ***/ 985s # value-tail 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-tail ***/ 985s # 985s # /*** BEGIN comment ***/ 985s # comment 985s # comment: @comment@ 985s # /*** END comment ***/ 985s # 985s # /*** BEGIN file-tail ***/ 985s # file-tail 985s # /*** END file-tail ***/ 985s # 985s # Response file contains: --template /tmp/tmpo3uqt6ci/tmply65mqog.template /tmp/tmpo3uqt6ci/tmp6xl3l678.h 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpo3uqt6ci/tmpb1wr_hfb'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: comment 985s # 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. 985s # 985s # 985s # file-header 985s # file-production 985s # filename: /tmp/tmpo3uqt6ci/tmp6xl3l678.h 985s # basename: tmp6xl3l678.h 985s # enumeration-production 985s # EnumName: SomeEnumIdentifier 985s # enum_name: some_enum_identifier 985s # ENUMNAME: SOME_ENUM_IDENTIFIER 985s # ENUMSHORT: ENUM_IDENTIFIER 985s # ENUMPREFIX: SOME 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-header 985s # EnumName: SomeEnumIdentifier 985s # enum_name: some_enum_identifier 985s # ENUMNAME: SOME_ENUM_IDENTIFIER 985s # ENUMSHORT: ENUM_IDENTIFIER 985s # ENUMPREFIX: SOME 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-production 985s # VALUENAME: ENUM_VALUE 985s # valuenick: value 985s # valuenum: 0 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-tail 985s # EnumName: SomeEnumIdentifier 985s # enum_name: some_enum_identifier 985s # ENUMNAME: SOME_ENUM_IDENTIFIER 985s # ENUMSHORT: ENUM_IDENTIFIER 985s # ENUMPREFIX: SOME 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # file-tail 985s # 985s # comment 985s # comment: Generated data ends here 985s ok 26 __main__.TestRspMkenums.test_enum_private_public 985s # tmpdir: /tmp/tmpntw4du1d 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmpntw4du1d/tmp7f7r1jee.h: 985s # typedef enum { 985s # ENUM_VALUE_PUBLIC1, 985s # /*< private >*/ 985s # ENUM_VALUE_PRIVATE, 985s # } SomeEnumA 985s # 985s # /tmp/tmpntw4du1d/tmp586erx8h.template: 985s # /*** BEGIN file-header ***/ 985s # file-header 985s # /*** END file-header ***/ 985s # 985s # /*** BEGIN file-production ***/ 985s # file-production 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-production ***/ 985s # 985s # /*** BEGIN enumeration-production ***/ 985s # enumeration-production 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END enumeration-production ***/ 985s # 985s # /*** BEGIN value-header ***/ 985s # value-header 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-header ***/ 985s # 985s # /*** BEGIN value-production ***/ 985s # value-production 985s # VALUENAME: @VALUENAME@ 985s # valuenick: @valuenick@ 985s # valuenum: @valuenum@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-production ***/ 985s # 985s # /*** BEGIN value-tail ***/ 985s # value-tail 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-tail ***/ 985s # 985s # /*** BEGIN comment ***/ 985s # comment 985s # comment: @comment@ 985s # /*** END comment ***/ 985s # 985s # /*** BEGIN file-tail ***/ 985s # file-tail 985s # /*** END file-tail ***/ 985s # 985s # Response file contains: --template /tmp/tmpntw4du1d/tmp586erx8h.template /tmp/tmpntw4du1d/tmp7f7r1jee.h 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpntw4du1d/tmp9nmqbeqj'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: comment 985s # 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. 985s # 985s # 985s # file-header 985s # file-production 985s # filename: /tmp/tmpntw4du1d/tmp7f7r1jee.h 985s # basename: tmp7f7r1jee.h 985s # enumeration-production 985s # EnumName: SomeEnumA 985s # enum_name: some_enum_a 985s # ENUMNAME: SOME_ENUM_A 985s # ENUMSHORT: ENUM_A 985s # ENUMPREFIX: SOME 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-header 985s # EnumName: SomeEnumA 985s # enum_name: some_enum_a 985s # ENUMNAME: SOME_ENUM_A 985s # ENUMSHORT: ENUM_A 985s # ENUMPREFIX: SOME 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-production 985s # VALUENAME: ENUM_VALUE_PUBLIC1 985s # valuenick: public1 985s # valuenum: 0 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-tail 985s # EnumName: SomeEnumA 985s # enum_name: some_enum_a 985s # ENUMNAME: SOME_ENUM_A 985s # ENUMSHORT: ENUM_A 985s # ENUMPREFIX: SOME 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # file-tail 985s # 985s # comment 985s # comment: Generated data ends here 985s # /tmp/tmpntw4du1d/tmpzkoyk91s.h: 985s # typedef enum { 985s # /*< private >*/ 985s # ENUM_VALUE_PRIVATE, 985s # /*< public >*/ 985s # ENUM_VALUE_PUBLIC2, 985s # } SomeEnumB; 985s # 985s # /tmp/tmpntw4du1d/tmpsjw473aj.template: 985s # /*** BEGIN file-header ***/ 985s # file-header 985s # /*** END file-header ***/ 985s # 985s # /*** BEGIN file-production ***/ 985s # file-production 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-production ***/ 985s # 985s # /*** BEGIN enumeration-production ***/ 985s # enumeration-production 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END enumeration-production ***/ 985s # 985s # /*** BEGIN value-header ***/ 985s # value-header 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-header ***/ 985s # 985s # /*** BEGIN value-production ***/ 985s # value-production 985s # VALUENAME: @VALUENAME@ 985s # valuenick: @valuenick@ 985s # valuenum: @valuenum@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-production ***/ 985s # 985s # /*** BEGIN value-tail ***/ 985s # value-tail 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-tail ***/ 985s # 985s # /*** BEGIN comment ***/ 985s # comment 985s # comment: @comment@ 985s # /*** END comment ***/ 985s # 985s # /*** BEGIN file-tail ***/ 985s # file-tail 985s # /*** END file-tail ***/ 985s # 985s # Response file contains: --template /tmp/tmpntw4du1d/tmpsjw473aj.template /tmp/tmpntw4du1d/tmpzkoyk91s.h 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpntw4du1d/tmpega0dozz'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: comment 985s # 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. 985s # 985s # 985s # file-header 985s # file-production 985s # filename: /tmp/tmpntw4du1d/tmpzkoyk91s.h 985s # basename: tmpzkoyk91s.h 985s # enumeration-production 985s # EnumName: SomeEnumB 985s # enum_name: some_enum_b 985s # ENUMNAME: SOME_ENUM_B 985s # ENUMSHORT: ENUM_B 985s # ENUMPREFIX: SOME 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-header 985s # EnumName: SomeEnumB 985s # enum_name: some_enum_b 985s # ENUMNAME: SOME_ENUM_B 985s # ENUMSHORT: ENUM_B 985s # ENUMPREFIX: SOME 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-production 985s # VALUENAME: ENUM_VALUE_PUBLIC2 985s # valuenick: public2 985s # valuenum: 1 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-tail 985s # EnumName: SomeEnumB 985s # enum_name: some_enum_b 985s # ENUMNAME: SOME_ENUM_B 985s # ENUMSHORT: ENUM_B 985s # ENUMPREFIX: SOME 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # file-tail 985s # 985s # comment 985s # comment: Generated data ends here 985s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 985s # tmpdir: /tmp/tmpte3bs_f7 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmpte3bs_f7/tmpzxpku0nh.h: 985s # typedef enum { 985s # /*< private >*/ 985s # ENUM_VALUE_PRIVATE = 5, 985s # /*< public >*/ 985s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 985s # } TestSymbolicEnum; 985s # 985s # /tmp/tmpte3bs_f7/tmpi8z86fmb.template: 985s # /*** BEGIN file-header ***/ 985s # file-header 985s # /*** END file-header ***/ 985s # 985s # /*** BEGIN file-production ***/ 985s # file-production 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-production ***/ 985s # 985s # /*** BEGIN enumeration-production ***/ 985s # enumeration-production 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END enumeration-production ***/ 985s # 985s # /*** BEGIN value-header ***/ 985s # value-header 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-header ***/ 985s # 985s # /*** BEGIN value-production ***/ 985s # value-production 985s # VALUENAME: @VALUENAME@ 985s # valuenick: @valuenick@ 985s # valuenum: @valuenum@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-production ***/ 985s # 985s # /*** BEGIN value-tail ***/ 985s # value-tail 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-tail ***/ 985s # 985s # /*** BEGIN comment ***/ 985s # comment 985s # comment: @comment@ 985s # /*** END comment ***/ 985s # 985s # /*** BEGIN file-tail ***/ 985s # file-tail 985s # /*** END file-tail ***/ 985s # 985s # Response file contains: --template /tmp/tmpte3bs_f7/tmpi8z86fmb.template /tmp/tmpte3bs_f7/tmpzxpku0nh.h 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpte3bs_f7/tmp881ix11p'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: comment 985s # 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. 985s # 985s # 985s # file-header 985s # file-production 985s # filename: /tmp/tmpte3bs_f7/tmpzxpku0nh.h 985s # basename: tmpzxpku0nh.h 985s # enumeration-production 985s # EnumName: TestSymbolicEnum 985s # enum_name: test_symbolic_enum 985s # ENUMNAME: TEST_SYMBOLIC_ENUM 985s # ENUMSHORT: SYMBOLIC_ENUM 985s # ENUMPREFIX: TEST 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-header 985s # EnumName: TestSymbolicEnum 985s # enum_name: test_symbolic_enum 985s # ENUMNAME: TEST_SYMBOLIC_ENUM 985s # ENUMSHORT: SYMBOLIC_ENUM 985s # ENUMPREFIX: TEST 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-production 985s # VALUENAME: ENUM_VALUE_PUBLIC 985s # valuenick: public 985s # valuenum: 7 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-tail 985s # EnumName: TestSymbolicEnum 985s # enum_name: test_symbolic_enum 985s # ENUMNAME: TEST_SYMBOLIC_ENUM 985s # ENUMSHORT: SYMBOLIC_ENUM 985s # ENUMPREFIX: TEST 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # file-tail 985s # 985s # comment 985s # comment: Generated data ends here 985s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 985s # tmpdir: /tmp/tmplt6nd58u 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmplt6nd58u/tmpg0v11id4.template: 985s # /*** BEGIN file-header ***/ 985s # file-header 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-header ***/ 985s # 985s # /*** BEGIN comment ***/ 985s # comment 985s # comment: @comment@ 985s # /*** END comment ***/ 985s # 985s # /*** BEGIN file-tail ***/ 985s # file-tail 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-tail ***/ 985s # Response file contains: --template /tmp/tmplt6nd58u/tmpg0v11id4.template 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplt6nd58u/tmpz_kbouvm'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: comment 985s # 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. 985s # 985s # 985s # file-header 985s # filename: @filename@ 985s # basename: @basename@ 985s # file-tail 985s # filename: @filename@ 985s # basename: @basename@ 985s # 985s # comment 985s # comment: Generated data ends here 985s ok 29 __main__.TestRspMkenums.test_help 985s # tmpdir: /tmp/tmphtr_lhos 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # Response file contains: --help 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphtr_lhos/tmp9bkl9_cf'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 985s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 985s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 985s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 985s # [--comments COMMENT_TMPL] [--template TEMPLATE] 985s # [--output OUTPUT] [--version] 985s # [args ...] 985s # 985s # positional arguments: 985s # args One or more input files, or a single argument 985s # @rspfile_path pointing to a file that contains the 985s # actual arguments 985s # 985s # options: 985s # -h, --help show this help message and exit 985s # --identifier-prefix IDPREFIX 985s # Identifier prefix 985s # --symbol-prefix SYMPREFIX 985s # Symbol prefix 985s # --fhead FHEAD Output file header 985s # --ftail FTAIL Output file footer 985s # --fprod FPROD Put out TEXT every time a new input file is being 985s # processed. 985s # --eprod EPROD Per enum text, produced prior to value iterations 985s # --vhead VHEAD Value header, produced before iterating over enum 985s # values 985s # --vprod VPROD Value text, produced for each enum value. 985s # --vtail VTAIL Value tail, produced after iterating over enum values 985s # --comments COMMENT_TMPL 985s # Comment structure 985s # --template TEMPLATE Template file 985s # --output OUTPUT 985s # --version, -v Print version information 985s # 985s # Production text substitutions: 985s # @EnumName@ PrefixTheXEnum 985s # @enum_name@ prefix_the_xenum 985s # @ENUMNAME@ PREFIX_THE_XENUM 985s # @ENUMSHORT@ THE_XENUM 985s # @ENUMPREFIX@ PREFIX 985s # @enumsince@ the user-provided since value given 985s # @VALUENAME@ PREFIX_THE_XVALUE 985s # @valuenick@ the-xvalue 985s # @valuenum@ the integer value (limited support, Since: 2.26) 985s # @type@ either enum or flags 985s # @Type@ either Enum or Flags 985s # @TYPE@ either ENUM or FLAGS 985s # @filename@ name of current input file 985s # @basename@ base name of the current input file (Since: 2.22) 985s ok 30 __main__.TestRspMkenums.test_no_args 985s # tmpdir: /tmp/tmpuu9qmszj 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # Response file contains: 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpuu9qmszj/tmp1_a3krcg'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # 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. */ 985s # 985s # 985s # /* Generated data ends here */ 985s ok 31 __main__.TestRspMkenums.test_no_headers 985s # tmpdir: /tmp/tmp6jmiayqe 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmp6jmiayqe/tmpuxa0iuoa.template: 985s # /*** BEGIN file-header ***/ 985s # file-header 985s # /*** END file-header ***/ 985s # 985s # /*** BEGIN file-production ***/ 985s # file-production 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-production ***/ 985s # 985s # /*** BEGIN enumeration-production ***/ 985s # enumeration-production 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END enumeration-production ***/ 985s # 985s # /*** BEGIN value-header ***/ 985s # value-header 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-header ***/ 985s # 985s # /*** BEGIN value-production ***/ 985s # value-production 985s # VALUENAME: @VALUENAME@ 985s # valuenick: @valuenick@ 985s # valuenum: @valuenum@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-production ***/ 985s # 985s # /*** BEGIN value-tail ***/ 985s # value-tail 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-tail ***/ 985s # 985s # /*** BEGIN comment ***/ 985s # comment 985s # comment: @comment@ 985s # /*** END comment ***/ 985s # 985s # /*** BEGIN file-tail ***/ 985s # file-tail 985s # /*** END file-tail ***/ 985s # 985s # Response file contains: --template /tmp/tmp6jmiayqe/tmpuxa0iuoa.template 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6jmiayqe/tmptmamq3le'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: comment 985s # 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. 985s # 985s # 985s # file-header 985s # file-tail 985s # 985s # comment 985s # comment: Generated data ends here 985s ok 32 __main__.TestRspMkenums.test_no_nick 985s # tmpdir: /tmp/tmpmuxwzfu4 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmpmuxwzfu4/tmpgfare2v9.h: 985s # typedef enum { 985s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 985s # } GeglSamplerType; 985s # 985s # /tmp/tmpmuxwzfu4/tmpn_hf7k7y.template: 985s # /*** BEGIN file-header ***/ 985s # file-header 985s # /*** END file-header ***/ 985s # 985s # /*** BEGIN file-production ***/ 985s # file-production 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-production ***/ 985s # 985s # /*** BEGIN enumeration-production ***/ 985s # enumeration-production 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END enumeration-production ***/ 985s # 985s # /*** BEGIN value-header ***/ 985s # value-header 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-header ***/ 985s # 985s # /*** BEGIN value-production ***/ 985s # value-production 985s # VALUENAME: @VALUENAME@ 985s # valuenick: @valuenick@ 985s # valuenum: @valuenum@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-production ***/ 985s # 985s # /*** BEGIN value-tail ***/ 985s # value-tail 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-tail ***/ 985s # 985s # /*** BEGIN comment ***/ 985s # comment 985s # comment: @comment@ 985s # /*** END comment ***/ 985s # 985s # /*** BEGIN file-tail ***/ 985s # file-tail 985s # /*** END file-tail ***/ 985s # 985s # Response file contains: --template /tmp/tmpmuxwzfu4/tmpn_hf7k7y.template /tmp/tmpmuxwzfu4/tmpgfare2v9.h 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmuxwzfu4/tmpm2kzg4qy'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: comment 985s # 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. 985s # 985s # 985s # file-header 985s # file-production 985s # filename: /tmp/tmpmuxwzfu4/tmpgfare2v9.h 985s # basename: tmpgfare2v9.h 985s # enumeration-production 985s # EnumName: GeglSamplerType 985s # enum_name: gegl_sampler_type 985s # ENUMNAME: GEGL_SAMPLER_TYPE 985s # ENUMSHORT: SAMPLER_TYPE 985s # ENUMPREFIX: GEGL 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-header 985s # EnumName: GeglSamplerType 985s # enum_name: gegl_sampler_type 985s # ENUMNAME: GEGL_SAMPLER_TYPE 985s # ENUMSHORT: SAMPLER_TYPE 985s # ENUMPREFIX: GEGL 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-production 985s # VALUENAME: GEGL_SAMPLER_NEAREST 985s # valuenick: nearest 985s # valuenum: 0 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-tail 985s # EnumName: GeglSamplerType 985s # enum_name: gegl_sampler_type 985s # ENUMNAME: GEGL_SAMPLER_TYPE 985s # ENUMSHORT: SAMPLER_TYPE 985s # ENUMPREFIX: GEGL 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # file-tail 985s # 985s # comment 985s # comment: Generated data ends here 985s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 985s # tmpdir: /tmp/tmptknu9rb1 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmptknu9rb1/tmpf6f85x2y.h: 985s # /* Copyright © La Peña */ 985s # typedef enum { 985s # ENUM_VALUE 985s # } SomeEnumIdentifier; 985s # 985s # /tmp/tmptknu9rb1/tmpeb36hn10.template: 985s # /*** BEGIN file-header ***/ 985s # file-header 985s # /*** END file-header ***/ 985s # 985s # /*** BEGIN file-production ***/ 985s # file-production 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-production ***/ 985s # 985s # /*** BEGIN enumeration-production ***/ 985s # enumeration-production 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END enumeration-production ***/ 985s # 985s # /*** BEGIN value-header ***/ 985s # value-header 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-header ***/ 985s # 985s # /*** BEGIN value-production ***/ 985s # value-production 985s # VALUENAME: @VALUENAME@ 985s # valuenick: @valuenick@ 985s # valuenum: @valuenum@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-production ***/ 985s # 985s # /*** BEGIN value-tail ***/ 985s # value-tail 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-tail ***/ 985s # 985s # /*** BEGIN comment ***/ 985s # comment 985s # comment: @comment@ 985s # /*** END comment ***/ 985s # 985s # /*** BEGIN file-tail ***/ 985s # file-tail 985s # /*** END file-tail ***/ 985s # 985s # Response file contains: --template /tmp/tmptknu9rb1/tmpeb36hn10.template /tmp/tmptknu9rb1/tmpf6f85x2y.h 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptknu9rb1/tmp4bs3dj7j'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: comment 985s # 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. 985s # 985s # 985s # file-header 985s # file-production 985s # filename: /tmp/tmptknu9rb1/tmpf6f85x2y.h 985s # basename: tmpf6f85x2y.h 985s # enumeration-production 985s # EnumName: SomeEnumIdentifier 985s # enum_name: some_enum_identifier 985s # ENUMNAME: SOME_ENUM_IDENTIFIER 985s # ENUMSHORT: ENUM_IDENTIFIER 985s # ENUMPREFIX: SOME 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-header 985s # EnumName: SomeEnumIdentifier 985s # enum_name: some_enum_identifier 985s # ENUMNAME: SOME_ENUM_IDENTIFIER 985s # ENUMSHORT: ENUM_IDENTIFIER 985s # ENUMPREFIX: SOME 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-production 985s # VALUENAME: ENUM_VALUE 985s # valuenick: value 985s # valuenum: 0 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-tail 985s # EnumName: SomeEnumIdentifier 985s # enum_name: some_enum_identifier 985s # ENUMNAME: SOME_ENUM_IDENTIFIER 985s # ENUMSHORT: ENUM_IDENTIFIER 985s # ENUMPREFIX: SOME 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # file-tail 985s # 985s # comment 985s # comment: Generated data ends here 985s ok 34 __main__.TestRspMkenums.test_reproducible 985s # tmpdir: /tmp/tmpayvhmoxg 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmpayvhmoxg/tmp4jstv170.template: template 985s # Response file contains: --template /tmp/tmpayvhmoxg/tmp4jstv170.template /tmp/tmpayvhmoxg/tmp1ienrfgb1.h /tmp/tmpayvhmoxg/tmpcnag2wyz2.h 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpayvhmoxg/tmpsqhzve64'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # 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. */ 985s # 985s # 985s # /* Generated data ends here */ 985s # /tmp/tmpayvhmoxg/tmptt6xxqkx.template: template 985s # Response file contains: --template /tmp/tmpayvhmoxg/tmptt6xxqkx.template /tmp/tmpayvhmoxg/tmpcnag2wyz2.h /tmp/tmpayvhmoxg/tmp1ienrfgb1.h 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpayvhmoxg/tmpq8t1fgt5'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # 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. */ 985s # 985s # 985s # /* Generated data ends here */ 985s ok 35 __main__.TestRspMkenums.test_since 985s # tmpdir: /tmp/tmpm4t0gc14 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmpm4t0gc14/tmpbarlel9g.h: 985s # typedef enum { /*< since=1.0 >*/ 985s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 985s # } QmiWmsMessageProtocol; 985s # 985s # /tmp/tmpm4t0gc14/tmp5kxies9q.template: 985s # /*** BEGIN file-header ***/ 985s # file-header 985s # /*** END file-header ***/ 985s # 985s # /*** BEGIN file-production ***/ 985s # file-production 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-production ***/ 985s # 985s # /*** BEGIN enumeration-production ***/ 985s # enumeration-production 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END enumeration-production ***/ 985s # 985s # /*** BEGIN value-header ***/ 985s # value-header 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-header ***/ 985s # 985s # /*** BEGIN value-production ***/ 985s # value-production 985s # VALUENAME: @VALUENAME@ 985s # valuenick: @valuenick@ 985s # valuenum: @valuenum@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-production ***/ 985s # 985s # /*** BEGIN value-tail ***/ 985s # value-tail 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-tail ***/ 985s # 985s # /*** BEGIN comment ***/ 985s # comment 985s # comment: @comment@ 985s # /*** END comment ***/ 985s # 985s # /*** BEGIN file-tail ***/ 985s # file-tail 985s # /*** END file-tail ***/ 985s # 985s # Response file contains: --template /tmp/tmpm4t0gc14/tmp5kxies9q.template /tmp/tmpm4t0gc14/tmpbarlel9g.h 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm4t0gc14/tmpayd02bfs'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: comment 985s # 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. 985s # 985s # 985s # file-header 985s # file-production 985s # filename: /tmp/tmpm4t0gc14/tmpbarlel9g.h 985s # basename: tmpbarlel9g.h 985s # enumeration-production 985s # EnumName: QmiWmsMessageProtocol 985s # enum_name: qmi_wms_message_protocol 985s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 985s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 985s # ENUMPREFIX: QMI 985s # enumsince: 1.0 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-header 985s # EnumName: QmiWmsMessageProtocol 985s # enum_name: qmi_wms_message_protocol 985s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 985s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 985s # ENUMPREFIX: QMI 985s # enumsince: 1.0 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-production 985s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 985s # valuenick: cdma 985s # valuenum: 0 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-tail 985s # EnumName: QmiWmsMessageProtocol 985s # enum_name: qmi_wms_message_protocol 985s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 985s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 985s # ENUMPREFIX: QMI 985s # enumsince: 1.0 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # file-tail 985s # 985s # comment 985s # comment: Generated data ends here 985s ok 36 __main__.TestRspMkenums.test_with_double_quotes 985s # tmpdir: /tmp/tmpeudeiakn 985s # rspfile: True, mkenums: /usr/bin/glib-mkenums 985s # /tmp/tmpeudeiakn/tmp87ausd_1.h: 985s # typedef enum { 985s # FOO_VALUE /*< nick="eek, a comma" >*/ 985s # } Foo; 985s # 985s # /tmp/tmpeudeiakn/tmpmbj3l5rk.template: 985s # /*** BEGIN file-header ***/ 985s # file-header 985s # /*** END file-header ***/ 985s # 985s # /*** BEGIN file-production ***/ 985s # file-production 985s # filename: @filename@ 985s # basename: @basename@ 985s # /*** END file-production ***/ 985s # 985s # /*** BEGIN enumeration-production ***/ 985s # enumeration-production 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END enumeration-production ***/ 985s # 985s # /*** BEGIN value-header ***/ 985s # value-header 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-header ***/ 985s # 985s # /*** BEGIN value-production ***/ 985s # value-production 985s # VALUENAME: @VALUENAME@ 985s # valuenick: @valuenick@ 985s # valuenum: @valuenum@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-production ***/ 985s # 985s # /*** BEGIN value-tail ***/ 985s # value-tail 985s # EnumName: @EnumName@ 985s # enum_name: @enum_name@ 985s # ENUMNAME: @ENUMNAME@ 985s # ENUMSHORT: @ENUMSHORT@ 985s # ENUMPREFIX: @ENUMPREFIX@ 985s # enumsince: @enumsince@ 985s # type: @type@ 985s # Type: @Type@ 985s # TYPE: @TYPE@ 985s # /*** END value-tail ***/ 985s # 985s # /*** BEGIN comment ***/ 985s # comment 985s # comment: @comment@ 985s # /*** END comment ***/ 985s # 985s # /*** BEGIN file-tail ***/ 985s # file-tail 985s # /*** END file-tail ***/ 985s # 985s # Response file contains: --template /tmp/tmpeudeiakn/tmpmbj3l5rk.template /tmp/tmpeudeiakn/tmp87ausd_1.h 985s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpeudeiakn/tmpy01b5h6i'] 985s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 985s # Output: comment 985s # 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. 985s # 985s # 985s # file-header 985s # file-production 985s # filename: /tmp/tmpeudeiakn/tmp87ausd_1.h 985s # basename: tmp87ausd_1.h 985s # enumeration-production 985s # EnumName: Foo 985s # enum_name: foo_ 985s # ENUMNAME: FOO_ 985s # ENUMSHORT: 985s # ENUMPREFIX: FOO 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-header 985s # EnumName: Foo 985s # enum_name: foo_ 985s # ENUMNAME: FOO_ 985s # ENUMSHORT: 985s # ENUMPREFIX: FOO 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-production 985s # VALUENAME: FOO_VALUE 985s # valuenick: eek, a comma 985s # valuenum: 0 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # value-tail 985s # EnumName: Foo 985s # enum_name: foo_ 985s # ENUMNAME: FOO_ 985s # ENUMSHORT: 985s # ENUMPREFIX: FOO 985s # enumsince: 985s # type: enum 985s # Type: Enum 985s # TYPE: ENUM 985s # file-tail 985s # 985s # comment 985s # comment: Generated data ends here 985s 1..36 985s ok - glib/mkenums.py.test 985s # Running test: glib/relation.test 985s TAP version 14 985s # random seed: R02S208eb56d1a028396654dfb045acba593 985s 1..1 985s # Start of glib tests 985s ok 1 /glib/relation 985s # End of glib tests 985s ok - glib/relation.test 985s # Running test: glib/network-monitor.test 985s TAP version 14 985s # random seed: R02S48861456ab982aa2233e32c9d6f2b4bc 985s 1..4 985s # Start of network-monitor tests 985s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 985s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 985s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 985s ok 1 /network-monitor/default 985s ok 2 /network-monitor/remove_default 985s ok 3 /network-monitor/add_networks 985s ok 4 /network-monitor/remove_networks 985s # End of network-monitor tests 985s ok - glib/network-monitor.test 985s # Running test: glib/unix-streams.test 985s TAP version 14 985s # random seed: R02Sf5a1160dd3a315281b40e85144f896f3 985s 1..9 985s # Start of unix-streams tests 985s ok 1 /unix-streams/basic 986s ok 2 /unix-streams/pipe-io-test 986s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 986s ok 3 /unix-streams/nonblocking-io-test 986s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 986s ok 4 /unix-streams/read_write 986s ok 5 /unix-streams/read_writev 986s ok 6 /unix-streams/write-wouldblock 986s ok 7 /unix-streams/writev-wouldblock 986s ok 8 /unix-streams/write-async-wouldblock 986s ok 9 /unix-streams/writev-async-wouldblock 986s # End of unix-streams tests 986s ok - glib/unix-streams.test 986s # Running test: glib/gdbus-peer-object-manager.test 986s TAP version 14 986s # random seed: R02Sa6c5fd7730984d30b516589a5108b199 986s 1..2 986s # Start of gdbus tests 986s # Start of peer-object-manager tests 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/normal/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/normal/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/normal/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/normal/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/normal/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/normal/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/normal/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/normal/.dirs/runtime 986s ok 1 /gdbus/peer-object-manager/normal 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/root/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/root/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/root/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/root/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/root/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/root/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/root/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_R1JWX2/gdbus/peer-object-manager/root/.dirs/runtime 986s ok 2 /gdbus/peer-object-manager/root 986s # End of peer-object-manager tests 986s # End of gdbus tests 986s ok - glib/gdbus-peer-object-manager.test 986s # Running test: glib/codegen.py.test 986s TAP version 13 986s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 986s # tmpdir: /tmp/tmpnzj8_lc1 986s # codegen: /usr/bin/gdbus-codegen 986s # /tmp/tmpnzj8_lc1/tmp409ohy1t.xml: 986s # 986s # 986s # 986s # 986s # 986s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzj8_lc1/tmp409ohy1t.xml', '--output', '-', '--header'] 986s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 986s # Output: /* 986s # * This file is generated by gdbus-codegen, do not modify it. 986s # * 986s # * The license of this code is the same as for the D-Bus interface description 986s # * it was derived from. Note that it links to GLib, so must comply with the 986s # * LGPL linking clauses. 986s # */ 986s # 986s # #ifndef __STDOUT__ 986s # #define __STDOUT__ 986s # 986s # #include 986s # 986s # G_BEGIN_DECLS 986s # 986s # 986s # /* ------------------------------------------------------------------------ */ 986s # /* Declarations for org.project.UsefulInterface */ 986s # 986s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 986s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 986s # 986s # struct _OrgProjectUsefulInterface; 986s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 986s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 986s # 986s # struct _OrgProjectUsefulInterfaceIface 986s # { 986s # GTypeInterface parent_iface; 986s # 986s # gboolean (*handle_useful_method) ( 986s # OrgProjectUsefulInterface *object, 986s # GDBusMethodInvocation *invocation); 986s # 986s # }; 986s # 986s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 986s # 986s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 986s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 986s # 986s # 986s # /* D-Bus method call completion functions: */ 986s # void org_project_useful_interface_complete_useful_method ( 986s # OrgProjectUsefulInterface *object, 986s # GDBusMethodInvocation *invocation); 986s # 986s # 986s # 986s # /* D-Bus method calls: */ 986s # void org_project_useful_interface_call_useful_method ( 986s # OrgProjectUsefulInterface *proxy, 986s # GCancellable *cancellable, 986s # GAsyncReadyCallback callback, 986s # gpointer user_data); 986s # 986s # gboolean org_project_useful_interface_call_useful_method_finish ( 986s # OrgProjectUsefulInterface *proxy, 986s # GAsyncResult *res, 986s # GError **error); 986s # 986s # gboolean org_project_useful_interface_call_useful_method_sync ( 986s # OrgProjectUsefulInterface *proxy, 986s # GCancellable *cancellable, 986s # GError **error); 986s # 986s # 986s # 986s # /* ---- */ 986s # 986s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 986s # 986s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 986s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 986s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 986s # 986s # struct _OrgProjectUsefulInterfaceProxy 986s # { 986s # /*< private >*/ 986s # GDBusProxy parent_instance; 986s # OrgProjectUsefulInterfaceProxyPrivate *priv; 986s # }; 986s # 986s # struct _OrgProjectUsefulInterfaceProxyClass 986s # { 986s # GDBusProxyClass parent_class; 986s # }; 986s # 986s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 986s # 986s # #if GLIB_CHECK_VERSION(2, 44, 0) 986s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 986s # #endif 986s # 986s # void org_project_useful_interface_proxy_new ( 986s # GDBusConnection *connection, 986s # GDBusProxyFlags flags, 986s # const gchar *name, 986s # const gchar *object_path, 986s # GCancellable *cancellable, 986s # GAsyncReadyCallback callback, 986s # gpointer user_data); 986s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 986s # GAsyncResult *res, 986s # GError **error); 986s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 986s # GDBusConnection *connection, 986s # GDBusProxyFlags flags, 986s # const gchar *name, 986s # const gchar *object_path, 986s # GCancellable *cancellable, 986s # GError **error); 986s # 986s # void org_project_useful_interface_proxy_new_for_bus ( 986s # GBusType bus_type, 986s # GDBusProxyFlags flags, 986s # const gchar *name, 986s # const gchar *object_path, 986s # GCancellable *cancellable, 986s # GAsyncReadyCallback callback, 986s # gpointer user_data); 986s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 986s # GAsyncResult *res, 986s # GError **error); 986s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 986s # GBusType bus_type, 986s # GDBusProxyFlags flags, 986s # const gchar *name, 986s # const gchar *object_path, 986s # GCancellable *cancellable, 986s # GError **error); 986s # 986s # 986s # /* ---- */ 986s # 986s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 986s # 986s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 986s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 986s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 986s # 986s # struct _OrgProjectUsefulInterfaceSkeleton 986s # { 986s # /*< private >*/ 986s # GDBusInterfaceSkeleton parent_instance; 986s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 986s # }; 986s # 986s # struct _OrgProjectUsefulInterfaceSkeletonClass 986s # { 986s # GDBusInterfaceSkeletonClass parent_class; 986s # }; 986s # 986s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 986s # 986s # #if GLIB_CHECK_VERSION(2, 44, 0) 986s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 986s # #endif 986s # 986s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 986s # 986s # 986s # G_END_DECLS 986s # 986s # #endif /* __STDOUT__ */ 986s # /tmp/tmpnzj8_lc1/tmp4i0c5fau.xml: 986s # 986s # 986s # 986s # 986s # 986s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzj8_lc1/tmp4i0c5fau.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 986s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 986s # Output: /* 986s # * This file is generated by gdbus-codegen, do not modify it. 986s # * 986s # * The license of this code is the same as for the D-Bus interface description 986s # * it was derived from. Note that it links to GLib, so must comply with the 986s # * LGPL linking clauses. 986s # */ 986s # 986s # #ifndef __STDOUT__ 986s # #define __STDOUT__ 986s # 986s # #include 986s # 986s # G_BEGIN_DECLS 986s # 986s # 986s # /* ------------------------------------------------------------------------ */ 986s # /* Declarations for org.project.UsefulInterface */ 986s # 986s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 986s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 986s # 986s # struct _OrgProjectUsefulInterface; 986s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 986s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 986s # 986s # struct _OrgProjectUsefulInterfaceIface 986s # { 986s # GTypeInterface parent_iface; 986s # 986s # gboolean (*handle_useful_method) ( 986s # OrgProjectUsefulInterface *object, 986s # GDBusMethodInvocation *invocation); 986s # 986s # }; 986s # 986s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 986s # 986s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 986s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 986s # 986s # 986s # /* D-Bus method call completion functions: */ 986s # void org_project_useful_interface_complete_useful_method ( 986s # OrgProjectUsefulInterface *object, 986s # GDBusMethodInvocation *invocation); 986s # 986s # 986s # 986s # /* D-Bus method calls: */ 986s # void org_project_useful_interface_call_useful_method ( 986s # OrgProjectUsefulInterface *proxy, 986s # GCancellable *cancellable, 986s # GAsyncReadyCallback callback, 986s # gpointer user_data); 986s # 986s # gboolean org_project_useful_interface_call_useful_method_finish ( 986s # OrgProjectUsefulInterface *proxy, 986s # GAsyncResult *res, 986s # GError **error); 986s # 986s # gboolean org_project_useful_interface_call_useful_method_sync ( 986s # OrgProjectUsefulInterface *proxy, 986s # GCancellable *cancellable, 986s # GError **error); 986s # 986s # 986s # 986s # /* ---- */ 986s # 986s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 986s # 986s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 986s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 986s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 986s # 986s # struct _OrgProjectUsefulInterfaceProxy 986s # { 986s # /*< private >*/ 986s # GDBusProxy parent_instance; 986s # OrgProjectUsefulInterfaceProxyPrivate *priv; 986s # }; 986s # 986s # struct _OrgProjectUsefulInterfaceProxyClass 986s # { 986s # GDBusProxyClass parent_class; 986s # }; 986s # 986s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 986s # 986s # #if GLIB_CHECK_VERSION(2, 44, 0) 986s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 986s # #endif 986s # 986s # void org_project_useful_interface_proxy_new ( 986s # GDBusConnection *connection, 986s # GDBusProxyFlags flags, 986s # const gchar *name, 986s # const gchar *object_path, 986s # GCancellable *cancellable, 986s # GAsyncReadyCallback callback, 986s # gpointer user_data); 986s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 986s # GAsyncResult *res, 986s # GError **error); 986s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 986s # GDBusConnection *connection, 986s # GDBusProxyFlags flags, 986s # const gchar *name, 986s # const gchar *object_path, 986s # GCancellable *cancellable, 986s # GError **error); 986s # 986s # void org_project_useful_interface_proxy_new_for_bus ( 986s # GBusType bus_type, 986s # GDBusProxyFlags flags, 986s # const gchar *name, 986s # const gchar *object_path, 986s # GCancellable *cancellable, 986s # GAsyncReadyCallback callback, 986s # gpointer user_data); 986s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 986s # GAsyncResult *res, 986s # GError **error); 986s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 986s # GBusType bus_type, 986s # GDBusProxyFlags flags, 986s # const gchar *name, 986s # const gchar *object_path, 986s # GCancellable *cancellable, 986s # GError **error); 986s # 986s # 986s # /* ---- */ 986s # 986s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 986s # 986s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 986s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 986s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 986s # 986s # struct _OrgProjectUsefulInterfaceSkeleton 986s # { 986s # /*< private >*/ 986s # GDBusInterfaceSkeleton parent_instance; 986s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 986s # }; 986s # 986s # struct _OrgProjectUsefulInterfaceSkeletonClass 986s # { 986s # GDBusInterfaceSkeletonClass parent_class; 986s # }; 986s # 986s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 986s # 986s # #if GLIB_CHECK_VERSION(2, 44, 0) 986s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 986s # #endif 986s # 986s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 986s # 986s # 986s # G_END_DECLS 986s # 986s # #endif /* __STDOUT__ */ 986s # /tmp/tmpnzj8_lc1/tmpqpo9b5zy.xml: 986s # 986s # 986s # 986s # 986s # 986s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzj8_lc1/tmpqpo9b5zy.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 986s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 986s # Output: /* 986s # * This file is generated by gdbus-codegen, do not modify it. 986s # * 986s # * The license of this code is the same as for the D-Bus interface description 986s # * it was derived from. Note that it links to GLib, so must comply with the 986s # * LGPL linking clauses. 986s # */ 986s # 986s # #ifndef __STDOUT__ 986s # #define __STDOUT__ 986s # 986s # #include 986s # 986s # G_BEGIN_DECLS 986s # 986s # 986s # /* ------------------------------------------------------------------------ */ 986s # /* Declarations for org.project.UsefulInterface */ 986s # 986s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 986s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 986s # 986s # struct _OrgProjectUsefulInterface; 986s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 986s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 986s # 986s # struct _OrgProjectUsefulInterfaceIface 986s # { 986s # GTypeInterface parent_iface; 986s # 986s # gboolean (*handle_useful_method) ( 986s # OrgProjectUsefulInterface *object, 986s # GDBusMethodInvocation *invocation); 986s # 986s # }; 986s # 986s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 986s # 986s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 986s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 986s # 986s # 986s # /* D-Bus method call completion functions: */ 986s # void org_project_useful_interface_complete_useful_method ( 986s # OrgProjectUsefulInterface *object, 986s # GDBusMethodInvocation *invocation); 986s # 986s # 986s # 986s # /* D-Bus method calls: */ 986s # void org_project_useful_interface_call_useful_method ( 986s # OrgProjectUsefulInterface *proxy, 986s # GDBusCallFlags call_flags, 986s # gint timeout_msec, 986s # GCancellable *cancellable, 986s # GAsyncReadyCallback callback, 986s # gpointer user_data); 986s # 986s # gboolean org_project_useful_interface_call_useful_method_finish ( 986s # OrgProjectUsefulInterface *proxy, 986s # GAsyncResult *res, 986s # GError **error); 986s # 986s # gboolean org_project_useful_interface_call_useful_method_sync ( 986s # OrgProjectUsefulInterface *proxy, 986s # GDBusCallFlags call_flags, 986s # gint timeout_msec, 986s # GCancellable *cancellable, 986s # GError **error); 986s # 986s # 986s # 986s # /* ---- */ 986s # 986s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 986s # 986s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 986s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 986s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 986s # 986s # struct _OrgProjectUsefulInterfaceProxy 986s # { 986s # /*< private >*/ 986s # GDBusProxy parent_instance; 986s # OrgProjectUsefulInterfaceProxyPrivate *priv; 986s # }; 986s # 986s # struct _OrgProjectUsefulInterfaceProxyClass 986s # { 986s # GDBusProxyClass parent_class; 986s # }; 986s # 986s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 986s # 986s # #if GLIB_CHECK_VERSION(2, 44, 0) 986s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 986s # #endif 986s # 986s # void org_project_useful_interface_proxy_new ( 986s # GDBusConnection *connection, 986s # GDBusProxyFlags flags, 986s # const gchar *name, 986s # const gchar *object_path, 986s # GCancellable *cancellable, 986s # GAsyncReadyCallback callback, 986s # gpointer user_data); 986s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 986s # GAsyncResult *res, 986s # GError **error); 986s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 986s # GDBusConnection *connection, 986s # GDBusProxyFlags flags, 986s # const gchar *name, 986s # const gchar *object_path, 986s # GCancellable *cancellable, 986s # GError **error); 986s # 986s # void org_project_useful_interface_proxy_new_for_bus ( 986s # GBusType bus_type, 986s # GDBusProxyFlags flags, 986s # const gchar *name, 986s # const gchar *object_path, 986s # GCancellable *cancellable, 986s # GAsyncReadyCallback callback, 986s # gpointer user_data); 986s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 986s # GAsyncResult *res, 986s # GError **error); 986s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 986s # GBusType bus_type, 986s # GDBusProxyFlags flags, 986s # const gchar *name, 986s # const gchar *object_path, 986s # GCancellable *cancellable, 986s # GError **error); 986s # 986s # 986s # /* ---- */ 986s # 986s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 986s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 986s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 986s # 986s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 986s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 986s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 986s # 986s # struct _OrgProjectUsefulInterfaceSkeleton 986s # { 986s # /*< private >*/ 986s # GDBusInterfaceSkeleton parent_instance; 986s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 986s # }; 986s # 986s # struct _OrgProjectUsefulInterfaceSkeletonClass 986s # { 986s # GDBusInterfaceSkeletonClass parent_class; 986s # }; 986s # 986s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 986s # 986s # #if GLIB_CHECK_VERSION(2, 44, 0) 986s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 986s # #endif 986s # 986s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 986s # 986s # 986s # G_END_DECLS 986s # 986s # #endif /* __STDOUT__ */ 987s # Executing: glib/codegen.py.test 987s ok 2 __main__.TestCodegen.test_dbus_types 987s # tmpdir: /tmp/tmpxwp040um 987s # codegen: /usr/bin/gdbus-codegen 987s # /tmp/tmpxwp040um/tmp7lk0onn6.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmp7lk0onn6.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmpxeqpb_oa.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmpxeqpb_oa.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmpc0l5_a5i.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmpc0l5_a5i.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmpu3dpe_x4.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmpu3dpe_x4.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmpxq_hbu3z.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmpxq_hbu3z.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmpalcxbl83.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmpalcxbl83.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmpklazq6rj.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmpklazq6rj.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmp5kqs95o6.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmp5kqs95o6.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmpgoqpulir.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmpgoqpulir.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmp_zpi1t8j.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmp_zpi1t8j.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmp0cltpoqe.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmp0cltpoqe.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmpfns4ca5g.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmpfns4ca5g.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmpj14mdy4l.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmpj14mdy4l.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # /tmp/tmpxwp040um/tmp35je5gio.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmp35je5gio.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # Output: /* 987s # * This file is generated by gdbus-codegen, do not modify it. 987s # * 987s # * The license of this code is the same as for the D-Bus interface description 987s # * it was derived from. Note that it links to GLib, so must comply with the 987s # * LGPL linking clauses. 987s # */ 987s # 987s # #ifdef HAVE_CONFIG_H 987s # # include "config.h" 987s # #endif 987s # 987s # #include 987s # #ifdef G_OS_UNIX 987s # # include 987s # #endif 987s # 987s # #ifdef G_ENABLE_DEBUG 987s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 987s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 987s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 987s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 987s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 987s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 987s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 987s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 987s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 987s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 987s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 987s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 987s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 987s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 987s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 987s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 987s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 987s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 987s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 987s # #else /* !G_ENABLE_DEBUG */ 987s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 987s # * Do not access GValues directly in your code. Instead, use the 987s # * g_value_get_*() functions 987s # */ 987s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 987s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 987s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 987s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 987s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 987s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 987s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 987s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 987s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 987s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 987s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 987s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 987s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 987s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 987s # #endif /* !G_ENABLE_DEBUG */ 987s # 987s # typedef struct 987s # { 987s # GDBusArgInfo parent_struct; 987s # gboolean use_gvariant; 987s # } _ExtendedGDBusArgInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusMethodInfo parent_struct; 987s # const gchar *signal_name; 987s # gboolean pass_fdlist; 987s # } _ExtendedGDBusMethodInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusSignalInfo parent_struct; 987s # const gchar *signal_name; 987s # } _ExtendedGDBusSignalInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusPropertyInfo parent_struct; 987s # const gchar *hyphen_name; 987s # guint use_gvariant : 1; 987s # guint emits_changed_signal : 1; 987s # } _ExtendedGDBusPropertyInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusInterfaceInfo parent_struct; 987s # const gchar *hyphen_name; 987s # } _ExtendedGDBusInterfaceInfo; 987s # 987s # typedef struct 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # guint prop_id; 987s # GValue orig_value; /* the value before the change */ 987s # } ChangedProperty; 987s # 987s # static void 987s # _changed_property_free (ChangedProperty *data) 987s # { 987s # g_value_unset (&data->orig_value); 987s # g_free (data); 987s # } 987s # 987s # static gboolean 987s # _g_strv_equal0 (gchar **a, gchar **b) 987s # { 987s # gboolean ret = FALSE; 987s # guint n; 987s # if (a == NULL && b == NULL) 987s # { 987s # ret = TRUE; 987s # goto out; 987s # } 987s # if (a == NULL || b == NULL) 987s # goto out; 987s # if (g_strv_length (a) != g_strv_length (b)) 987s # goto out; 987s # for (n = 0; a[n] != NULL; n++) 987s # if (g_strcmp0 (a[n], b[n]) != 0) 987s # goto out; 987s # ret = TRUE; 987s # out: 987s # return ret; 987s # } 987s # 987s # static gboolean 987s # _g_variant_equal0 (GVariant *a, GVariant *b) 987s # { 987s # gboolean ret = FALSE; 987s # if (a == NULL && b == NULL) 987s # { 987s # ret = TRUE; 987s # goto out; 987s # } 987s # if (a == NULL || b == NULL) 987s # goto out; 987s # ret = g_variant_equal (a, b); 987s # out: 987s # return ret; 987s # } 987s # 987s # G_GNUC_UNUSED static gboolean 987s # _g_value_equal (const GValue *a, const GValue *b) 987s # { 987s # gboolean ret = FALSE; 987s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 987s # switch (G_VALUE_TYPE (a)) 987s # { 987s # case G_TYPE_BOOLEAN: 987s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 987s # break; 987s # case G_TYPE_UCHAR: 987s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 987s # break; 987s # case G_TYPE_INT: 987s # ret = (g_value_get_int (a) == g_value_get_int (b)); 987s # break; 987s # case G_TYPE_UINT: 987s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 987s # break; 987s # case G_TYPE_INT64: 987s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 987s # break; 987s # case G_TYPE_UINT64: 987s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 987s # break; 987s # case G_TYPE_DOUBLE: 987s # { 987s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 987s # gdouble da = g_value_get_double (a); 987s # gdouble db = g_value_get_double (b); 987s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 987s # } 987s # break; 987s # case G_TYPE_STRING: 987s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 987s # break; 987s # case G_TYPE_VARIANT: 987s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 987s # break; 987s # default: 987s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 987s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 987s # else 987s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 987s # break; 987s # } 987s # return ret; 987s # } 987s # 987s # /* ------------------------------------------------------------------------ 987s # * Code for interface GoodTypes 987s # * ------------------------------------------------------------------------ 987s # */ 987s # 987s # /** 987s # * SECTION:GoodTypes 987s # * @title: GoodTypes 987s # * @short_description: Generated C code for the GoodTypes D-Bus interface 987s # * 987s # * This section contains code for working with the GoodTypes D-Bus interface in C. 987s # */ 987s # 987s # /* ---- Introspection data for GoodTypes ---- */ 987s # 987s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 987s # { 987s # { 987s # -1, 987s # (gchar *) "GoodPropertyType", 987s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 987s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 987s # NULL 987s # }, 987s # "good-property-type", 987s # FALSE, 987s # TRUE 987s # }; 987s # 987s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 987s # { 987s # &_good_types_property_info_good_property_type.parent_struct, 987s # NULL 987s # }; 987s # 987s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 987s # { 987s # { 987s # -1, 987s # (gchar *) "GoodTypes", 987s # NULL, 987s # NULL, 987s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 987s # NULL 987s # }, 987s # "good-types", 987s # }; 987s # 987s # 987s # /** 987s # * good_types_interface_info: 987s # * 987s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 987s # * 987s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 987s # */ 987s # GDBusInterfaceInfo * 987s # good_types_interface_info (void) 987s # { 987s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 987s # } 987s # 987s # /** 987s # * good_types_override_properties: 987s # * @klass: The class structure for a #GObject derived class. 987s # * @property_id_begin: The property id to assign to the first overridden property. 987s # * 987s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 987s # * The properties are overridden in the order they are defined. 987s # * 987s # * Returns: The last property id. 987s # */ 987s # guint 987s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 987s # { 987s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 987s # return property_id_begin - 1; 987s # } 987s # 987s # 987s # 987s # /** 987s # * GoodTypes: 987s # * 987s # * Abstract interface type for the D-Bus interface GoodTypes. 987s # */ 987s # 987s # /** 987s # * GoodTypesIface: 987s # * @parent_iface: The parent interface. 987s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 987s # * 987s # * Virtual table for the D-Bus interface GoodTypes. 987s # */ 987s # 987s # typedef GoodTypesIface GoodTypesInterface; 987s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 987s # 987s # static void 987s # good_types_default_init (GoodTypesIface *iface) 987s # { 987s # /* GObject properties for D-Bus properties: */ 987s # /** 987s # * GoodTypes:good-property-type: 987s # * 987s # * Represents the D-Bus property "GoodPropertyType". 987s # * 987s # * 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. 987s # */ 987s # g_object_interface_install_property (iface, 987s # 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)); 987s # } 987s # 987s # /** 987s # * good_types_get_good_property_type: (skip) 987s # * @object: A GoodTypes. 987s # * 987s # * Gets the value of the "GoodPropertyType" D-Bus property. 987s # * 987s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 987s # * 987s # * 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. 987s # * 987s # * 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. 987s # */ 987s # GVariant * 987s # good_types_get_good_property_type (GoodTypes *object) 987s # { 987s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 987s # 987s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 987s # } 987s # 987s # /** 987s # * good_types_dup_good_property_type: (skip) 987s # * @object: A GoodTypes. 987s # * 987s # * Gets a copy of the "GoodPropertyType" D-Bus property. 987s # * 987s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 987s # * 987s # * 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(). 987s # */ 987s # GVariant * 987s # good_types_dup_good_property_type (GoodTypes *object) 987s # { 987s # GVariant *value; 987s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 987s # return value; 987s # } 987s # 987s # /** 987s # * good_types_set_good_property_type: (skip) 987s # * @object: A GoodTypes. 987s # * @value: The value to set. 987s # * 987s # * Sets the "GoodPropertyType" D-Bus property to @value. 987s # * 987s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 987s # */ 987s # void 987s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 987s # { 987s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 987s # } 987s # 987s # /* ------------------------------------------------------------------------ */ 987s # 987s # /** 987s # * GoodTypesProxy: 987s # * 987s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 987s # */ 987s # 987s # /** 987s # * GoodTypesProxyClass: 987s # * @parent_class: The parent class. 987s # * 987s # * Class structure for GoodTypesProxy. 987s # */ 987s # 987s # struct _GoodTypesProxyPrivate 987s # { 987s # GData *qdata; 987s # }; 987s # 987s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 987s # 987s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 987s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 987s # G_ADD_PRIVATE (GoodTypesProxy) 987s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 987s # 987s # #else 987s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 987s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 987s # 987s # #endif 987s # static void 987s # good_types_proxy_finalize (GObject *object) 987s # { 987s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 987s # g_datalist_clear (&proxy->priv->qdata); 987s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 987s # } 987s # 987s # static void 987s # good_types_proxy_get_property (GObject *object, 987s # guint prop_id, 987s # GValue *value, 987s # GParamSpec *pspec G_GNUC_UNUSED) 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # GVariant *variant; 987s # g_assert (prop_id != 0 && prop_id - 1 < 1); 987s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 987s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 987s # if (info->use_gvariant) 987s # { 987s # g_value_set_variant (value, variant); 987s # } 987s # else 987s # { 987s # if (variant != NULL) 987s # g_dbus_gvariant_to_gvalue (variant, value); 987s # } 987s # if (variant != NULL) 987s # g_variant_unref (variant); 987s # } 987s # 987s # static void 987s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 987s # GAsyncResult *res, 987s # gpointer user_data) 987s # { 987s # const _ExtendedGDBusPropertyInfo *info = user_data; 987s # GError *error; 987s # GVariant *_ret; 987s # error = NULL; 987s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 987s # if (!_ret) 987s # { 987s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 987s # info->parent_struct.name, 987s # error->message, g_quark_to_string (error->domain), error->code); 987s # g_error_free (error); 987s # } 987s # else 987s # { 987s # g_variant_unref (_ret); 987s # } 987s # } 987s # 987s # static void 987s # good_types_proxy_set_property (GObject *object, 987s # guint prop_id, 987s # const GValue *value, 987s # GParamSpec *pspec G_GNUC_UNUSED) 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # GVariant *variant; 987s # g_assert (prop_id != 0 && prop_id - 1 < 1); 987s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 987s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 987s # g_dbus_proxy_call (G_DBUS_PROXY (object), 987s # "org.freedesktop.DBus.Properties.Set", 987s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 987s # G_DBUS_CALL_FLAGS_NONE, 987s # -1, 987s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 987s # g_variant_unref (variant); 987s # } 987s # 987s # static void 987s # good_types_proxy_g_signal (GDBusProxy *proxy, 987s # const gchar *sender_name G_GNUC_UNUSED, 987s # const gchar *signal_name, 987s # GVariant *parameters) 987s # { 987s # _ExtendedGDBusSignalInfo *info; 987s # GVariantIter iter; 987s # GVariant *child; 987s # GValue *paramv; 987s # gsize num_params; 987s # gsize n; 987s # guint signal_id; 987s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 987s # if (info == NULL) 987s # return; 987s # num_params = g_variant_n_children (parameters); 987s # paramv = g_new0 (GValue, num_params + 1); 987s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 987s # g_value_set_object (¶mv[0], proxy); 987s # g_variant_iter_init (&iter, parameters); 987s # n = 1; 987s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 987s # { 987s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 987s # if (arg_info->use_gvariant) 987s # { 987s # g_value_init (¶mv[n], G_TYPE_VARIANT); 987s # g_value_set_variant (¶mv[n], child); 987s # n++; 987s # } 987s # else 987s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 987s # g_variant_unref (child); 987s # } 987s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 987s # g_signal_emitv (paramv, signal_id, 0, NULL); 987s # for (n = 0; n < num_params + 1; n++) 987s # g_value_unset (¶mv[n]); 987s # g_free (paramv); 987s # } 987s # 987s # static void 987s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 987s # GVariant *changed_properties, 987s # const gchar *const *invalidated_properties) 987s # { 987s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 987s # guint n; 987s # const gchar *key; 987s # GVariantIter *iter; 987s # _ExtendedGDBusPropertyInfo *info; 987s # g_variant_get (changed_properties, "a{sv}", &iter); 987s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 987s # { 987s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 987s # g_datalist_remove_data (&proxy->priv->qdata, key); 987s # if (info != NULL) 987s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 987s # } 987s # g_variant_iter_free (iter); 987s # for (n = 0; invalidated_properties[n] != NULL; n++) 987s # { 987s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 987s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 987s # if (info != NULL) 987s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 987s # } 987s # } 987s # 987s # static GVariant * 987s # good_types_proxy_get_good_property_type (GoodTypes *object) 987s # { 987s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 987s # GVariant *variant; 987s # GVariant *value = NULL; 987s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 987s # value = variant; 987s # if (variant != NULL) 987s # g_variant_unref (variant); 987s # return value; 987s # } 987s # 987s # static void 987s # good_types_proxy_init (GoodTypesProxy *proxy) 987s # { 987s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 987s # proxy->priv = good_types_proxy_get_instance_private (proxy); 987s # #else 987s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 987s # #endif 987s # 987s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 987s # } 987s # 987s # static void 987s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 987s # { 987s # GObjectClass *gobject_class; 987s # GDBusProxyClass *proxy_class; 987s # 987s # gobject_class = G_OBJECT_CLASS (klass); 987s # gobject_class->finalize = good_types_proxy_finalize; 987s # gobject_class->get_property = good_types_proxy_get_property; 987s # gobject_class->set_property = good_types_proxy_set_property; 987s # 987s # proxy_class = G_DBUS_PROXY_CLASS (klass); 987s # proxy_class->g_signal = good_types_proxy_g_signal; 987s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 987s # 987s # good_types_override_properties (gobject_class, 1); 987s # 987s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 987s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 987s # #endif 987s # } 987s # 987s # static void 987s # good_types_proxy_iface_init (GoodTypesIface *iface) 987s # { 987s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 987s # } 987s # 987s # /** 987s # * good_types_proxy_new: 987s # * @connection: A #GDBusConnection. 987s # * @flags: Flags from the #GDBusProxyFlags enumeration. 987s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 987s # * @object_path: An object path. 987s # * @cancellable: (nullable): A #GCancellable or %NULL. 987s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 987s # * @user_data: User data to pass to @callback. 987s # * 987s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 987s # * 987s # * 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()). 987s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 987s # * 987s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 987s # */ 987s # void 987s # good_types_proxy_new ( 987s # GDBusConnection *connection, 987s # GDBusProxyFlags flags, 987s # const gchar *name, 987s # const gchar *object_path, 987s # GCancellable *cancellable, 987s # GAsyncReadyCallback callback, 987s # gpointer user_data) 987s # { 987s # 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); 987s # } 987s # 987s # /** 987s # * good_types_proxy_new_finish: 987s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 987s # * @error: Return location for error or %NULL 987s # * 987s # * Finishes an operation started with good_types_proxy_new(). 987s # * 987s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 987s # */ 987s # GoodTypes * 987s # good_types_proxy_new_finish ( 987s # GAsyncResult *res, 987s # GError **error) 987s # { 987s # GObject *ret; 987s # GObject *source_object; 987s # source_object = g_async_result_get_source_object (res); 987s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 987s # g_object_unref (source_object); 987s # if (ret != NULL) 987s # return GOOD_TYPES (ret); 987s # else 987s # return NULL; 987s # } 987s # 987s # /** 987s # * good_types_proxy_new_sync: 987s # * @connection: A #GDBusConnection. 987s # * @flags: Flags from the #GDBusProxyFlags enumeration. 987s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 987s # * @object_path: An object path. 987s # * @cancellable: (nullable): A #GCancellable or %NULL. 987s # * @error: Return location for error or %NULL 987s # * 987s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 987s # * 987s # * The calling thread is blocked until a reply is received. 987s # * 987s # * See good_types_proxy_new() for the asynchronous version of this constructor. 987s # * 987s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 987s # */ 987s # GoodTypes * 987s # good_types_proxy_new_sync ( 987s # GDBusConnection *connection, 987s # GDBusProxyFlags flags, 987s # const gchar *name, 987s # const gchar *object_path, 987s # GCancellable *cancellable, 987s # GError **error) 987s # { 987s # GInitable *ret; 987s # 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); 987s # if (ret != NULL) 987s # return GOOD_TYPES (ret); 987s # else 987s # return NULL; 987s # } 987s # 987s # 987s # /** 987s # * good_types_proxy_new_for_bus: 987s # * @bus_type: A #GBusType. 987s # * @flags: Flags from the #GDBusProxyFlags enumeration. 987s # * @name: A bus name (well-known or unique). 987s # * @object_path: An object path. 987s # * @cancellable: (nullable): A #GCancellable or %NULL. 987s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 987s # * @user_data: User data to pass to @callback. 987s # * 987s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 987s # * 987s # * 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()). 987s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 987s # * 987s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 987s # */ 987s # void 987s # good_types_proxy_new_for_bus ( 987s # GBusType bus_type, 987s # GDBusProxyFlags flags, 987s # const gchar *name, 987s # const gchar *object_path, 987s # GCancellable *cancellable, 987s # GAsyncReadyCallback callback, 987s # gpointer user_data) 987s # { 987s # 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); 987s # } 987s # 987s # /** 987s # * good_types_proxy_new_for_bus_finish: 987s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 987s # * @error: Return location for error or %NULL 987s # * 987s # * Finishes an operation started with good_types_proxy_new_for_bus(). 987s # * 987s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 987s # */ 987s # GoodTypes * 987s # good_types_proxy_new_for_bus_finish ( 987s # GAsyncResult *res, 987s # GError **error) 987s # { 987s # GObject *ret; 987s # GObject *source_object; 987s # source_object = g_async_result_get_source_object (res); 987s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 987s # g_object_unref (source_object); 987s # if (ret != NULL) 987s # return GOOD_TYPES (ret); 987s # else 987s # return NULL; 987s # } 987s # 987s # /** 987s # * good_types_proxy_new_for_bus_sync: 987s # * @bus_type: A #GBusType. 987s # * @flags: Flags from the #GDBusProxyFlags enumeration. 987s # * @name: A bus name (well-known or unique). 987s # * @object_path: An object path. 987s # * @cancellable: (nullable): A #GCancellable or %NULL. 987s # * @error: Return location for error or %NULL 987s # * 987s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 987s # * 987s # * The calling thread is blocked until a reply is received. 987s # * 987s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 987s # * 987s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 987s # */ 987s # GoodTypes * 987s # good_types_proxy_new_for_bus_sync ( 987s # GBusType bus_type, 987s # GDBusProxyFlags flags, 987s # const gchar *name, 987s # const gchar *object_path, 987s # GCancellable *cancellable, 987s # GError **error) 987s # { 987s # GInitable *ret; 987s # 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); 987s # if (ret != NULL) 987s # return GOOD_TYPES (ret); 987s # else 987s # return NULL; 987s # } 987s # 987s # 987s # /* ------------------------------------------------------------------------ */ 987s # 987s # /** 987s # * GoodTypesSkeleton: 987s # * 987s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 987s # */ 987s # 987s # /** 987s # * GoodTypesSkeletonClass: 987s # * @parent_class: The parent class. 987s # * 987s # * Class structure for GoodTypesSkeleton. 987s # */ 987s # 987s # struct _GoodTypesSkeletonPrivate 987s # { 987s # GValue *properties; 987s # GList *changed_properties; 987s # GSource *changed_properties_idle_source; 987s # GMainContext *context; 987s # GMutex lock; 987s # }; 987s # 987s # static void 987s # _good_types_skeleton_handle_method_call ( 987s # GDBusConnection *connection G_GNUC_UNUSED, 987s # const gchar *sender G_GNUC_UNUSED, 987s # const gchar *object_path G_GNUC_UNUSED, 987s # const gchar *interface_name, 987s # const gchar *method_name, 987s # GVariant *parameters, 987s # GDBusMethodInvocation *invocation, 987s # gpointer user_data) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 987s # _ExtendedGDBusMethodInfo *info; 987s # GVariantIter iter; 987s # GVariant *child; 987s # GValue *paramv; 987s # gsize num_params; 987s # guint num_extra; 987s # gsize n; 987s # guint signal_id; 987s # GValue return_value = G_VALUE_INIT; 987s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 987s # g_assert (info != NULL); 987s # num_params = g_variant_n_children (parameters); 987s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 987s # n = 0; 987s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 987s # g_value_set_object (¶mv[n++], skeleton); 987s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 987s # g_value_set_object (¶mv[n++], invocation); 987s # if (info->pass_fdlist) 987s # { 987s # #ifdef G_OS_UNIX 987s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 987s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 987s # #else 987s # g_assert_not_reached (); 987s # #endif 987s # } 987s # g_variant_iter_init (&iter, parameters); 987s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 987s # { 987s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 987s # if (arg_info->use_gvariant) 987s # { 987s # g_value_init (¶mv[n], G_TYPE_VARIANT); 987s # g_value_set_variant (¶mv[n], child); 987s # n++; 987s # } 987s # else 987s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 987s # g_variant_unref (child); 987s # } 987s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 987s # g_value_init (&return_value, G_TYPE_BOOLEAN); 987s # g_signal_emitv (paramv, signal_id, 0, &return_value); 987s # if (!g_value_get_boolean (&return_value)) 987s # 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); 987s # g_value_unset (&return_value); 987s # for (n = 0; n < num_params + num_extra; n++) 987s # g_value_unset (¶mv[n]); 987s # g_free (paramv); 987s # } 987s # 987s # static GVariant * 987s # _good_types_skeleton_handle_get_property ( 987s # GDBusConnection *connection G_GNUC_UNUSED, 987s # const gchar *sender G_GNUC_UNUSED, 987s # const gchar *object_path G_GNUC_UNUSED, 987s # const gchar *interface_name G_GNUC_UNUSED, 987s # const gchar *property_name, 987s # GError **error, 987s # gpointer user_data) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 987s # GValue value = G_VALUE_INIT; 987s # GParamSpec *pspec; 987s # _ExtendedGDBusPropertyInfo *info; 987s # GVariant *ret; 987s # ret = NULL; 987s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 987s # g_assert (info != NULL); 987s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 987s # if (pspec == NULL) 987s # { 987s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 987s # } 987s # else 987s # { 987s # g_value_init (&value, pspec->value_type); 987s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 987s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 987s # g_value_unset (&value); 987s # } 987s # return ret; 987s # } 987s # 987s # static gboolean 987s # _good_types_skeleton_handle_set_property ( 987s # GDBusConnection *connection G_GNUC_UNUSED, 987s # const gchar *sender G_GNUC_UNUSED, 987s # const gchar *object_path G_GNUC_UNUSED, 987s # const gchar *interface_name G_GNUC_UNUSED, 987s # const gchar *property_name, 987s # GVariant *variant, 987s # GError **error, 987s # gpointer user_data) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 987s # GValue value = G_VALUE_INIT; 987s # GParamSpec *pspec; 987s # _ExtendedGDBusPropertyInfo *info; 987s # gboolean ret; 987s # ret = FALSE; 987s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 987s # g_assert (info != NULL); 987s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 987s # if (pspec == NULL) 987s # { 987s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 987s # } 987s # else 987s # { 987s # if (info->use_gvariant) 987s # g_value_set_variant (&value, variant); 987s # else 987s # g_dbus_gvariant_to_gvalue (variant, &value); 987s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 987s # g_value_unset (&value); 987s # ret = TRUE; 987s # } 987s # return ret; 987s # } 987s # 987s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 987s # { 987s # _good_types_skeleton_handle_method_call, 987s # _good_types_skeleton_handle_get_property, 987s # _good_types_skeleton_handle_set_property, 987s # {NULL} 987s # }; 987s # 987s # static GDBusInterfaceInfo * 987s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 987s # { 987s # return good_types_interface_info (); 987s # } 987s # 987s # static GDBusInterfaceVTable * 987s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 987s # { 987s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 987s # } 987s # 987s # static GVariant * 987s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 987s # 987s # GVariantBuilder builder; 987s # guint n; 987s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 987s # if (_good_types_interface_info.parent_struct.properties == NULL) 987s # goto out; 987s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 987s # { 987s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 987s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 987s # { 987s # GVariant *value; 987s # 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); 987s # if (value != NULL) 987s # { 987s # g_variant_take_ref (value); 987s # g_variant_builder_add (&builder, "{sv}", info->name, value); 987s # g_variant_unref (value); 987s # } 987s # } 987s # } 987s # out: 987s # return g_variant_builder_end (&builder); 987s # } 987s # 987s # static gboolean _good_types_emit_changed (gpointer user_data); 987s # 987s # static void 987s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 987s # gboolean emit_changed = FALSE; 987s # 987s # g_mutex_lock (&skeleton->priv->lock); 987s # if (skeleton->priv->changed_properties_idle_source != NULL) 987s # { 987s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 987s # skeleton->priv->changed_properties_idle_source = NULL; 987s # emit_changed = TRUE; 987s # } 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # 987s # if (emit_changed) 987s # _good_types_emit_changed (skeleton); 987s # } 987s # 987s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 987s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 987s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 987s # G_ADD_PRIVATE (GoodTypesSkeleton) 987s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 987s # 987s # #else 987s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 987s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 987s # 987s # #endif 987s # static void 987s # good_types_skeleton_finalize (GObject *object) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # guint n; 987s # for (n = 0; n < 1; n++) 987s # g_value_unset (&skeleton->priv->properties[n]); 987s # g_free (skeleton->priv->properties); 987s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 987s # if (skeleton->priv->changed_properties_idle_source != NULL) 987s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 987s # g_main_context_unref (skeleton->priv->context); 987s # g_mutex_clear (&skeleton->priv->lock); 987s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 987s # } 987s # 987s # static void 987s # good_types_skeleton_get_property (GObject *object, 987s # guint prop_id, 987s # GValue *value, 987s # GParamSpec *pspec G_GNUC_UNUSED) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # g_assert (prop_id != 0 && prop_id - 1 < 1); 987s # g_mutex_lock (&skeleton->priv->lock); 987s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # } 987s # 987s # static gboolean 987s # _good_types_emit_changed (gpointer user_data) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 987s # GList *l; 987s # GVariantBuilder builder; 987s # GVariantBuilder invalidated_builder; 987s # guint num_changes; 987s # 987s # g_mutex_lock (&skeleton->priv->lock); 987s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 987s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 987s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 987s # { 987s # ChangedProperty *cp = l->data; 987s # GVariant *variant; 987s # const GValue *cur_value; 987s # 987s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 987s # if (!_g_value_equal (cur_value, &cp->orig_value)) 987s # { 987s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 987s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 987s # g_variant_unref (variant); 987s # num_changes++; 987s # } 987s # } 987s # if (num_changes > 0) 987s # { 987s # GList *connections, *ll; 987s # GVariant *signal_variant; 987s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 987s # &builder, &invalidated_builder)); 987s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 987s # for (ll = connections; ll != NULL; ll = ll->next) 987s # { 987s # GDBusConnection *connection = ll->data; 987s # 987s # g_dbus_connection_emit_signal (connection, 987s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 987s # "org.freedesktop.DBus.Properties", 987s # "PropertiesChanged", 987s # signal_variant, 987s # NULL); 987s # } 987s # g_variant_unref (signal_variant); 987s # g_list_free_full (connections, g_object_unref); 987s # } 987s # else 987s # { 987s # g_variant_builder_clear (&builder); 987s # g_variant_builder_clear (&invalidated_builder); 987s # } 987s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 987s # skeleton->priv->changed_properties = NULL; 987s # skeleton->priv->changed_properties_idle_source = NULL; 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # return FALSE; 987s # } 987s # 987s # static void 987s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 987s # { 987s # ChangedProperty *cp; 987s # GList *l; 987s # cp = NULL; 987s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 987s # { 987s # ChangedProperty *i_cp = l->data; 987s # if (i_cp->info == info) 987s # { 987s # cp = i_cp; 987s # break; 987s # } 987s # } 987s # if (cp == NULL) 987s # { 987s # cp = g_new0 (ChangedProperty, 1); 987s # cp->prop_id = prop_id; 987s # cp->info = info; 987s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 987s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 987s # g_value_copy (orig_value, &cp->orig_value); 987s # } 987s # } 987s # 987s # static void 987s # good_types_skeleton_notify (GObject *object, 987s # GParamSpec *pspec G_GNUC_UNUSED) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # g_mutex_lock (&skeleton->priv->lock); 987s # if (skeleton->priv->changed_properties != NULL && 987s # skeleton->priv->changed_properties_idle_source == NULL) 987s # { 987s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 987s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 987s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 987s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 987s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 987s # g_source_unref (skeleton->priv->changed_properties_idle_source); 987s # } 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # } 987s # 987s # static void 987s # good_types_skeleton_set_property (GObject *object, 987s # guint prop_id, 987s # const GValue *value, 987s # GParamSpec *pspec) 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # g_assert (prop_id != 0 && prop_id - 1 < 1); 987s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 987s # g_mutex_lock (&skeleton->priv->lock); 987s # g_object_freeze_notify (object); 987s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 987s # { 987s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 987s # info->emits_changed_signal) 987s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 987s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 987s # g_object_notify_by_pspec (object, pspec); 987s # } 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # g_object_thaw_notify (object); 987s # } 987s # 987s # static void 987s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 987s # { 987s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 987s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 987s # #else 987s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 987s # #endif 987s # 987s # g_mutex_init (&skeleton->priv->lock); 987s # skeleton->priv->context = g_main_context_ref_thread_default (); 987s # skeleton->priv->properties = g_new0 (GValue, 1); 987s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 987s # } 987s # 987s # static GVariant * 987s # good_types_skeleton_get_good_property_type (GoodTypes *object) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # GVariant *value; 987s # g_mutex_lock (&skeleton->priv->lock); 987s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # return value; 987s # } 987s # 987s # static void 987s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 987s # { 987s # GObjectClass *gobject_class; 987s # GDBusInterfaceSkeletonClass *skeleton_class; 987s # 987s # gobject_class = G_OBJECT_CLASS (klass); 987s # gobject_class->finalize = good_types_skeleton_finalize; 987s # gobject_class->get_property = good_types_skeleton_get_property; 987s # gobject_class->set_property = good_types_skeleton_set_property; 987s # gobject_class->notify = good_types_skeleton_notify; 987s # 987s # 987s # good_types_override_properties (gobject_class, 1); 987s # 987s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 987s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 987s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 987s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 987s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 987s # 987s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 987s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 987s # #endif 987s # } 987s # 987s # static void 987s # good_types_skeleton_iface_init (GoodTypesIface *iface) 987s # { 987s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 987s # } 987s # 987s # /** 987s # * good_types_skeleton_new: 987s # * 987s # * Creates a skeleton object for the D-Bus interface GoodTypes. 987s # * 987s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 987s # */ 987s # GoodTypes * 987s # good_types_skeleton_new (void) 987s # { 987s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 987s # } 987s # /tmp/tmpxwp040um/tmpbo3c5435.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmpbo3c5435.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # Output: /* 987s # * This file is generated by gdbus-codegen, do not modify it. 987s # * 987s # * The license of this code is the same as for the D-Bus interface description 987s # * it was derived from. Note that it links to GLib, so must comply with the 987s # * LGPL linking clauses. 987s # */ 987s # 987s # #ifdef HAVE_CONFIG_H 987s # # include "config.h" 987s # #endif 987s # 987s # #include 987s # #ifdef G_OS_UNIX 987s # # include 987s # #endif 987s # 987s # #ifdef G_ENABLE_DEBUG 987s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 987s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 987s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 987s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 987s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 987s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 987s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 987s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 987s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 987s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 987s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 987s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 987s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 987s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 987s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 987s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 987s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 987s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 987s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 987s # #else /* !G_ENABLE_DEBUG */ 987s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 987s # * Do not access GValues directly in your code. Instead, use the 987s # * g_value_get_*() functions 987s # */ 987s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 987s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 987s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 987s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 987s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 987s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 987s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 987s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 987s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 987s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 987s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 987s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 987s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 987s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 987s # #endif /* !G_ENABLE_DEBUG */ 987s # 987s # typedef struct 987s # { 987s # GDBusArgInfo parent_struct; 987s # gboolean use_gvariant; 987s # } _ExtendedGDBusArgInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusMethodInfo parent_struct; 987s # const gchar *signal_name; 987s # gboolean pass_fdlist; 987s # } _ExtendedGDBusMethodInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusSignalInfo parent_struct; 987s # const gchar *signal_name; 987s # } _ExtendedGDBusSignalInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusPropertyInfo parent_struct; 987s # const gchar *hyphen_name; 987s # guint use_gvariant : 1; 987s # guint emits_changed_signal : 1; 987s # } _ExtendedGDBusPropertyInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusInterfaceInfo parent_struct; 987s # const gchar *hyphen_name; 987s # } _ExtendedGDBusInterfaceInfo; 987s # 987s # typedef struct 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # guint prop_id; 987s # GValue orig_value; /* the value before the change */ 987s # } ChangedProperty; 987s # 987s # static void 987s # _changed_property_free (ChangedProperty *data) 987s # { 987s # g_value_unset (&data->orig_value); 987s # g_free (data); 987s # } 987s # 987s # static gboolean 987s # _g_strv_equal0 (gchar **a, gchar **b) 987s # { 987s # gboolean ret = FALSE; 987s # guint n; 987s # if (a == NULL && b == NULL) 987s # { 987s # ret = TRUE; 987s # goto out; 987s # } 987s # if (a == NULL || b == NULL) 987s # goto out; 987s # if (g_strv_length (a) != g_strv_length (b)) 987s # goto out; 987s # for (n = 0; a[n] != NULL; n++) 987s # if (g_strcmp0 (a[n], b[n]) != 0) 987s # goto out; 987s # ret = TRUE; 987s # out: 987s # return ret; 987s # } 987s # 987s # static gboolean 987s # _g_variant_equal0 (GVariant *a, GVariant *b) 987s # { 987s # gboolean ret = FALSE; 987s # if (a == NULL && b == NULL) 987s # { 987s # ret = TRUE; 987s # goto out; 987s # } 987s # if (a == NULL || b == NULL) 987s # goto out; 987s # ret = g_variant_equal (a, b); 987s # out: 987s # return ret; 987s # } 987s # 987s # G_GNUC_UNUSED static gboolean 987s # _g_value_equal (const GValue *a, const GValue *b) 987s # { 987s # gboolean ret = FALSE; 987s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 987s # switch (G_VALUE_TYPE (a)) 987s # { 987s # case G_TYPE_BOOLEAN: 987s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 987s # break; 987s # case G_TYPE_UCHAR: 987s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 987s # break; 987s # case G_TYPE_INT: 987s # ret = (g_value_get_int (a) == g_value_get_int (b)); 987s # break; 987s # case G_TYPE_UINT: 987s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 987s # break; 987s # case G_TYPE_INT64: 987s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 987s # break; 987s # case G_TYPE_UINT64: 987s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 987s # break; 987s # case G_TYPE_DOUBLE: 987s # { 987s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 987s # gdouble da = g_value_get_double (a); 987s # gdouble db = g_value_get_double (b); 987s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 987s # } 987s # break; 987s # case G_TYPE_STRING: 987s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 987s # break; 987s # case G_TYPE_VARIANT: 987s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 987s # break; 987s # default: 987s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 987s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 987s # else 987s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 987s # break; 987s # } 987s # return ret; 987s # } 987s # 987s # /* ------------------------------------------------------------------------ 987s # * Code for interface GoodTypes 987s # * ------------------------------------------------------------------------ 987s # */ 987s # 987s # /** 987s # * SECTION:GoodTypes 987s # * @title: GoodTypes 987s # * @short_description: Generated C code for the GoodTypes D-Bus interface 987s # * 987s # * This section contains code for working with the GoodTypes D-Bus interface in C. 987s # */ 987s # 987s # /* ---- Introspection data for GoodTypes ---- */ 987s # 987s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 987s # { 987s # { 987s # -1, 987s # (gchar *) "GoodPropertyType", 987s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 987s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 987s # NULL 987s # }, 987s # "good-property-type", 987s # FALSE, 987s # TRUE 987s # }; 987s # 987s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 987s # { 987s # &_good_types_property_info_good_property_type.parent_struct, 987s # NULL 987s # }; 987s # 987s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 987s # { 987s # { 987s # -1, 987s # (gchar *) "GoodTypes", 987s # NULL, 987s # NULL, 987s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 987s # NULL 987s # }, 987s # "good-types", 987s # }; 987s # 987s # 987s # /** 987s # * good_types_interface_info: 987s # * 987s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 987s # * 987s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 987s # */ 987s # GDBusInterfaceInfo * 987s # good_types_interface_info (void) 987s # { 987s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 987s # } 987s # 987s # /** 987s # * good_types_override_properties: 987s # * @klass: The class structure for a #GObject derived class. 987s # * @property_id_begin: The property id to assign to the first overridden property. 987s # * 987s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 987s # * The properties are overridden in the order they are defined. 987s # * 987s # * Returns: The last property id. 987s # */ 987s # guint 987s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 987s # { 987s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 987s # return property_id_begin - 1; 987s # } 987s # 987s # 987s # 987s # /** 987s # * GoodTypes: 987s # * 987s # * Abstract interface type for the D-Bus interface GoodTypes. 987s # */ 987s # 987s # /** 987s # * GoodTypesIface: 987s # * @parent_iface: The parent interface. 987s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 987s # * 987s # * Virtual table for the D-Bus interface GoodTypes. 987s # */ 987s # 987s # typedef GoodTypesIface GoodTypesInterface; 987s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 987s # 987s # static void 987s # good_types_default_init (GoodTypesIface *iface) 987s # { 987s # /* GObject properties for D-Bus properties: */ 987s # /** 987s # * GoodTypes:good-property-type: 987s # * 987s # * Represents the D-Bus property "GoodPropertyType". 987s # * 987s # * 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. 987s # */ 987s # g_object_interface_install_property (iface, 987s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 987s # } 987s # 987s # /** 987s # * good_types_get_good_property_type: (skip) 987s # * @object: A GoodTypes. 987s # * 987s # * Gets the value of the "GoodPropertyType" D-Bus property. 987s # * 987s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 987s # * 987s # * 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. 987s # * 987s # * 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. 987s # */ 987s # GVariant * 987s # good_types_get_good_property_type (GoodTypes *object) 987s # { 987s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 987s # 987s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 987s # } 987s # 987s # /** 987s # * good_types_dup_good_property_type: (skip) 987s # * @object: A GoodTypes. 987s # * 987s # * Gets a copy of the "GoodPropertyType" D-Bus property. 987s # * 987s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 987s # * 987s # * 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(). 987s # */ 987s # GVariant * 987s # good_types_dup_good_property_type (GoodTypes *object) 987s # { 987s # GVariant *value; 987s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 987s # return value; 987s # } 987s # 987s # /** 987s # * good_types_set_good_property_type: (skip) 987s # * @object: A GoodTypes. 987s # * @value: The value to set. 987s # * 987s # * Sets the "GoodPropertyType" D-Bus property to @value. 987s # * 987s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 987s # */ 987s # void 987s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 987s # { 987s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 987s # } 987s # 987s # /* ------------------------------------------------------------------------ */ 987s # 987s # /** 987s # * GoodTypesProxy: 987s # * 987s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 987s # */ 987s # 987s # /** 987s # * GoodTypesProxyClass: 987s # * @parent_class: The parent class. 987s # * 987s # * Class structure for GoodTypesProxy. 987s # */ 987s # 987s # struct _GoodTypesProxyPrivate 987s # { 987s # GData *qdata; 987s # }; 987s # 987s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 987s # 987s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 987s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 987s # G_ADD_PRIVATE (GoodTypesProxy) 987s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 987s # 987s # #else 987s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 987s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 987s # 987s # #endif 987s # static void 987s # good_types_proxy_finalize (GObject *object) 987s # { 987s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 987s # g_datalist_clear (&proxy->priv->qdata); 987s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 987s # } 987s # 987s # static void 987s # good_types_proxy_get_property (GObject *object, 987s # guint prop_id, 987s # GValue *value, 987s # GParamSpec *pspec G_GNUC_UNUSED) 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # GVariant *variant; 987s # g_assert (prop_id != 0 && prop_id - 1 < 1); 987s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 987s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 987s # if (info->use_gvariant) 987s # { 987s # g_value_set_variant (value, variant); 987s # } 987s # else 987s # { 987s # if (variant != NULL) 987s # g_dbus_gvariant_to_gvalue (variant, value); 987s # } 987s # if (variant != NULL) 987s # g_variant_unref (variant); 987s # } 987s # 987s # static void 987s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 987s # GAsyncResult *res, 987s # gpointer user_data) 987s # { 987s # const _ExtendedGDBusPropertyInfo *info = user_data; 987s # GError *error; 987s # GVariant *_ret; 987s # error = NULL; 987s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 987s # if (!_ret) 987s # { 987s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 987s # info->parent_struct.name, 987s # error->message, g_quark_to_string (error->domain), error->code); 987s # g_error_free (error); 987s # } 987s # else 987s # { 987s # g_variant_unref (_ret); 987s # } 987s # } 987s # 987s # static void 987s # good_types_proxy_set_property (GObject *object, 987s # guint prop_id, 987s # const GValue *value, 987s # GParamSpec *pspec G_GNUC_UNUSED) 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # GVariant *variant; 987s # g_assert (prop_id != 0 && prop_id - 1 < 1); 987s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 987s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 987s # g_dbus_proxy_call (G_DBUS_PROXY (object), 987s # "org.freedesktop.DBus.Properties.Set", 987s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 987s # G_DBUS_CALL_FLAGS_NONE, 987s # -1, 987s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 987s # g_variant_unref (variant); 987s # } 987s # 987s # static void 987s # good_types_proxy_g_signal (GDBusProxy *proxy, 987s # const gchar *sender_name G_GNUC_UNUSED, 987s # const gchar *signal_name, 987s # GVariant *parameters) 987s # { 987s # _ExtendedGDBusSignalInfo *info; 987s # GVariantIter iter; 987s # GVariant *child; 987s # GValue *paramv; 987s # gsize num_params; 987s # gsize n; 987s # guint signal_id; 987s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 987s # if (info == NULL) 987s # return; 987s # num_params = g_variant_n_children (parameters); 987s # paramv = g_new0 (GValue, num_params + 1); 987s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 987s # g_value_set_object (¶mv[0], proxy); 987s # g_variant_iter_init (&iter, parameters); 987s # n = 1; 987s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 987s # { 987s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 987s # if (arg_info->use_gvariant) 987s # { 987s # g_value_init (¶mv[n], G_TYPE_VARIANT); 987s # g_value_set_variant (¶mv[n], child); 987s # n++; 987s # } 987s # else 987s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 987s # g_variant_unref (child); 987s # } 987s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 987s # g_signal_emitv (paramv, signal_id, 0, NULL); 987s # for (n = 0; n < num_params + 1; n++) 987s # g_value_unset (¶mv[n]); 987s # g_free (paramv); 987s # } 987s # 987s # static void 987s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 987s # GVariant *changed_properties, 987s # const gchar *const *invalidated_properties) 987s # { 987s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 987s # guint n; 987s # const gchar *key; 987s # GVariantIter *iter; 987s # _ExtendedGDBusPropertyInfo *info; 987s # g_variant_get (changed_properties, "a{sv}", &iter); 987s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 987s # { 987s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 987s # g_datalist_remove_data (&proxy->priv->qdata, key); 987s # if (info != NULL) 987s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 987s # } 987s # g_variant_iter_free (iter); 987s # for (n = 0; invalidated_properties[n] != NULL; n++) 987s # { 987s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 987s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 987s # if (info != NULL) 987s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 987s # } 987s # } 987s # 987s # static GVariant * 987s # good_types_proxy_get_good_property_type (GoodTypes *object) 987s # { 987s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 987s # GVariant *variant; 987s # GVariant *value = NULL; 987s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 987s # value = variant; 987s # if (variant != NULL) 987s # g_variant_unref (variant); 987s # return value; 987s # } 987s # 987s # static void 987s # good_types_proxy_init (GoodTypesProxy *proxy) 987s # { 987s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 987s # proxy->priv = good_types_proxy_get_instance_private (proxy); 987s # #else 987s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 987s # #endif 987s # 987s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 987s # } 987s # 987s # static void 987s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 987s # { 987s # GObjectClass *gobject_class; 987s # GDBusProxyClass *proxy_class; 987s # 987s # gobject_class = G_OBJECT_CLASS (klass); 987s # gobject_class->finalize = good_types_proxy_finalize; 987s # gobject_class->get_property = good_types_proxy_get_property; 987s # gobject_class->set_property = good_types_proxy_set_property; 987s # 987s # proxy_class = G_DBUS_PROXY_CLASS (klass); 987s # proxy_class->g_signal = good_types_proxy_g_signal; 987s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 987s # 987s # good_types_override_properties (gobject_class, 1); 987s # 987s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 987s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 987s # #endif 987s # } 987s # 987s # static void 987s # good_types_proxy_iface_init (GoodTypesIface *iface) 987s # { 987s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 987s # } 987s # 987s # /** 987s # * good_types_proxy_new: 987s # * @connection: A #GDBusConnection. 987s # * @flags: Flags from the #GDBusProxyFlags enumeration. 987s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 987s # * @object_path: An object path. 987s # * @cancellable: (nullable): A #GCancellable or %NULL. 987s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 987s # * @user_data: User data to pass to @callback. 987s # * 987s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 987s # * 987s # * 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()). 987s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 987s # * 987s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 987s # */ 987s # void 987s # good_types_proxy_new ( 987s # GDBusConnection *connection, 987s # GDBusProxyFlags flags, 987s # const gchar *name, 987s # const gchar *object_path, 987s # GCancellable *cancellable, 987s # GAsyncReadyCallback callback, 987s # gpointer user_data) 987s # { 987s # 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); 987s # } 987s # 987s # /** 987s # * good_types_proxy_new_finish: 987s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 987s # * @error: Return location for error or %NULL 987s # * 987s # * Finishes an operation started with good_types_proxy_new(). 987s # * 987s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 987s # */ 987s # GoodTypes * 987s # good_types_proxy_new_finish ( 987s # GAsyncResult *res, 987s # GError **error) 987s # { 987s # GObject *ret; 987s # GObject *source_object; 987s # source_object = g_async_result_get_source_object (res); 987s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 987s # g_object_unref (source_object); 987s # if (ret != NULL) 987s # return GOOD_TYPES (ret); 987s # else 987s # return NULL; 987s # } 987s # 987s # /** 987s # * good_types_proxy_new_sync: 987s # * @connection: A #GDBusConnection. 987s # * @flags: Flags from the #GDBusProxyFlags enumeration. 987s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 987s # * @object_path: An object path. 987s # * @cancellable: (nullable): A #GCancellable or %NULL. 987s # * @error: Return location for error or %NULL 987s # * 987s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 987s # * 987s # * The calling thread is blocked until a reply is received. 987s # * 987s # * See good_types_proxy_new() for the asynchronous version of this constructor. 987s # * 987s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 987s # */ 987s # GoodTypes * 987s # good_types_proxy_new_sync ( 987s # GDBusConnection *connection, 987s # GDBusProxyFlags flags, 987s # const gchar *name, 987s # const gchar *object_path, 987s # GCancellable *cancellable, 987s # GError **error) 987s # { 987s # GInitable *ret; 987s # 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); 987s # if (ret != NULL) 987s # return GOOD_TYPES (ret); 987s # else 987s # return NULL; 987s # } 987s # 987s # 987s # /** 987s # * good_types_proxy_new_for_bus: 987s # * @bus_type: A #GBusType. 987s # * @flags: Flags from the #GDBusProxyFlags enumeration. 987s # * @name: A bus name (well-known or unique). 987s # * @object_path: An object path. 987s # * @cancellable: (nullable): A #GCancellable or %NULL. 987s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 987s # * @user_data: User data to pass to @callback. 987s # * 987s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 987s # * 987s # * 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()). 987s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 987s # * 987s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 987s # */ 987s # void 987s # good_types_proxy_new_for_bus ( 987s # GBusType bus_type, 987s # GDBusProxyFlags flags, 987s # const gchar *name, 987s # const gchar *object_path, 987s # GCancellable *cancellable, 987s # GAsyncReadyCallback callback, 987s # gpointer user_data) 987s # { 987s # 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); 987s # } 987s # 987s # /** 987s # * good_types_proxy_new_for_bus_finish: 987s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 987s # * @error: Return location for error or %NULL 987s # * 987s # * Finishes an operation started with good_types_proxy_new_for_bus(). 987s # * 987s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 987s # */ 987s # GoodTypes * 987s # good_types_proxy_new_for_bus_finish ( 987s # GAsyncResult *res, 987s # GError **error) 987s # { 987s # GObject *ret; 987s # GObject *source_object; 987s # source_object = g_async_result_get_source_object (res); 987s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 987s # g_object_unref (source_object); 987s # if (ret != NULL) 987s # return GOOD_TYPES (ret); 987s # else 987s # return NULL; 987s # } 987s # 987s # /** 987s # * good_types_proxy_new_for_bus_sync: 987s # * @bus_type: A #GBusType. 987s # * @flags: Flags from the #GDBusProxyFlags enumeration. 987s # * @name: A bus name (well-known or unique). 987s # * @object_path: An object path. 987s # * @cancellable: (nullable): A #GCancellable or %NULL. 987s # * @error: Return location for error or %NULL 987s # * 987s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 987s # * 987s # * The calling thread is blocked until a reply is received. 987s # * 987s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 987s # * 987s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 987s # */ 987s # GoodTypes * 987s # good_types_proxy_new_for_bus_sync ( 987s # GBusType bus_type, 987s # GDBusProxyFlags flags, 987s # const gchar *name, 987s # const gchar *object_path, 987s # GCancellable *cancellable, 987s # GError **error) 987s # { 987s # GInitable *ret; 987s # 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); 987s # if (ret != NULL) 987s # return GOOD_TYPES (ret); 987s # else 987s # return NULL; 987s # } 987s # 987s # 987s # /* ------------------------------------------------------------------------ */ 987s # 987s # /** 987s # * GoodTypesSkeleton: 987s # * 987s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 987s # */ 987s # 987s # /** 987s # * GoodTypesSkeletonClass: 987s # * @parent_class: The parent class. 987s # * 987s # * Class structure for GoodTypesSkeleton. 987s # */ 987s # 987s # struct _GoodTypesSkeletonPrivate 987s # { 987s # GValue *properties; 987s # GList *changed_properties; 987s # GSource *changed_properties_idle_source; 987s # GMainContext *context; 987s # GMutex lock; 987s # }; 987s # 987s # static void 987s # _good_types_skeleton_handle_method_call ( 987s # GDBusConnection *connection G_GNUC_UNUSED, 987s # const gchar *sender G_GNUC_UNUSED, 987s # const gchar *object_path G_GNUC_UNUSED, 987s # const gchar *interface_name, 987s # const gchar *method_name, 987s # GVariant *parameters, 987s # GDBusMethodInvocation *invocation, 987s # gpointer user_data) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 987s # _ExtendedGDBusMethodInfo *info; 987s # GVariantIter iter; 987s # GVariant *child; 987s # GValue *paramv; 987s # gsize num_params; 987s # guint num_extra; 987s # gsize n; 987s # guint signal_id; 987s # GValue return_value = G_VALUE_INIT; 987s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 987s # g_assert (info != NULL); 987s # num_params = g_variant_n_children (parameters); 987s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 987s # n = 0; 987s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 987s # g_value_set_object (¶mv[n++], skeleton); 987s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 987s # g_value_set_object (¶mv[n++], invocation); 987s # if (info->pass_fdlist) 987s # { 987s # #ifdef G_OS_UNIX 987s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 987s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 987s # #else 987s # g_assert_not_reached (); 987s # #endif 987s # } 987s # g_variant_iter_init (&iter, parameters); 987s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 987s # { 987s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 987s # if (arg_info->use_gvariant) 987s # { 987s # g_value_init (¶mv[n], G_TYPE_VARIANT); 987s # g_value_set_variant (¶mv[n], child); 987s # n++; 987s # } 987s # else 987s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 987s # g_variant_unref (child); 987s # } 987s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 987s # g_value_init (&return_value, G_TYPE_BOOLEAN); 987s # g_signal_emitv (paramv, signal_id, 0, &return_value); 987s # if (!g_value_get_boolean (&return_value)) 987s # 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); 987s # g_value_unset (&return_value); 987s # for (n = 0; n < num_params + num_extra; n++) 987s # g_value_unset (¶mv[n]); 987s # g_free (paramv); 987s # } 987s # 987s # static GVariant * 987s # _good_types_skeleton_handle_get_property ( 987s # GDBusConnection *connection G_GNUC_UNUSED, 987s # const gchar *sender G_GNUC_UNUSED, 987s # const gchar *object_path G_GNUC_UNUSED, 987s # const gchar *interface_name G_GNUC_UNUSED, 987s # const gchar *property_name, 987s # GError **error, 987s # gpointer user_data) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 987s # GValue value = G_VALUE_INIT; 987s # GParamSpec *pspec; 987s # _ExtendedGDBusPropertyInfo *info; 987s # GVariant *ret; 987s # ret = NULL; 987s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 987s # g_assert (info != NULL); 987s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 987s # if (pspec == NULL) 987s # { 987s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 987s # } 987s # else 987s # { 987s # g_value_init (&value, pspec->value_type); 987s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 987s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 987s # g_value_unset (&value); 987s # } 987s # return ret; 987s # } 987s # 987s # static gboolean 987s # _good_types_skeleton_handle_set_property ( 987s # GDBusConnection *connection G_GNUC_UNUSED, 987s # const gchar *sender G_GNUC_UNUSED, 987s # const gchar *object_path G_GNUC_UNUSED, 987s # const gchar *interface_name G_GNUC_UNUSED, 987s # const gchar *property_name, 987s # GVariant *variant, 987s # GError **error, 987s # gpointer user_data) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 987s # GValue value = G_VALUE_INIT; 987s # GParamSpec *pspec; 987s # _ExtendedGDBusPropertyInfo *info; 987s # gboolean ret; 987s # ret = FALSE; 987s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 987s # g_assert (info != NULL); 987s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 987s # if (pspec == NULL) 987s # { 987s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 987s # } 987s # else 987s # { 987s # if (info->use_gvariant) 987s # g_value_set_variant (&value, variant); 987s # else 987s # g_dbus_gvariant_to_gvalue (variant, &value); 987s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 987s # g_value_unset (&value); 987s # ret = TRUE; 987s # } 987s # return ret; 987s # } 987s # 987s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 987s # { 987s # _good_types_skeleton_handle_method_call, 987s # _good_types_skeleton_handle_get_property, 987s # _good_types_skeleton_handle_set_property, 987s # {NULL} 987s # }; 987s # 987s # static GDBusInterfaceInfo * 987s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 987s # { 987s # return good_types_interface_info (); 987s # } 987s # 987s # static GDBusInterfaceVTable * 987s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 987s # { 987s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 987s # } 987s # 987s # static GVariant * 987s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 987s # 987s # GVariantBuilder builder; 987s # guint n; 987s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 987s # if (_good_types_interface_info.parent_struct.properties == NULL) 987s # goto out; 987s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 987s # { 987s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 987s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 987s # { 987s # GVariant *value; 987s # 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); 987s # if (value != NULL) 987s # { 987s # g_variant_take_ref (value); 987s # g_variant_builder_add (&builder, "{sv}", info->name, value); 987s # g_variant_unref (value); 987s # } 987s # } 987s # } 987s # out: 987s # return g_variant_builder_end (&builder); 987s # } 987s # 987s # static gboolean _good_types_emit_changed (gpointer user_data); 987s # 987s # static void 987s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 987s # gboolean emit_changed = FALSE; 987s # 987s # g_mutex_lock (&skeleton->priv->lock); 987s # if (skeleton->priv->changed_properties_idle_source != NULL) 987s # { 987s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 987s # skeleton->priv->changed_properties_idle_source = NULL; 987s # emit_changed = TRUE; 987s # } 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # 987s # if (emit_changed) 987s # _good_types_emit_changed (skeleton); 987s # } 987s # 987s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 987s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 987s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 987s # G_ADD_PRIVATE (GoodTypesSkeleton) 987s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 987s # 987s # #else 987s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 987s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 987s # 987s # #endif 987s # static void 987s # good_types_skeleton_finalize (GObject *object) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # guint n; 987s # for (n = 0; n < 1; n++) 987s # g_value_unset (&skeleton->priv->properties[n]); 987s # g_free (skeleton->priv->properties); 987s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 987s # if (skeleton->priv->changed_properties_idle_source != NULL) 987s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 987s # g_main_context_unref (skeleton->priv->context); 987s # g_mutex_clear (&skeleton->priv->lock); 987s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 987s # } 987s # 987s # static void 987s # good_types_skeleton_get_property (GObject *object, 987s # guint prop_id, 987s # GValue *value, 987s # GParamSpec *pspec G_GNUC_UNUSED) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # g_assert (prop_id != 0 && prop_id - 1 < 1); 987s # g_mutex_lock (&skeleton->priv->lock); 987s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # } 987s # 987s # static gboolean 987s # _good_types_emit_changed (gpointer user_data) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 987s # GList *l; 987s # GVariantBuilder builder; 987s # GVariantBuilder invalidated_builder; 987s # guint num_changes; 987s # 987s # g_mutex_lock (&skeleton->priv->lock); 987s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 987s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 987s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 987s # { 987s # ChangedProperty *cp = l->data; 987s # GVariant *variant; 987s # const GValue *cur_value; 987s # 987s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 987s # if (!_g_value_equal (cur_value, &cp->orig_value)) 987s # { 987s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 987s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 987s # g_variant_unref (variant); 987s # num_changes++; 987s # } 987s # } 987s # if (num_changes > 0) 987s # { 987s # GList *connections, *ll; 987s # GVariant *signal_variant; 987s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 987s # &builder, &invalidated_builder)); 987s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 987s # for (ll = connections; ll != NULL; ll = ll->next) 987s # { 987s # GDBusConnection *connection = ll->data; 987s # 987s # g_dbus_connection_emit_signal (connection, 987s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 987s # "org.freedesktop.DBus.Properties", 987s # "PropertiesChanged", 987s # signal_variant, 987s # NULL); 987s # } 987s # g_variant_unref (signal_variant); 987s # g_list_free_full (connections, g_object_unref); 987s # } 987s # else 987s # { 987s # g_variant_builder_clear (&builder); 987s # g_variant_builder_clear (&invalidated_builder); 987s # } 987s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 987s # skeleton->priv->changed_properties = NULL; 987s # skeleton->priv->changed_properties_idle_source = NULL; 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # return FALSE; 987s # } 987s # 987s # static void 987s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 987s # { 987s # ChangedProperty *cp; 987s # GList *l; 987s # cp = NULL; 987s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 987s # { 987s # ChangedProperty *i_cp = l->data; 987s # if (i_cp->info == info) 987s # { 987s # cp = i_cp; 987s # break; 987s # } 987s # } 987s # if (cp == NULL) 987s # { 987s # cp = g_new0 (ChangedProperty, 1); 987s # cp->prop_id = prop_id; 987s # cp->info = info; 987s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 987s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 987s # g_value_copy (orig_value, &cp->orig_value); 987s # } 987s # } 987s # 987s # static void 987s # good_types_skeleton_notify (GObject *object, 987s # GParamSpec *pspec G_GNUC_UNUSED) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # g_mutex_lock (&skeleton->priv->lock); 987s # if (skeleton->priv->changed_properties != NULL && 987s # skeleton->priv->changed_properties_idle_source == NULL) 987s # { 987s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 987s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 987s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 987s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 987s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 987s # g_source_unref (skeleton->priv->changed_properties_idle_source); 987s # } 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # } 987s # 987s # static void 987s # good_types_skeleton_set_property (GObject *object, 987s # guint prop_id, 987s # const GValue *value, 987s # GParamSpec *pspec) 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # g_assert (prop_id != 0 && prop_id - 1 < 1); 987s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 987s # g_mutex_lock (&skeleton->priv->lock); 987s # g_object_freeze_notify (object); 987s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 987s # { 987s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 987s # info->emits_changed_signal) 987s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 987s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 987s # g_object_notify_by_pspec (object, pspec); 987s # } 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # g_object_thaw_notify (object); 987s # } 987s # 987s # static void 987s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 987s # { 987s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 987s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 987s # #else 987s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 987s # #endif 987s # 987s # g_mutex_init (&skeleton->priv->lock); 987s # skeleton->priv->context = g_main_context_ref_thread_default (); 987s # skeleton->priv->properties = g_new0 (GValue, 1); 987s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 987s # } 987s # 987s # static GVariant * 987s # good_types_skeleton_get_good_property_type (GoodTypes *object) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # GVariant *value; 987s # g_mutex_lock (&skeleton->priv->lock); 987s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # return value; 987s # } 987s # 987s # static void 987s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 987s # { 987s # GObjectClass *gobject_class; 987s # GDBusInterfaceSkeletonClass *skeleton_class; 987s # 987s # gobject_class = G_OBJECT_CLASS (klass); 987s # gobject_class->finalize = good_types_skeleton_finalize; 987s # gobject_class->get_property = good_types_skeleton_get_property; 987s # gobject_class->set_property = good_types_skeleton_set_property; 987s # gobject_class->notify = good_types_skeleton_notify; 987s # 987s # 987s # good_types_override_properties (gobject_class, 1); 987s # 987s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 987s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 987s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 987s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 987s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 987s # 987s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 987s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 987s # #endif 987s # } 987s # 987s # static void 987s # good_types_skeleton_iface_init (GoodTypesIface *iface) 987s # { 987s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 987s # } 987s # 987s # /** 987s # * good_types_skeleton_new: 987s # * 987s # * Creates a skeleton object for the D-Bus interface GoodTypes. 987s # * 987s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 987s # */ 987s # GoodTypes * 987s # good_types_skeleton_new (void) 987s # { 987s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 987s # } 987s # /tmp/tmpxwp040um/tmp1ri_die6.xml: 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwp040um/tmp1ri_die6.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # Output: /* 987s # * This file is generated by gdbus-codegen, do not modify it. 987s # * 987s # * The license of this code is the same as for the D-Bus interface description 987s # * it was derived from. Note that it links to GLib, so must comply with the 987s # * LGPL linking clauses. 987s # */ 987s # 987s # #ifdef HAVE_CONFIG_H 987s # # include "config.h" 987s # #endif 987s # 987s # #include 987s # #ifdef G_OS_UNIX 987s # # include 987s # #endif 987s # 987s # #ifdef G_ENABLE_DEBUG 987s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 987s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 987s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 987s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 987s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 987s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 987s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 987s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 987s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 987s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 987s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 987s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 987s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 987s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 987s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 987s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 987s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 987s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 987s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 987s # #else /* !G_ENABLE_DEBUG */ 987s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 987s # * Do not access GValues directly in your code. Instead, use the 987s # * g_value_get_*() functions 987s # */ 987s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 987s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 987s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 987s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 987s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 987s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 987s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 987s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 987s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 987s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 987s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 987s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 987s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 987s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 987s # #endif /* !G_ENABLE_DEBUG */ 987s # 987s # typedef struct 987s # { 987s # GDBusArgInfo parent_struct; 987s # gboolean use_gvariant; 987s # } _ExtendedGDBusArgInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusMethodInfo parent_struct; 987s # const gchar *signal_name; 987s # gboolean pass_fdlist; 987s # } _ExtendedGDBusMethodInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusSignalInfo parent_struct; 987s # const gchar *signal_name; 987s # } _ExtendedGDBusSignalInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusPropertyInfo parent_struct; 987s # const gchar *hyphen_name; 987s # guint use_gvariant : 1; 987s # guint emits_changed_signal : 1; 987s # } _ExtendedGDBusPropertyInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusInterfaceInfo parent_struct; 987s # const gchar *hyphen_name; 987s # } _ExtendedGDBusInterfaceInfo; 987s # 987s # typedef struct 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # guint prop_id; 987s # GValue orig_value; /* the value before the change */ 987s # } ChangedProperty; 987s # 987s # static void 987s # _changed_property_free (ChangedProperty *data) 987s # { 987s # g_value_unset (&data->orig_value); 987s # g_free (data); 987s # } 987s # 987s # static gboolean 987s # _g_strv_equal0 (gchar **a, gchar **b) 987s # { 987s # gboolean ret = FALSE; 987s # guint n; 987s # if (a == NULL && b == NULL) 987s # { 987s # ret = TRUE; 987s # goto out; 987s # } 987s # if (a == NULL || b == NULL) 987s # goto out; 987s # if (g_strv_length (a) != g_strv_length (b)) 987s # goto out; 987s # for (n = 0; a[n] != NULL; n++) 987s # if (g_strcmp0 (a[n], b[n]) != 0) 987s # goto out; 987s # ret = TRUE; 987s # out: 987s # return ret; 987s # } 987s # 987s # static gboolean 987s # _g_variant_equal0 (GVariant *a, GVariant *b) 987s # { 987s # gboolean ret = FALSE; 987s # if (a == NULL && b == NULL) 987s # { 987s # ret = TRUE; 987s # goto out; 987s # } 987s # if (a == NULL || b == NULL) 987s # goto out; 987s # ret = g_variant_equal (a, b); 987s # out: 987s # return ret; 987s # } 987s # 987s # G_GNUC_UNUSED static gboolean 987s # _g_value_equal (const GValue *a, const GValue *b) 987s # { 987s # gboolean ret = FALSE; 987s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 987s # switch (G_VALUE_TYPE (a)) 987s # { 987s # case G_TYPE_BOOLEAN: 987s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 987s # break; 987s # case G_TYPE_UCHAR: 987s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 987s # break; 987s # case G_TYPE_INT: 987s # ret = (g_value_get_int (a) == g_value_get_int (b)); 987s # break; 987s # case G_TYPE_UINT: 987s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 987s # break; 987s # case G_TYPE_INT64: 987s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 987s # break; 987s # case G_TYPE_UINT64: 987s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 987s # break; 987s # case G_TYPE_DOUBLE: 987s # { 987s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 987s # gdouble da = g_value_get_double (a); 987s # gdouble db = g_value_get_double (b); 987s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 987s # } 987s # break; 987s # case G_TYPE_STRING: 987s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 987s # break; 987s # case G_TYPE_VARIANT: 987s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 987s # break; 987s # default: 987s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 987s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 987s # else 987s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 987s # break; 987s # } 987s # return ret; 987s # } 987s # 987s # /* ------------------------------------------------------------------------ 987s # * Code for interface GoodTypes 987s # * ------------------------------------------------------------------------ 987s # */ 987s # 987s # /** 987s # * SECTION:GoodTypes 987s # * @title: GoodTypes 987s # * @short_description: Generated C code for the GoodTypes D-Bus interface 987s # * 987s # * This section contains code for working with the GoodTypes D-Bus interface in C. 987s # */ 987s # 987s # /* ---- Introspection data for GoodTypes ---- */ 987s # 987s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 987s # { 987s # { 987s # -1, 987s # (gchar *) "GoodPropertyType", 987s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 987s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 987s # NULL 987s # }, 987s # "good-property-type", 987s # FALSE, 987s # TRUE 987s # }; 987s # 987s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 987s # { 987s # &_good_types_property_info_good_property_type.parent_struct, 987s # NULL 987s # }; 987s # 987s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 987s # { 987s # { 987s # -1, 987s # (gchar *) "GoodTypes", 987s # NULL, 987s # NULL, 987s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 987s # NULL 987s # }, 987s # "good-types", 987s # }; 987s # 987s # 987s # /** 987s # * good_types_interface_info: 987s # * 987s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 987s # * 987s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 987s # */ 987s # GDBusInterfaceInfo * 987s # good_types_interface_info (void) 987s # { 987s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 987s # } 987s # 987s # /** 987s # * good_types_override_properties: 987s # * @klass: The class structure for a #GObject derived class. 987s # * @property_id_begin: The property id to assign to the first overridden property. 987s # * 987s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 987s # * The properties are overridden in the order they are defined. 987s # * 987s # * Returns: The last property id. 987s # */ 987s # guint 987s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 987s # { 987s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 987s # return property_id_begin - 1; 987s # } 987s # 987s # 987s # 987s # /** 987s # * GoodTypes: 987s # * 987s # * Abstract interface type for the D-Bus interface GoodTypes. 987s # */ 987s # 987s # /** 987s # * GoodTypesIface: 987s # * @parent_iface: The parent interface. 987s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 987s # * 987s # * Virtual table for the D-Bus interface GoodTypes. 987s # */ 987s # 987s # typedef GoodTypesIface GoodTypesInterface; 987s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 987s # 987s # static void 987s # good_types_default_init (GoodTypesIface *iface) 987s # { 987s # /* GObject properties for D-Bus properties: */ 987s # /** 987s # * GoodTypes:good-property-type: 987s # * 987s # * Represents the D-Bus property "GoodPropertyType". 987s # * 987s # * 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. 987s # */ 987s # g_object_interface_install_property (iface, 987s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 987s # } 987s # 987s # /** 987s # * good_types_get_good_property_type: (skip) 987s # * @object: A GoodTypes. 987s # * 987s # * Gets the value of the "GoodPropertyType" D-Bus property. 987s # * 987s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 987s # * 987s # * 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. 987s # * 987s # * 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. 987s # */ 987s # GVariant * 987s # good_types_get_good_property_type (GoodTypes *object) 987s # { 987s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 987s # 987s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 987s # } 987s # 987s # /** 987s # * good_types_dup_good_property_type: (skip) 987s # * @object: A GoodTypes. 987s # * 987s # * Gets a copy of the "GoodPropertyType" D-Bus property. 987s # * 987s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 987s # * 987s # * 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(). 987s # */ 987s # GVariant * 987s # good_types_dup_good_property_type (GoodTypes *object) 987s # { 987s # GVariant *value; 987s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 987s # return value; 987s # } 987s # 987s # /** 987s # * good_types_set_good_property_type: (skip) 987s # * @object: A GoodTypes. 987s # * @value: The value to set. 987s # * 987s # * Sets the "GoodPropertyType" D-Bus property to @value. 987s # * 987s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 987s # */ 987s # void 987s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 987s # { 987s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 987s # } 987s # 987s # /* ------------------------------------------------------------------------ */ 987s # 987s # /** 987s # * GoodTypesProxy: 987s # * 987s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 987s # */ 987s # 987s # /** 987s # * GoodTypesProxyClass: 987s # * @parent_class: The parent class. 987s # * 987s # * Class structure for GoodTypesProxy. 987s # */ 987s # 987s # struct _GoodTypesProxyPrivate 987s # { 987s # GData *qdata; 987s # }; 987s # 987s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 987s # 987s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 987s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 987s # G_ADD_PRIVATE (GoodTypesProxy) 987s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 987s # 987s # #else 987s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 987s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 987s # 987s # #endif 987s # static void 987s # good_types_proxy_finalize (GObject *object) 987s # { 987s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 987s # g_datalist_clear (&proxy->priv->qdata); 987s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 987s # } 987s # 987s # static void 987s # good_types_proxy_get_property (GObject *object, 987s # guint prop_id, 987s # GValue *value, 987s # GParamSpec *pspec G_GNUC_UNUSED) 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # GVariant *variant; 987s # g_assert (prop_id != 0 && prop_id - 1 < 1); 987s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 987s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 987s # if (info->use_gvariant) 987s # { 987s # g_value_set_variant (value, variant); 987s # } 987s # else 987s # { 987s # if (variant != NULL) 987s # g_dbus_gvariant_to_gvalue (variant, value); 987s # } 987s # if (variant != NULL) 987s # g_variant_unref (variant); 987s # } 987s # 987s # static void 987s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 987s # GAsyncResult *res, 987s # gpointer user_data) 987s # { 987s # const _ExtendedGDBusPropertyInfo *info = user_data; 987s # GError *error; 987s # GVariant *_ret; 987s # error = NULL; 987s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 987s # if (!_ret) 987s # { 987s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 987s # info->parent_struct.name, 987s # error->message, g_quark_to_string (error->domain), error->code); 987s # g_error_free (error); 987s # } 987s # else 987s # { 987s # g_variant_unref (_ret); 987s # } 987s # } 987s # 987s # static void 987s # good_types_proxy_set_property (GObject *object, 987s # guint prop_id, 987s # const GValue *value, 987s # GParamSpec *pspec G_GNUC_UNUSED) 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # GVariant *variant; 987s # g_assert (prop_id != 0 && prop_id - 1 < 1); 987s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 987s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 987s # g_dbus_proxy_call (G_DBUS_PROXY (object), 987s # "org.freedesktop.DBus.Properties.Set", 987s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 987s # G_DBUS_CALL_FLAGS_NONE, 987s # -1, 987s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 987s # g_variant_unref (variant); 987s # } 987s # 987s # static void 987s # good_types_proxy_g_signal (GDBusProxy *proxy, 987s # const gchar *sender_name G_GNUC_UNUSED, 987s # const gchar *signal_name, 987s # GVariant *parameters) 987s # { 987s # _ExtendedGDBusSignalInfo *info; 987s # GVariantIter iter; 987s # GVariant *child; 987s # GValue *paramv; 987s # gsize num_params; 987s # gsize n; 987s # guint signal_id; 987s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 987s # if (info == NULL) 987s # return; 987s # num_params = g_variant_n_children (parameters); 987s # paramv = g_new0 (GValue, num_params + 1); 987s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 987s # g_value_set_object (¶mv[0], proxy); 987s # g_variant_iter_init (&iter, parameters); 987s # n = 1; 987s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 987s # { 987s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 987s # if (arg_info->use_gvariant) 987s # { 987s # g_value_init (¶mv[n], G_TYPE_VARIANT); 987s # g_value_set_variant (¶mv[n], child); 987s # n++; 987s # } 987s # else 987s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 987s # g_variant_unref (child); 987s # } 987s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 987s # g_signal_emitv (paramv, signal_id, 0, NULL); 987s # for (n = 0; n < num_params + 1; n++) 987s # g_value_unset (¶mv[n]); 987s # g_free (paramv); 987s # } 987s # 987s # static void 987s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 987s # GVariant *changed_properties, 987s # const gchar *const *invalidated_properties) 987s # { 987s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 987s # guint n; 987s # const gchar *key; 987s # GVariantIter *iter; 987s # _ExtendedGDBusPropertyInfo *info; 987s # g_variant_get (changed_properties, "a{sv}", &iter); 987s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 987s # { 987s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 987s # g_datalist_remove_data (&proxy->priv->qdata, key); 987s # if (info != NULL) 987s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 987s # } 987s # g_variant_iter_free (iter); 987s # for (n = 0; invalidated_properties[n] != NULL; n++) 987s # { 987s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 987s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 987s # if (info != NULL) 987s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 987s # } 987s # } 987s # 987s # static GVariant * 987s # good_types_proxy_get_good_property_type (GoodTypes *object) 987s # { 987s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 987s # GVariant *variant; 987s # GVariant *value = NULL; 987s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 987s # value = variant; 987s # if (variant != NULL) 987s # g_variant_unref (variant); 987s # return value; 987s # } 987s # 987s # static void 987s # good_types_proxy_init (GoodTypesProxy *proxy) 987s # { 987s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 987s # proxy->priv = good_types_proxy_get_instance_private (proxy); 987s # #else 987s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 987s # #endif 987s # 987s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 987s # } 987s # 987s # static void 987s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 987s # { 987s # GObjectClass *gobject_class; 987s # GDBusProxyClass *proxy_class; 987s # 987s # gobject_class = G_OBJECT_CLASS (klass); 987s # gobject_class->finalize = good_types_proxy_finalize; 987s # gobject_class->get_property = good_types_proxy_get_property; 987s # gobject_class->set_property = good_types_proxy_set_property; 987s # 987s # proxy_class = G_DBUS_PROXY_CLASS (klass); 987s # proxy_class->g_signal = good_types_proxy_g_signal; 987s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 987s # 987s # good_types_override_properties (gobject_class, 1); 987s # 987s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 987s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 987s # #endif 987s # } 987s # 987s # static void 987s # good_types_proxy_iface_init (GoodTypesIface *iface) 987s # { 987s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 987s # } 987s # 987s # /** 987s # * good_types_proxy_new: 987s # * @connection: A #GDBusConnection. 987s # * @flags: Flags from the #GDBusProxyFlags enumeration. 987s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 987s # * @object_path: An object path. 987s # * @cancellable: (nullable): A #GCancellable or %NULL. 987s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 987s # * @user_data: User data to pass to @callback. 987s # * 987s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 987s # * 987s # * 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()). 987s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 987s # * 987s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 987s # */ 987s # void 987s # good_types_proxy_new ( 987s # GDBusConnection *connection, 987s # GDBusProxyFlags flags, 987s # const gchar *name, 987s # const gchar *object_path, 987s # GCancellable *cancellable, 987s # GAsyncReadyCallback callback, 987s # gpointer user_data) 987s # { 987s # 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); 987s # } 987s # 987s # /** 987s # * good_types_proxy_new_finish: 987s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 987s # * @error: Return location for error or %NULL 987s # * 987s # * Finishes an operation started with good_types_proxy_new(). 987s # * 987s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 987s # */ 987s # GoodTypes * 987s # good_types_proxy_new_finish ( 987s # GAsyncResult *res, 987s # GError **error) 987s # { 987s # GObject *ret; 987s # GObject *source_object; 987s # source_object = g_async_result_get_source_object (res); 987s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 987s # g_object_unref (source_object); 987s # if (ret != NULL) 987s # return GOOD_TYPES (ret); 987s # else 987s # return NULL; 987s # } 987s # 987s # /** 987s # * good_types_proxy_new_sync: 987s # * @connection: A #GDBusConnection. 987s # * @flags: Flags from the #GDBusProxyFlags enumeration. 987s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 987s # * @object_path: An object path. 987s # * @cancellable: (nullable): A #GCancellable or %NULL. 987s # * @error: Return location for error or %NULL 987s # * 987s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 987s # * 987s # * The calling thread is blocked until a reply is received. 987s # * 987s # * See good_types_proxy_new() for the asynchronous version of this constructor. 987s # * 987s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 987s # */ 987s # GoodTypes * 987s # good_types_proxy_new_sync ( 987s # GDBusConnection *connection, 987s # GDBusProxyFlags flags, 987s # const gchar *name, 987s # const gchar *object_path, 987s # GCancellable *cancellable, 987s # GError **error) 987s # { 987s # GInitable *ret; 987s # 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); 987s # if (ret != NULL) 987s # return GOOD_TYPES (ret); 987s # else 987s # return NULL; 987s # } 987s # 987s # 987s # /** 987s # * good_types_proxy_new_for_bus: 987s # * @bus_type: A #GBusType. 987s # * @flags: Flags from the #GDBusProxyFlags enumeration. 987s # * @name: A bus name (well-known or unique). 987s # * @object_path: An object path. 987s # * @cancellable: (nullable): A #GCancellable or %NULL. 987s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 987s # * @user_data: User data to pass to @callback. 987s # * 987s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 987s # * 987s # * 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()). 987s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 987s # * 987s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 987s # */ 987s # void 987s # good_types_proxy_new_for_bus ( 987s # GBusType bus_type, 987s # GDBusProxyFlags flags, 987s # const gchar *name, 987s # const gchar *object_path, 987s # GCancellable *cancellable, 987s # GAsyncReadyCallback callback, 987s # gpointer user_data) 987s # { 987s # 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); 987s # } 987s # 987s # /** 987s # * good_types_proxy_new_for_bus_finish: 987s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 987s # * @error: Return location for error or %NULL 987s # * 987s # * Finishes an operation started with good_types_proxy_new_for_bus(). 987s # * 987s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 987s # */ 987s # GoodTypes * 987s # good_types_proxy_new_for_bus_finish ( 987s # GAsyncResult *res, 987s # GError **error) 987s # { 987s # GObject *ret; 987s # GObject *source_object; 987s # source_object = g_async_result_get_source_object (res); 987s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 987s # g_object_unref (source_object); 987s # if (ret != NULL) 987s # return GOOD_TYPES (ret); 987s # else 987s # return NULL; 987s # } 987s # 987s # /** 987s # * good_types_proxy_new_for_bus_sync: 987s # * @bus_type: A #GBusType. 987s # * @flags: Flags from the #GDBusProxyFlags enumeration. 987s # * @name: A bus name (well-known or unique). 987s # * @object_path: An object path. 987s # * @cancellable: (nullable): A #GCancellable or %NULL. 987s # * @error: Return location for error or %NULL 987s # * 987s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 987s # * 987s # * The calling thread is blocked until a reply is received. 987s # * 987s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 987s # * 987s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 987s # */ 987s # GoodTypes * 987s # good_types_proxy_new_for_bus_sync ( 987s # GBusType bus_type, 987s # GDBusProxyFlags flags, 987s # const gchar *name, 987s # const gchar *object_path, 987s # GCancellable *cancellable, 987s # GError **error) 987s # { 987s # GInitable *ret; 987s # 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); 987s # if (ret != NULL) 987s # return GOOD_TYPES (ret); 987s # else 987s # return NULL; 987s # } 987s # 987s # 987s # /* ------------------------------------------------------------------------ */ 987s # 987s # /** 987s # * GoodTypesSkeleton: 987s # * 987s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 987s # */ 987s # 987s # /** 987s # * GoodTypesSkeletonClass: 987s # * @parent_class: The parent class. 987s # * 987s # * Class structure for GoodTypesSkeleton. 987s # */ 987s # 987s # struct _GoodTypesSkeletonPrivate 987s # { 987s # GValue *properties; 987s # GList *changed_properties; 987s # GSource *changed_properties_idle_source; 987s # GMainContext *context; 987s # GMutex lock; 987s # }; 987s # 987s # static void 987s # _good_types_skeleton_handle_method_call ( 987s # GDBusConnection *connection G_GNUC_UNUSED, 987s # const gchar *sender G_GNUC_UNUSED, 987s # const gchar *object_path G_GNUC_UNUSED, 987s # const gchar *interface_name, 987s # const gchar *method_name, 987s # GVariant *parameters, 987s # GDBusMethodInvocation *invocation, 987s # gpointer user_data) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 987s # _ExtendedGDBusMethodInfo *info; 987s # GVariantIter iter; 987s # GVariant *child; 987s # GValue *paramv; 987s # gsize num_params; 987s # guint num_extra; 987s # gsize n; 987s # guint signal_id; 987s # GValue return_value = G_VALUE_INIT; 987s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 987s # g_assert (info != NULL); 987s # num_params = g_variant_n_children (parameters); 987s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 987s # n = 0; 987s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 987s # g_value_set_object (¶mv[n++], skeleton); 987s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 987s # g_value_set_object (¶mv[n++], invocation); 987s # if (info->pass_fdlist) 987s # { 987s # #ifdef G_OS_UNIX 987s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 987s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 987s # #else 987s # g_assert_not_reached (); 987s # #endif 987s # } 987s # g_variant_iter_init (&iter, parameters); 987s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 987s # { 987s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 987s # if (arg_info->use_gvariant) 987s # { 987s # g_value_init (¶mv[n], G_TYPE_VARIANT); 987s # g_value_set_variant (¶mv[n], child); 987s # n++; 987s # } 987s # else 987s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 987s # g_variant_unref (child); 987s # } 987s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 987s # g_value_init (&return_value, G_TYPE_BOOLEAN); 987s # g_signal_emitv (paramv, signal_id, 0, &return_value); 987s # if (!g_value_get_boolean (&return_value)) 987s # 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); 987s # g_value_unset (&return_value); 987s # for (n = 0; n < num_params + num_extra; n++) 987s # g_value_unset (¶mv[n]); 987s # g_free (paramv); 987s # } 987s # 987s # static GVariant * 987s # _good_types_skeleton_handle_get_property ( 987s # GDBusConnection *connection G_GNUC_UNUSED, 987s # const gchar *sender G_GNUC_UNUSED, 987s # const gchar *object_path G_GNUC_UNUSED, 987s # const gchar *interface_name G_GNUC_UNUSED, 987s # const gchar *property_name, 987s # GError **error, 987s # gpointer user_data) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 987s # GValue value = G_VALUE_INIT; 987s # GParamSpec *pspec; 987s # _ExtendedGDBusPropertyInfo *info; 987s # GVariant *ret; 987s # ret = NULL; 987s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 987s # g_assert (info != NULL); 987s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 987s # if (pspec == NULL) 987s # { 987s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 987s # } 987s # else 987s # { 987s # g_value_init (&value, pspec->value_type); 987s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 987s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 987s # g_value_unset (&value); 987s # } 987s # return ret; 987s # } 987s # 987s # static gboolean 987s # _good_types_skeleton_handle_set_property ( 987s # GDBusConnection *connection G_GNUC_UNUSED, 987s # const gchar *sender G_GNUC_UNUSED, 987s # const gchar *object_path G_GNUC_UNUSED, 987s # const gchar *interface_name G_GNUC_UNUSED, 987s # const gchar *property_name, 987s # GVariant *variant, 987s # GError **error, 987s # gpointer user_data) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 987s # GValue value = G_VALUE_INIT; 987s # GParamSpec *pspec; 987s # _ExtendedGDBusPropertyInfo *info; 987s # gboolean ret; 987s # ret = FALSE; 987s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 987s # g_assert (info != NULL); 987s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 987s # if (pspec == NULL) 987s # { 987s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 987s # } 987s # else 987s # { 987s # if (info->use_gvariant) 987s # g_value_set_variant (&value, variant); 987s # else 987s # g_dbus_gvariant_to_gvalue (variant, &value); 987s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 987s # g_value_unset (&value); 987s # ret = TRUE; 987s # } 987s # return ret; 987s # } 987s # 987s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 987s # { 987s # _good_types_skeleton_handle_method_call, 987s # _good_types_skeleton_handle_get_property, 987s # _good_types_skeleton_handle_set_property, 987s # {NULL} 987s # }; 987s # 987s # static GDBusInterfaceInfo * 987s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 987s # { 987s # return good_types_interface_info (); 987s # } 987s # 987s # static GDBusInterfaceVTable * 987s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 987s # { 987s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 987s # } 987s # 987s # static GVariant * 987s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 987s # 987s # GVariantBuilder builder; 987s # guint n; 987s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 987s # if (_good_types_interface_info.parent_struct.properties == NULL) 987s # goto out; 987s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 987s # { 987s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 987s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 987s # { 987s # GVariant *value; 987s # 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); 987s # if (value != NULL) 987s # { 987s # g_variant_take_ref (value); 987s # g_variant_builder_add (&builder, "{sv}", info->name, value); 987s # g_variant_unref (value); 987s # } 987s # } 987s # } 987s # out: 987s # return g_variant_builder_end (&builder); 987s # } 987s # 987s # static gboolean _good_types_emit_changed (gpointer user_data); 987s # 987s # static void 987s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 987s # gboolean emit_changed = FALSE; 987s # 987s # g_mutex_lock (&skeleton->priv->lock); 987s # if (skeleton->priv->changed_properties_idle_source != NULL) 987s # { 987s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 987s # skeleton->priv->changed_properties_idle_source = NULL; 987s # emit_changed = TRUE; 987s # } 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # 987s # if (emit_changed) 987s # _good_types_emit_changed (skeleton); 987s # } 987s # 987s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 987s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 987s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 987s # G_ADD_PRIVATE (GoodTypesSkeleton) 987s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 987s # 987s # #else 987s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 987s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 987s # 987s # #endif 987s # static void 987s # good_types_skeleton_finalize (GObject *object) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # guint n; 987s # for (n = 0; n < 1; n++) 987s # g_value_unset (&skeleton->priv->properties[n]); 987s # g_free (skeleton->priv->properties); 987s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 987s # if (skeleton->priv->changed_properties_idle_source != NULL) 987s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 987s # g_main_context_unref (skeleton->priv->context); 987s # g_mutex_clear (&skeleton->priv->lock); 987s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 987s # } 987s # 987s # static void 987s # good_types_skeleton_get_property (GObject *object, 987s # guint prop_id, 987s # GValue *value, 987s # GParamSpec *pspec G_GNUC_UNUSED) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # g_assert (prop_id != 0 && prop_id - 1 < 1); 987s # g_mutex_lock (&skeleton->priv->lock); 987s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # } 987s # 987s # static gboolean 987s # _good_types_emit_changed (gpointer user_data) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 987s # GList *l; 987s # GVariantBuilder builder; 987s # GVariantBuilder invalidated_builder; 987s # guint num_changes; 987s # 987s # g_mutex_lock (&skeleton->priv->lock); 987s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 987s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 987s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 987s # { 987s # ChangedProperty *cp = l->data; 987s # GVariant *variant; 987s # const GValue *cur_value; 987s # 987s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 987s # if (!_g_value_equal (cur_value, &cp->orig_value)) 987s # { 987s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 987s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 987s # g_variant_unref (variant); 987s # num_changes++; 987s # } 987s # } 987s # if (num_changes > 0) 987s # { 987s # GList *connections, *ll; 987s # GVariant *signal_variant; 987s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 987s # &builder, &invalidated_builder)); 987s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 987s # for (ll = connections; ll != NULL; ll = ll->next) 987s # { 987s # GDBusConnection *connection = ll->data; 987s # 987s # g_dbus_connection_emit_signal (connection, 987s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 987s # "org.freedesktop.DBus.Properties", 987s # "PropertiesChanged", 987s # signal_variant, 987s # NULL); 987s # } 987s # g_variant_unref (signal_variant); 987s # g_list_free_full (connections, g_object_unref); 987s # } 987s # else 987s # { 987s # g_variant_builder_clear (&builder); 987s # g_variant_builder_clear (&invalidated_builder); 987s # } 987s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 987s # skeleton->priv->changed_properties = NULL; 987s # skeleton->priv->changed_properties_idle_source = NULL; 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # return FALSE; 987s # } 987s # 987s # static void 987s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 987s # { 987s # ChangedProperty *cp; 987s # GList *l; 987s # cp = NULL; 987s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 987s # { 987s # ChangedProperty *i_cp = l->data; 987s # if (i_cp->info == info) 987s # { 987s # cp = i_cp; 987s # break; 987s # } 987s # } 987s # if (cp == NULL) 987s # { 987s # cp = g_new0 (ChangedProperty, 1); 987s # cp->prop_id = prop_id; 987s # cp->info = info; 987s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 987s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 987s # g_value_copy (orig_value, &cp->orig_value); 987s # } 987s # } 987s # 987s # static void 987s # good_types_skeleton_notify (GObject *object, 987s # GParamSpec *pspec G_GNUC_UNUSED) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # g_mutex_lock (&skeleton->priv->lock); 987s # if (skeleton->priv->changed_properties != NULL && 987s # skeleton->priv->changed_properties_idle_source == NULL) 987s # { 987s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 987s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 987s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 987s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 987s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 987s # g_source_unref (skeleton->priv->changed_properties_idle_source); 987s # } 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # } 987s # 987s # static void 987s # good_types_skeleton_set_property (GObject *object, 987s # guint prop_id, 987s # const GValue *value, 987s # GParamSpec *pspec) 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # g_assert (prop_id != 0 && prop_id - 1 < 1); 987s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 987s # g_mutex_lock (&skeleton->priv->lock); 987s # g_object_freeze_notify (object); 987s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 987s # { 987s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 987s # info->emits_changed_signal) 987s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 987s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 987s # g_object_notify_by_pspec (object, pspec); 987s # } 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # g_object_thaw_notify (object); 987s # } 987s # 987s # static void 987s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 987s # { 987s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 987s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 987s # #else 987s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 987s # #endif 987s # 987s # g_mutex_init (&skeleton->priv->lock); 987s # skeleton->priv->context = g_main_context_ref_thread_default (); 987s # skeleton->priv->properties = g_new0 (GValue, 1); 987s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 987s # } 987s # 987s # static GVariant * 987s # good_types_skeleton_get_good_property_type (GoodTypes *object) 987s # { 987s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 987s # GVariant *value; 987s # g_mutex_lock (&skeleton->priv->lock); 987s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 987s # g_mutex_unlock (&skeleton->priv->lock); 987s # return value; 987s # } 987s # 987s # static void 987s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 987s # { 987s # GObjectClass *gobject_class; 987s # GDBusInterfaceSkeletonClass *skeleton_class; 987s # 987s # gobject_class = G_OBJECT_CLASS (klass); 987s # gobject_class->finalize = good_types_skeleton_finalize; 987s # gobject_class->get_property = good_types_skeleton_get_property; 987s # gobject_class->set_property = good_types_skeleton_set_property; 987s # gobject_class->notify = good_types_skeleton_notify; 987s # 987s # 987s # good_types_override_properties (gobject_class, 1); 987s # 987s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 987s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 987s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 987s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 987s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 987s # 987s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 987s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 987s # #endif 987s # } 987s # 987s # static void 987s # good_types_skeleton_iface_init (GoodTypesIface *iface) 987s # { 987s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 987s # } 987s # 987s # /** 987s # * good_types_skeleton_new: 987s # * 987s # * Creates a skeleton object for the D-Bus interface GoodTypes. 987s # * 987s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 987s # */ 987s # GoodTypes * 987s # good_types_skeleton_new (void) 987s # { 987s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 987s # } 987s ok 3 __main__.TestCodegen.test_empty_interface_body 987s # tmpdir: /tmp/tmp0mf6cv9z 987s # codegen: /usr/bin/gdbus-codegen 987s # /tmp/tmp0mf6cv9z/tmp7yyhf18i.xml: 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0mf6cv9z/tmp7yyhf18i.xml', '--output', '-', '--body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # Output: /* 987s # * This file is generated by gdbus-codegen, do not modify it. 987s # * 987s # * The license of this code is the same as for the D-Bus interface description 987s # * it was derived from. Note that it links to GLib, so must comply with the 987s # * LGPL linking clauses. 987s # */ 987s # 987s # #ifdef HAVE_CONFIG_H 987s # # include "config.h" 987s # #endif 987s # 987s # #include 987s # #ifdef G_OS_UNIX 987s # # include 987s # #endif 987s # 987s # #ifdef G_ENABLE_DEBUG 987s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 987s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 987s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 987s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 987s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 987s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 987s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 987s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 987s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 987s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 987s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 987s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 987s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 987s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 987s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 987s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 987s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 987s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 987s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 987s # #else /* !G_ENABLE_DEBUG */ 987s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 987s # * Do not access GValues directly in your code. Instead, use the 987s # * g_value_get_*() functions 987s # */ 987s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 987s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 987s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 987s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 987s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 987s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 987s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 987s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 987s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 987s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 987s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 987s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 987s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 987s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 987s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 987s # #endif /* !G_ENABLE_DEBUG */ 987s # 987s # typedef struct 987s # { 987s # GDBusArgInfo parent_struct; 987s # gboolean use_gvariant; 987s # } _ExtendedGDBusArgInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusMethodInfo parent_struct; 987s # const gchar *signal_name; 987s # gboolean pass_fdlist; 987s # } _ExtendedGDBusMethodInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusSignalInfo parent_struct; 987s # const gchar *signal_name; 987s # } _ExtendedGDBusSignalInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusPropertyInfo parent_struct; 987s # const gchar *hyphen_name; 987s # guint use_gvariant : 1; 987s # guint emits_changed_signal : 1; 987s # } _ExtendedGDBusPropertyInfo; 987s # 987s # typedef struct 987s # { 987s # GDBusInterfaceInfo parent_struct; 987s # const gchar *hyphen_name; 987s # } _ExtendedGDBusInterfaceInfo; 987s # 987s # typedef struct 987s # { 987s # const _ExtendedGDBusPropertyInfo *info; 987s # guint prop_id; 987s # GValue orig_value; /* the value before the change */ 987s # } ChangedProperty; 987s # 987s # static void 987s # _changed_property_free (ChangedProperty *data) 987s # { 987s # g_value_unset (&data->orig_value); 987s # g_free (data); 987s # } 987s # 987s # static gboolean 987s # _g_strv_equal0 (gchar **a, gchar **b) 987s # { 987s # gboolean ret = FALSE; 987s # guint n; 987s # if (a == NULL && b == NULL) 987s # { 987s # ret = TRUE; 987s # goto out; 987s # } 987s # if (a == NULL || b == NULL) 987s # goto out; 987s # if (g_strv_length (a) != g_strv_length (b)) 987s # goto out; 987s # for (n = 0; a[n] != NULL; n++) 987s # if (g_strcmp0 (a[n], b[n]) != 0) 987s # goto out; 987s # ret = TRUE; 987s # out: 987s # return ret; 987s # } 987s # 987s # static gboolean 987s # _g_variant_equal0 (GVariant *a, GVariant *b) 987s # { 987s # gboolean ret = FALSE; 987s # if (a == NULL && b == NULL) 987s # { 987s # ret = TRUE; 987s # goto out; 987s # } 987s # if (a == NULL || b == NULL) 987s # goto out; 987s # ret = g_variant_equal (a, b); 987s # out: 987s # return ret; 987s # } 987s # 987s # G_GNUC_UNUSED static gboolean 987s # _g_value_equal (const GValue *a, const GValue *b) 987s # { 987s # gboolean ret = FALSE; 987s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 987s # switch (G_VALUE_TYPE (a)) 987s # { 987s # case G_TYPE_BOOLEAN: 987s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 987s # break; 987s # case G_TYPE_UCHAR: 987s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 987s # break; 987s # case G_TYPE_INT: 987s # ret = (g_value_get_int (a) == g_value_get_int (b)); 987s # break; 987s # case G_TYPE_UINT: 987s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 987s # break; 987s # case G_TYPE_INT64: 987s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 987s # break; 987s # case G_TYPE_UINT64: 987s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 987s # break; 987s # case G_TYPE_DOUBLE: 987s # { 987s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 987s # gdouble da = g_value_get_double (a); 987s # gdouble db = g_value_get_double (b); 987s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 987s # } 987s # break; 987s # case G_TYPE_STRING: 987s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 987s # break; 987s # case G_TYPE_VARIANT: 987s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 987s # break; 987s # default: 987s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 987s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 987s # else 987s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 987s # break; 987s # } 987s # return ret; 987s # } 987s ok 4 __main__.TestCodegen.test_empty_interface_header 987s # tmpdir: /tmp/tmp7vemtlte 987s # codegen: /usr/bin/gdbus-codegen 987s # /tmp/tmp7vemtlte/tmpus94xa7d.xml: 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7vemtlte/tmpus94xa7d.xml', '--output', '-', '--header'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # Output: /* 987s # * This file is generated by gdbus-codegen, do not modify it. 987s # * 987s # * The license of this code is the same as for the D-Bus interface description 987s # * it was derived from. Note that it links to GLib, so must comply with the 987s # * LGPL linking clauses. 987s # */ 987s # 987s # #ifndef __STDOUT__ 987s # #define __STDOUT__ 987s # 987s # #include 987s # 987s # G_BEGIN_DECLS 987s # 987s # 987s # G_END_DECLS 987s # 987s # #endif /* __STDOUT__ */ 987s ok 5 __main__.TestCodegen.test_empty_interface_info_body 987s # tmpdir: /tmp/tmp1aja4hun 987s # codegen: /usr/bin/gdbus-codegen 987s # /tmp/tmp1aja4hun/tmp5n0o2yhj.xml: 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1aja4hun/tmp5n0o2yhj.xml', '--output', '-', '--interface-info-body'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # Output: /* 987s # * This file is generated by gdbus-codegen, do not modify it. 987s # * 987s # * The license of this code is the same as for the D-Bus interface description 987s # * it was derived from. Note that it links to GLib, so must comply with the 987s # * LGPL linking clauses. 987s # */ 987s # 987s # #ifdef HAVE_CONFIG_H 987s # # include "config.h" 987s # #endif 987s # 987s # #include 987s ok 6 __main__.TestCodegen.test_empty_interface_info_header 987s # tmpdir: /tmp/tmpszqpi32n 987s # codegen: /usr/bin/gdbus-codegen 987s # /tmp/tmpszqpi32n/tmp31p7ca_i.xml: 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpszqpi32n/tmp31p7ca_i.xml', '--output', '-', '--interface-info-header'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # Output: /* 987s # * This file is generated by gdbus-codegen, do not modify it. 987s # * 987s # * The license of this code is the same as for the D-Bus interface description 987s # * it was derived from. Note that it links to GLib, so must comply with the 987s # * LGPL linking clauses. 987s # */ 987s # 987s # #ifndef __STDOUT__ 987s # #define __STDOUT__ 987s # 987s # #include 987s # 987s # G_BEGIN_DECLS 987s # 987s # 987s # G_END_DECLS 987s # 987s # #endif /* __STDOUT__ */ 987s ok 7 __main__.TestCodegen.test_generate_docbook 987s # tmpdir: /tmp/tmptg4uhlen 987s # codegen: /usr/bin/gdbus-codegen 987s # /tmp/tmptg4uhlen/tmpa8yd1o2a.xml: 987s # 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptg4uhlen/tmpa8yd1o2a.xml', '--generate-docbook', 'test'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # Output: 987s ok 8 __main__.TestCodegen.test_generate_md 987s # tmpdir: /tmp/tmpb2fgnel5 987s # codegen: /usr/bin/gdbus-codegen 987s # /tmp/tmpb2fgnel5/tmpx8pwh1oj.xml: 987s # 987s # 987s # 987s # 987s # 987s # 987s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb2fgnel5/tmpx8pwh1oj.xml', '--generate-md', 'test'] 987s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 987s # Output: 988s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 988s # tmpdir: /tmp/tmpqce1a6d4 988s # codegen: /usr/bin/gdbus-codegen 988s # /tmp/tmpqce1a6d4/tmpynpkbd_y.xml: 988s # 988s # 988s # 988s # 988s # 988s # 988s # 988s # 988s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqce1a6d4/tmpynpkbd_y.xml', '--output', '-', '--body'] 988s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 988s # Output: /* 988s # * This file is generated by gdbus-codegen, do not modify it. 988s # * 988s # * The license of this code is the same as for the D-Bus interface description 988s # * it was derived from. Note that it links to GLib, so must comply with the 988s # * LGPL linking clauses. 988s # */ 988s # 988s # #ifdef HAVE_CONFIG_H 988s # # include "config.h" 988s # #endif 988s # 988s # #include 988s # #ifdef G_OS_UNIX 988s # # include 988s # #endif 988s # 988s # #ifdef G_ENABLE_DEBUG 988s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 988s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 988s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 988s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 988s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 988s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 988s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 988s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 988s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 988s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 988s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 988s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 988s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 988s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 988s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 988s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 988s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 988s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 988s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 988s # #else /* !G_ENABLE_DEBUG */ 988s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 988s # * Do not access GValues directly in your code. Instead, use the 988s # * g_value_get_*() functions 988s # */ 988s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 988s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 988s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 988s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 988s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 988s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 988s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 988s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 988s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 988s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 988s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 988s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 988s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 988s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 988s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 988s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 988s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 988s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 988s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 988s # #endif /* !G_ENABLE_DEBUG */ 988s # 988s # typedef struct 988s # { 988s # GDBusArgInfo parent_struct; 988s # gboolean use_gvariant; 988s # } _ExtendedGDBusArgInfo; 988s # 988s # typedef struct 988s # { 988s # GDBusMethodInfo parent_struct; 988s # const gchar *signal_name; 988s # gboolean pass_fdlist; 988s # } _ExtendedGDBusMethodInfo; 988s # 988s # typedef struct 988s # { 988s # GDBusSignalInfo parent_struct; 988s # const gchar *signal_name; 988s # } _ExtendedGDBusSignalInfo; 988s # 988s # typedef struct 988s # { 988s # GDBusPropertyInfo parent_struct; 988s # const gchar *hyphen_name; 988s # guint use_gvariant : 1; 988s # guint emits_changed_signal : 1; 988s # } _ExtendedGDBusPropertyInfo; 988s # 988s # typedef struct 988s # { 988s # GDBusInterfaceInfo parent_struct; 988s # const gchar *hyphen_name; 988s # } _ExtendedGDBusInterfaceInfo; 988s # 988s # typedef struct 988s # { 988s # const _ExtendedGDBusPropertyInfo *info; 988s # guint prop_id; 988s # GValue orig_value; /* the value before the change */ 988s # } ChangedProperty; 988s # 988s # static void 988s # _changed_property_free (ChangedProperty *data) 988s # { 988s # g_value_unset (&data->orig_value); 988s # g_free (data); 988s # } 988s # 988s # static gboolean 988s # _g_strv_equal0 (gchar **a, gchar **b) 988s # { 988s # gboolean ret = FALSE; 988s # guint n; 988s # if (a == NULL && b == NULL) 988s # { 988s # ret = TRUE; 988s # goto out; 988s # } 988s # if (a == NULL || b == NULL) 988s # goto out; 988s # if (g_strv_length (a) != g_strv_length (b)) 988s # goto out; 988s # for (n = 0; a[n] != NULL; n++) 988s # if (g_strcmp0 (a[n], b[n]) != 0) 988s # goto out; 988s # ret = TRUE; 988s # out: 988s # return ret; 988s # } 988s # 988s # static gboolean 988s # _g_variant_equal0 (GVariant *a, GVariant *b) 988s # { 988s # gboolean ret = FALSE; 988s # if (a == NULL && b == NULL) 988s # { 988s # ret = TRUE; 988s # goto out; 988s # } 988s # if (a == NULL || b == NULL) 988s # goto out; 988s # ret = g_variant_equal (a, b); 988s # out: 988s # return ret; 988s # } 988s # 988s # G_GNUC_UNUSED static gboolean 988s # _g_value_equal (const GValue *a, const GValue *b) 988s # { 988s # gboolean ret = FALSE; 988s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 988s # switch (G_VALUE_TYPE (a)) 988s # { 988s # case G_TYPE_BOOLEAN: 988s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 988s # break; 988s # case G_TYPE_UCHAR: 988s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 988s # break; 988s # case G_TYPE_INT: 988s # ret = (g_value_get_int (a) == g_value_get_int (b)); 988s # break; 988s # case G_TYPE_UINT: 988s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 988s # break; 988s # case G_TYPE_INT64: 988s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 988s # break; 988s # case G_TYPE_UINT64: 988s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 988s # break; 988s # case G_TYPE_DOUBLE: 988s # { 988s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 988s # gdouble da = g_value_get_double (a); 988s # gdouble db = g_value_get_double (b); 988s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 988s # } 988s # break; 988s # case G_TYPE_STRING: 988s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 988s # break; 988s # case G_TYPE_VARIANT: 988s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 988s # break; 988s # default: 988s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 988s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 988s # else 988s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 988s # break; 988s # } 988s # return ret; 988s # } 988s # 988s # static void 988s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 988s # GClosure *closure, 988s # GValue *return_value, 988s # unsigned int n_param_values, 988s # const GValue *param_values, 988s # void *invocation_hint G_GNUC_UNUSED, 988s # void *marshal_data) 988s # { 988s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 988s # (void *data1, 988s # GDBusMethodInvocation *arg_method_invocation, 988s # void *data2); 988s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 988s # GCClosure *cc = (GCClosure*) closure; 988s # void *data1, *data2; 988s # gboolean v_return; 988s # 988s # g_return_if_fail (return_value != NULL); 988s # g_return_if_fail (n_param_values == 2); 988s # 988s # if (G_CCLOSURE_SWAP_DATA (closure)) 988s # { 988s # data1 = closure->data; 988s # data2 = g_value_peek_pointer (param_values + 0); 988s # } 988s # else 988s # { 988s # data1 = g_value_peek_pointer (param_values + 0); 988s # data2 = closure->data; 988s # } 988s # 988s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 988s # (marshal_data ? marshal_data : cc->callback); 988s # 988s # v_return = 988s # callback (data1, 988s # g_marshal_value_peek_object (param_values + 1), 988s # data2); 988s # 988s # g_value_set_boolean (return_value, v_return); 988s # } 988s # 988s # /* ------------------------------------------------------------------------ 988s # * Code for interface org.project.CallableIface 988s # * ------------------------------------------------------------------------ 988s # */ 988s # 988s # /** 988s # * SECTION:OrgProjectCallableIface 988s # * @title: OrgProjectCallableIface 988s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 988s # * 988s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 988s # */ 988s # 988s # /* ---- Introspection data for org.project.CallableIface ---- */ 988s # 988s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 988s # { 988s # { 988s # -1, 988s # (gchar *) "SimpleMethod", 988s # NULL, 988s # NULL, 988s # NULL 988s # }, 988s # "handle-simple-method", 988s # FALSE 988s # }; 988s # 988s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 988s # { 988s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 988s # NULL 988s # }; 988s # 988s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 988s # { 988s # { 988s # -1, 988s # (gchar *) "org.project.CallableIface", 988s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 988s # NULL, 988s # NULL, 988s # NULL 988s # }, 988s # "org-project-callable-iface", 988s # }; 988s # 988s # 988s # /** 988s # * org_project_callable_iface_interface_info: 988s # * 988s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 988s # * 988s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 988s # */ 988s # GDBusInterfaceInfo * 988s # org_project_callable_iface_interface_info (void) 988s # { 988s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 988s # } 988s # 988s # /** 988s # * org_project_callable_iface_override_properties: 988s # * @klass: The class structure for a #GObject derived class. 988s # * @property_id_begin: The property id to assign to the first overridden property. 988s # * 988s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 988s # * The properties are overridden in the order they are defined. 988s # * 988s # * Returns: The last property id. 988s # */ 988s # guint 988s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 988s # { 988s # return property_id_begin - 1; 988s # } 988s # 988s # 988s # inline static void 988s # org_project_callable_iface_method_marshal_simple_method ( 988s # GClosure *closure, 988s # GValue *return_value, 988s # unsigned int n_param_values, 988s # const GValue *param_values, 988s # void *invocation_hint, 988s # void *marshal_data) 988s # { 988s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 988s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 988s # } 988s # 988s # 988s # /** 988s # * OrgProjectCallableIface: 988s # * 988s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 988s # */ 988s # 988s # /** 988s # * OrgProjectCallableIfaceIface: 988s # * @parent_iface: The parent interface. 988s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 988s # * 988s # * Virtual table for the D-Bus interface org.project.CallableIface. 988s # */ 988s # 988s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 988s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 988s # 988s # static void 988s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 988s # { 988s # /* GObject signals for incoming D-Bus method calls: */ 988s # /** 988s # * OrgProjectCallableIface::handle-simple-method: 988s # * @object: A #OrgProjectCallableIface. 988s # * @invocation: A #GDBusMethodInvocation. 988s # * 988s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 988s # * 988s # * 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. 988s # * 988s # * 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. 988s # */ 988s # g_signal_new ("handle-simple-method", 988s # G_TYPE_FROM_INTERFACE (iface), 988s # G_SIGNAL_RUN_LAST, 988s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 988s # g_signal_accumulator_true_handled, 988s # NULL, 988s # org_project_callable_iface_method_marshal_simple_method, 988s # G_TYPE_BOOLEAN, 988s # 1, 988s # G_TYPE_DBUS_METHOD_INVOCATION); 988s # 988s # } 988s # 988s # /** 988s # * org_project_callable_iface_call_simple_method: 988s # * @proxy: A #OrgProjectCallableIfaceProxy. 988s # * @cancellable: (nullable): A #GCancellable or %NULL. 988s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 988s # * @user_data: User data to pass to @callback. 988s # * 988s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 988s # * 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()). 988s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 988s # * 988s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 988s # */ 988s # void 988s # org_project_callable_iface_call_simple_method ( 988s # OrgProjectCallableIface *proxy, 988s # GCancellable *cancellable, 988s # GAsyncReadyCallback callback, 988s # gpointer user_data) 988s # { 988s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 988s # "SimpleMethod", 988s # g_variant_new ("()"), 988s # G_DBUS_CALL_FLAGS_NONE, 988s # -1, 988s # cancellable, 988s # callback, 988s # user_data); 988s # } 988s # 988s # /** 988s # * org_project_callable_iface_call_simple_method_finish: 988s # * @proxy: A #OrgProjectCallableIfaceProxy. 988s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 988s # * @error: Return location for error or %NULL. 988s # * 988s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 988s # * 988s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 988s # */ 988s # gboolean 988s # org_project_callable_iface_call_simple_method_finish ( 988s # OrgProjectCallableIface *proxy, 988s # GAsyncResult *res, 988s # GError **error) 988s # { 988s # GVariant *_ret; 988s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 988s # if (_ret == NULL) 988s # goto _out; 988s # g_variant_get (_ret, 988s # "()"); 988s # g_variant_unref (_ret); 988s # _out: 988s # return _ret != NULL; 988s # } 988s # 988s # /** 988s # * org_project_callable_iface_call_simple_method_sync: 988s # * @proxy: A #OrgProjectCallableIfaceProxy. 988s # * @cancellable: (nullable): A #GCancellable or %NULL. 988s # * @error: Return location for error or %NULL. 988s # * 988s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 988s # * 988s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 988s # * 988s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 988s # */ 988s # gboolean 988s # org_project_callable_iface_call_simple_method_sync ( 988s # OrgProjectCallableIface *proxy, 988s # GCancellable *cancellable, 988s # GError **error) 988s # { 988s # GVariant *_ret; 988s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 988s # "SimpleMethod", 988s # g_variant_new ("()"), 988s # G_DBUS_CALL_FLAGS_NONE, 988s # -1, 988s # cancellable, 988s # error); 988s # if (_ret == NULL) 988s # goto _out; 988s # g_variant_get (_ret, 988s # "()"); 988s # g_variant_unref (_ret); 988s # _out: 988s # return _ret != NULL; 988s # } 988s # 988s # /** 988s # * org_project_callable_iface_complete_simple_method: 988s # * @object: A #OrgProjectCallableIface. 988s # * @invocation: (transfer full): A #GDBusMethodInvocation. 988s # * 988s # * 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. 988s # * 988s # * This method will free @invocation, you cannot use it afterwards. 988s # */ 988s # void 988s # org_project_callable_iface_complete_simple_method ( 988s # OrgProjectCallableIface *object G_GNUC_UNUSED, 988s # GDBusMethodInvocation *invocation) 988s # { 988s # g_dbus_method_invocation_return_value (invocation, 988s # g_variant_new ("()")); 988s # } 988s # 988s # /* ------------------------------------------------------------------------ */ 988s # 988s # /** 988s # * OrgProjectCallableIfaceProxy: 988s # * 988s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 988s # */ 988s # 988s # /** 988s # * OrgProjectCallableIfaceProxyClass: 988s # * @parent_class: The parent class. 988s # * 988s # * Class structure for #OrgProjectCallableIfaceProxy. 988s # */ 988s # 988s # struct _OrgProjectCallableIfaceProxyPrivate 988s # { 988s # GData *qdata; 988s # }; 988s # 988s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 988s # 988s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 988s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 988s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 988s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 988s # 988s # #else 988s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 988s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 988s # 988s # #endif 988s # static void 988s # org_project_callable_iface_proxy_finalize (GObject *object) 988s # { 988s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 988s # g_datalist_clear (&proxy->priv->qdata); 988s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 988s # } 988s # 988s # static void 988s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 988s # guint prop_id G_GNUC_UNUSED, 988s # GValue *value G_GNUC_UNUSED, 988s # GParamSpec *pspec G_GNUC_UNUSED) 988s # { 988s # } 988s # 988s # static void 988s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 988s # guint prop_id G_GNUC_UNUSED, 988s # const GValue *value G_GNUC_UNUSED, 988s # GParamSpec *pspec G_GNUC_UNUSED) 988s # { 988s # } 988s # 988s # static void 988s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 988s # const gchar *sender_name G_GNUC_UNUSED, 988s # const gchar *signal_name, 988s # GVariant *parameters) 988s # { 988s # _ExtendedGDBusSignalInfo *info; 988s # GVariantIter iter; 988s # GVariant *child; 988s # GValue *paramv; 988s # gsize num_params; 988s # gsize n; 988s # guint signal_id; 988s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 988s # if (info == NULL) 988s # return; 988s # num_params = g_variant_n_children (parameters); 988s # paramv = g_new0 (GValue, num_params + 1); 988s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 988s # g_value_set_object (¶mv[0], proxy); 988s # g_variant_iter_init (&iter, parameters); 988s # n = 1; 988s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 988s # { 988s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 988s # if (arg_info->use_gvariant) 988s # { 988s # g_value_init (¶mv[n], G_TYPE_VARIANT); 988s # g_value_set_variant (¶mv[n], child); 988s # n++; 988s # } 988s # else 988s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 988s # g_variant_unref (child); 988s # } 988s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 988s # g_signal_emitv (paramv, signal_id, 0, NULL); 988s # for (n = 0; n < num_params + 1; n++) 988s # g_value_unset (¶mv[n]); 988s # g_free (paramv); 988s # } 988s # 988s # static void 988s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 988s # GVariant *changed_properties, 988s # const gchar *const *invalidated_properties) 988s # { 988s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 988s # guint n; 988s # const gchar *key; 988s # GVariantIter *iter; 988s # _ExtendedGDBusPropertyInfo *info; 988s # g_variant_get (changed_properties, "a{sv}", &iter); 988s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 988s # { 988s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 988s # g_datalist_remove_data (&proxy->priv->qdata, key); 988s # if (info != NULL) 988s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 988s # } 988s # g_variant_iter_free (iter); 988s # for (n = 0; invalidated_properties[n] != NULL; n++) 988s # { 988s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 988s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 988s # if (info != NULL) 988s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 988s # } 988s # } 988s # 988s # static void 988s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 988s # { 988s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 988s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 988s # #else 988s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 988s # #endif 988s # 988s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 988s # } 988s # 988s # static void 988s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 988s # { 988s # GObjectClass *gobject_class; 988s # GDBusProxyClass *proxy_class; 988s # 988s # gobject_class = G_OBJECT_CLASS (klass); 988s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 988s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 988s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 988s # 988s # proxy_class = G_DBUS_PROXY_CLASS (klass); 988s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 988s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 988s # 988s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 988s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 988s # #endif 988s # } 988s # 988s # static void 988s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 988s # { 988s # } 988s # 988s # /** 988s # * org_project_callable_iface_proxy_new: 988s # * @connection: A #GDBusConnection. 988s # * @flags: Flags from the #GDBusProxyFlags enumeration. 988s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 988s # * @object_path: An object path. 988s # * @cancellable: (nullable): A #GCancellable or %NULL. 988s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 988s # * @user_data: User data to pass to @callback. 988s # * 988s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 988s # * 988s # * 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()). 988s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 988s # * 988s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 988s # */ 988s # void 988s # org_project_callable_iface_proxy_new ( 988s # GDBusConnection *connection, 988s # GDBusProxyFlags flags, 988s # const gchar *name, 988s # const gchar *object_path, 988s # GCancellable *cancellable, 988s # GAsyncReadyCallback callback, 988s # gpointer user_data) 988s # { 988s # 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); 988s # } 988s # 988s # /** 988s # * org_project_callable_iface_proxy_new_finish: 988s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 988s # * @error: Return location for error or %NULL 988s # * 988s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 988s # * 988s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 988s # */ 988s # OrgProjectCallableIface * 988s # org_project_callable_iface_proxy_new_finish ( 988s # GAsyncResult *res, 988s # GError **error) 988s # { 988s # GObject *ret; 988s # GObject *source_object; 988s # source_object = g_async_result_get_source_object (res); 988s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 988s # g_object_unref (source_object); 988s # if (ret != NULL) 988s # return ORG_PROJECT_CALLABLE_IFACE (ret); 988s # else 988s # return NULL; 988s # } 988s # 988s # /** 988s # * org_project_callable_iface_proxy_new_sync: 988s # * @connection: A #GDBusConnection. 988s # * @flags: Flags from the #GDBusProxyFlags enumeration. 988s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 988s # * @object_path: An object path. 988s # * @cancellable: (nullable): A #GCancellable or %NULL. 988s # * @error: Return location for error or %NULL 988s # * 988s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 988s # * 988s # * The calling thread is blocked until a reply is received. 988s # * 988s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 988s # * 988s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 988s # */ 988s # OrgProjectCallableIface * 988s # org_project_callable_iface_proxy_new_sync ( 988s # GDBusConnection *connection, 988s # GDBusProxyFlags flags, 988s # const gchar *name, 988s # const gchar *object_path, 988s # GCancellable *cancellable, 988s # GError **error) 988s # { 988s # GInitable *ret; 988s # 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); 988s # if (ret != NULL) 988s # return ORG_PROJECT_CALLABLE_IFACE (ret); 988s # else 988s # return NULL; 988s # } 988s # 988s # 988s # /** 988s # * org_project_callable_iface_proxy_new_for_bus: 988s # * @bus_type: A #GBusType. 988s # * @flags: Flags from the #GDBusProxyFlags enumeration. 988s # * @name: A bus name (well-known or unique). 988s # * @object_path: An object path. 988s # * @cancellable: (nullable): A #GCancellable or %NULL. 988s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 988s # * @user_data: User data to pass to @callback. 988s # * 988s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 988s # * 988s # * 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()). 988s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 988s # * 988s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 988s # */ 988s # void 988s # org_project_callable_iface_proxy_new_for_bus ( 988s # GBusType bus_type, 988s # GDBusProxyFlags flags, 988s # const gchar *name, 988s # const gchar *object_path, 988s # GCancellable *cancellable, 988s # GAsyncReadyCallback callback, 988s # gpointer user_data) 988s # { 988s # 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); 988s # } 988s # 988s # /** 988s # * org_project_callable_iface_proxy_new_for_bus_finish: 988s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 988s # * @error: Return location for error or %NULL 988s # * 988s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 988s # * 988s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 988s # */ 988s # OrgProjectCallableIface * 988s # org_project_callable_iface_proxy_new_for_bus_finish ( 988s # GAsyncResult *res, 988s # GError **error) 988s # { 988s # GObject *ret; 988s # GObject *source_object; 988s # source_object = g_async_result_get_source_object (res); 988s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 988s # g_object_unref (source_object); 988s # if (ret != NULL) 988s # return ORG_PROJECT_CALLABLE_IFACE (ret); 988s # else 988s # return NULL; 988s # } 988s # 988s # /** 988s # * org_project_callable_iface_proxy_new_for_bus_sync: 988s # * @bus_type: A #GBusType. 988s # * @flags: Flags from the #GDBusProxyFlags enumeration. 988s # * @name: A bus name (well-known or unique). 988s # * @object_path: An object path. 988s # * @cancellable: (nullable): A #GCancellable or %NULL. 988s # * @error: Return location for error or %NULL 988s # * 988s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 988s # * 988s # * The calling thread is blocked until a reply is received. 988s # * 988s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 988s # * 988s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 988s # */ 988s # OrgProjectCallableIface * 988s # org_project_callable_iface_proxy_new_for_bus_sync ( 988s # GBusType bus_type, 988s # GDBusProxyFlags flags, 988s # const gchar *name, 988s # const gchar *object_path, 988s # GCancellable *cancellable, 988s # GError **error) 988s # { 988s # GInitable *ret; 988s # 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); 988s # if (ret != NULL) 988s # return ORG_PROJECT_CALLABLE_IFACE (ret); 988s # else 988s # return NULL; 988s # } 988s # 988s # 988s # /* ------------------------------------------------------------------------ */ 988s # 988s # /** 988s # * OrgProjectCallableIfaceSkeleton: 988s # * 988s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 988s # */ 988s # 988s # /** 988s # * OrgProjectCallableIfaceSkeletonClass: 988s # * @parent_class: The parent class. 988s # * 988s # * Class structure for #OrgProjectCallableIfaceSkeleton. 988s # */ 988s # 988s # struct _OrgProjectCallableIfaceSkeletonPrivate 988s # { 988s # GValue *properties; 988s # GList *changed_properties; 988s # GSource *changed_properties_idle_source; 988s # GMainContext *context; 988s # GMutex lock; 988s # }; 988s # 988s # static void 988s # _org_project_callable_iface_skeleton_handle_method_call ( 988s # GDBusConnection *connection G_GNUC_UNUSED, 988s # const gchar *sender G_GNUC_UNUSED, 988s # const gchar *object_path G_GNUC_UNUSED, 988s # const gchar *interface_name, 988s # const gchar *method_name, 988s # GVariant *parameters, 988s # GDBusMethodInvocation *invocation, 988s # gpointer user_data) 988s # { 988s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 988s # _ExtendedGDBusMethodInfo *info; 988s # GVariantIter iter; 988s # GVariant *child; 988s # GValue *paramv; 988s # gsize num_params; 988s # guint num_extra; 988s # gsize n; 988s # guint signal_id; 988s # GValue return_value = G_VALUE_INIT; 988s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 988s # g_assert (info != NULL); 988s # num_params = g_variant_n_children (parameters); 988s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 988s # n = 0; 988s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 988s # g_value_set_object (¶mv[n++], skeleton); 988s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 988s # g_value_set_object (¶mv[n++], invocation); 988s # if (info->pass_fdlist) 988s # { 988s # #ifdef G_OS_UNIX 988s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 988s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 988s # #else 988s # g_assert_not_reached (); 988s # #endif 988s # } 988s # g_variant_iter_init (&iter, parameters); 988s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 988s # { 988s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 988s # if (arg_info->use_gvariant) 988s # { 988s # g_value_init (¶mv[n], G_TYPE_VARIANT); 988s # g_value_set_variant (¶mv[n], child); 988s # n++; 988s # } 988s # else 988s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 988s # g_variant_unref (child); 988s # } 988s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 988s # g_value_init (&return_value, G_TYPE_BOOLEAN); 988s # g_signal_emitv (paramv, signal_id, 0, &return_value); 988s # if (!g_value_get_boolean (&return_value)) 988s # 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); 988s # g_value_unset (&return_value); 988s # for (n = 0; n < num_params + num_extra; n++) 988s # g_value_unset (¶mv[n]); 988s # g_free (paramv); 988s # } 988s # 988s # static GVariant * 988s # _org_project_callable_iface_skeleton_handle_get_property ( 988s # GDBusConnection *connection G_GNUC_UNUSED, 988s # const gchar *sender G_GNUC_UNUSED, 988s # const gchar *object_path G_GNUC_UNUSED, 988s # const gchar *interface_name G_GNUC_UNUSED, 988s # const gchar *property_name, 988s # GError **error, 988s # gpointer user_data) 988s # { 988s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 988s # GValue value = G_VALUE_INIT; 988s # GParamSpec *pspec; 988s # _ExtendedGDBusPropertyInfo *info; 988s # GVariant *ret; 988s # ret = NULL; 988s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 988s # g_assert (info != NULL); 988s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 988s # if (pspec == NULL) 988s # { 988s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 988s # } 988s # else 988s # { 988s # g_value_init (&value, pspec->value_type); 988s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 988s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 988s # g_value_unset (&value); 988s # } 988s # return ret; 988s # } 988s # 988s # static gboolean 988s # _org_project_callable_iface_skeleton_handle_set_property ( 988s # GDBusConnection *connection G_GNUC_UNUSED, 988s # const gchar *sender G_GNUC_UNUSED, 988s # const gchar *object_path G_GNUC_UNUSED, 988s # const gchar *interface_name G_GNUC_UNUSED, 988s # const gchar *property_name, 988s # GVariant *variant, 988s # GError **error, 988s # gpointer user_data) 988s # { 988s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 988s # GValue value = G_VALUE_INIT; 988s # GParamSpec *pspec; 988s # _ExtendedGDBusPropertyInfo *info; 988s # gboolean ret; 988s # ret = FALSE; 988s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 988s # g_assert (info != NULL); 988s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 988s # if (pspec == NULL) 988s # { 988s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 988s # } 988s # else 988s # { 988s # if (info->use_gvariant) 988s # g_value_set_variant (&value, variant); 988s # else 988s # g_dbus_gvariant_to_gvalue (variant, &value); 988s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 988s # g_value_unset (&value); 988s # ret = TRUE; 988s # } 988s # return ret; 988s # } 988s # 988s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 988s # { 988s # _org_project_callable_iface_skeleton_handle_method_call, 988s # _org_project_callable_iface_skeleton_handle_get_property, 988s # _org_project_callable_iface_skeleton_handle_set_property, 988s # {NULL} 988s # }; 988s # 988s # static GDBusInterfaceInfo * 988s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 988s # { 988s # return org_project_callable_iface_interface_info (); 988s # } 988s # 988s # static GDBusInterfaceVTable * 988s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 988s # { 988s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 988s # } 988s # 988s # static GVariant * 988s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 988s # { 988s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 988s # 988s # GVariantBuilder builder; 988s # guint n; 988s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 988s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 988s # goto out; 988s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 988s # { 988s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 988s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 988s # { 988s # GVariant *value; 988s # 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); 988s # if (value != NULL) 988s # { 988s # g_variant_take_ref (value); 988s # g_variant_builder_add (&builder, "{sv}", info->name, value); 988s # g_variant_unref (value); 988s # } 988s # } 988s # } 988s # out: 988s # return g_variant_builder_end (&builder); 988s # } 988s # 988s # static void 988s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 988s # { 988s # } 988s # 988s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 988s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 988s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 988s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 988s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 988s # 988s # #else 988s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 988s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 988s # 988s # #endif 988s # static void 988s # org_project_callable_iface_skeleton_finalize (GObject *object) 988s # { 988s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 988s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 988s # if (skeleton->priv->changed_properties_idle_source != NULL) 988s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 988s # g_main_context_unref (skeleton->priv->context); 988s # g_mutex_clear (&skeleton->priv->lock); 988s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 988s # } 988s # 988s # static void 988s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 988s # { 988s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 988s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 988s # #else 988s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 988s # #endif 988s # 988s # g_mutex_init (&skeleton->priv->lock); 988s # skeleton->priv->context = g_main_context_ref_thread_default (); 988s # } 988s # 988s # static void 988s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 988s # { 988s # GObjectClass *gobject_class; 988s # GDBusInterfaceSkeletonClass *skeleton_class; 988s # 988s # gobject_class = G_OBJECT_CLASS (klass); 988s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 988s # 988s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 988s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 988s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 988s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 988s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 988s # 988s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 988s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 988s # #endif 988s # } 988s # 988s # static void 988s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 988s # { 988s # } 988s # 988s # /** 988s # * org_project_callable_iface_skeleton_new: 988s # * 988s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 988s # * 988s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 988s # */ 988s # OrgProjectCallableIface * 988s # org_project_callable_iface_skeleton_new (void) 988s # { 988s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 988s # } 988s # 988s # /* ------------------------------------------------------------------------ 988s # * Code for interface org.project.OtherCallableIface 988s # * ------------------------------------------------------------------------ 988s # */ 988s # 988s # /** 988s # * SECTION:OrgProjectOtherCallableIface 988s # * @title: OrgProjectOtherCallableIface 988s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 988s # * 988s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 988s # */ 988s # 988s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 988s # 988s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 988s # { 988s # { 988s # -1, 988s # (gchar *) "SimpleMethod", 988s # NULL, 988s # NULL, 988s # NULL 988s # }, 988s # "handle-simple-method", 988s # FALSE 988s # }; 988s # 988s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 988s # { 988s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 988s # NULL 988s # }; 988s # 988s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 988s # { 988s # { 988s # -1, 988s # (gchar *) "org.project.OtherCallableIface", 988s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 988s # NULL, 988s # NULL, 988s # NULL 988s # }, 988s # "org-project-other-callable-iface", 988s # }; 988s # 988s # 988s # /** 988s # * org_project_other_callable_iface_interface_info: 988s # * 988s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 988s # * 988s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 988s # */ 988s # GDBusInterfaceInfo * 988s # org_project_other_callable_iface_interface_info (void) 988s # { 988s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 988s # } 988s # 988s # /** 988s # * org_project_other_callable_iface_override_properties: 988s # * @klass: The class structure for a #GObject derived class. 988s # * @property_id_begin: The property id to assign to the first overridden property. 988s # * 988s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 988s # * The properties are overridden in the order they are defined. 988s # * 988s # * Returns: The last property id. 988s # */ 988s # guint 988s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 988s # { 988s # return property_id_begin - 1; 988s # } 988s # 988s # 988s # inline static void 988s # org_project_other_callable_iface_method_marshal_simple_method ( 988s # GClosure *closure, 988s # GValue *return_value, 988s # unsigned int n_param_values, 988s # const GValue *param_values, 988s # void *invocation_hint, 988s # void *marshal_data) 988s # { 988s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 988s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 988s # } 988s # 988s # 988s # /** 988s # * OrgProjectOtherCallableIface: 988s # * 988s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 988s # */ 988s # 988s # /** 988s # * OrgProjectOtherCallableIfaceIface: 988s # * @parent_iface: The parent interface. 988s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 988s # * 988s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 988s # */ 988s # 988s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 988s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 988s # 988s # static void 988s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 988s # { 988s # /* GObject signals for incoming D-Bus method calls: */ 988s # /** 988s # * OrgProjectOtherCallableIface::handle-simple-method: 988s # * @object: A #OrgProjectOtherCallableIface. 988s # * @invocation: A #GDBusMethodInvocation. 988s # * 988s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 988s # * 988s # * 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. 988s # * 988s # * 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. 988s # */ 988s # g_signal_new ("handle-simple-method", 988s # G_TYPE_FROM_INTERFACE (iface), 988s # G_SIGNAL_RUN_LAST, 988s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 988s # g_signal_accumulator_true_handled, 988s # NULL, 988s # org_project_other_callable_iface_method_marshal_simple_method, 988s # G_TYPE_BOOLEAN, 988s # 1, 988s # G_TYPE_DBUS_METHOD_INVOCATION); 988s # 988s # } 988s # 988s # /** 988s # * org_project_other_callable_iface_call_simple_method: 988s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 988s # * @cancellable: (nullable): A #GCancellable or %NULL. 988s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 988s # * @user_data: User data to pass to @callback. 988s # * 988s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 988s # * 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()). 988s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 988s # * 988s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 988s # */ 988s # void 988s # org_project_other_callable_iface_call_simple_method ( 988s # OrgProjectOtherCallableIface *proxy, 988s # GCancellable *cancellable, 988s # GAsyncReadyCallback callback, 988s # gpointer user_data) 988s # { 988s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 988s # "SimpleMethod", 988s # g_variant_new ("()"), 988s # G_DBUS_CALL_FLAGS_NONE, 988s # -1, 988s # cancellable, 988s # callback, 988s # user_data); 988s # } 988s # 988s # /** 988s # * org_project_other_callable_iface_call_simple_method_finish: 988s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 988s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 988s # * @error: Return location for error or %NULL. 988s # * 988s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 988s # * 988s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 988s # */ 988s # gboolean 988s # org_project_other_callable_iface_call_simple_method_finish ( 988s # OrgProjectOtherCallableIface *proxy, 988s # GAsyncResult *res, 988s # GError **error) 988s # { 988s # GVariant *_ret; 988s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 988s # if (_ret == NULL) 988s # goto _out; 988s # g_variant_get (_ret, 988s # "()"); 988s # g_variant_unref (_ret); 988s # _out: 988s # return _ret != NULL; 988s # } 988s # 988s # /** 988s # * org_project_other_callable_iface_call_simple_method_sync: 988s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 988s # * @cancellable: (nullable): A #GCancellable or %NULL. 988s # * @error: Return location for error or %NULL. 988s # * 988s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 988s # * 988s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 988s # * 988s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 988s # */ 988s # gboolean 988s # org_project_other_callable_iface_call_simple_method_sync ( 988s # OrgProjectOtherCallableIface *proxy, 988s # GCancellable *cancellable, 988s # GError **error) 988s # { 988s # GVariant *_ret; 988s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 988s # "SimpleMethod", 988s # g_variant_new ("()"), 988s # G_DBUS_CALL_FLAGS_NONE, 988s # -1, 988s # cancellable, 988s # error); 988s # if (_ret == NULL) 988s # goto _out; 988s # g_variant_get (_ret, 988s # "()"); 988s # g_variant_unref (_ret); 988s # _out: 988s # return _ret != NULL; 988s # } 988s # 988s # /** 988s # * org_project_other_callable_iface_complete_simple_method: 988s # * @object: A #OrgProjectOtherCallableIface. 988s # * @invocation: (transfer full): A #GDBusMethodInvocation. 988s # * 988s # * 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. 988s # * 988s # * This method will free @invocation, you cannot use it afterwards. 988s # */ 988s # void 988s # org_project_other_callable_iface_complete_simple_method ( 988s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 988s # GDBusMethodInvocation *invocation) 988s # { 988s # g_dbus_method_invocation_return_value (invocation, 988s # g_variant_new ("()")); 988s # } 988s # 988s # /* ------------------------------------------------------------------------ */ 988s # 988s # /** 988s # * OrgProjectOtherCallableIfaceProxy: 988s # * 988s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 988s # */ 988s # 988s # /** 988s # * OrgProjectOtherCallableIfaceProxyClass: 988s # * @parent_class: The parent class. 988s # * 988s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 988s # */ 988s # 988s # struct _OrgProjectOtherCallableIfaceProxyPrivate 988s # { 988s # GData *qdata; 988s # }; 988s # 988s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 988s # 988s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 988s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 988s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 988s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 988s # 988s # #else 988s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 988s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 988s # 988s # #endif 988s # static void 988s # org_project_other_callable_iface_proxy_finalize (GObject *object) 988s # { 988s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 988s # g_datalist_clear (&proxy->priv->qdata); 988s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 988s # } 988s # 988s # static void 988s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 988s # guint prop_id G_GNUC_UNUSED, 988s # GValue *value G_GNUC_UNUSED, 988s # GParamSpec *pspec G_GNUC_UNUSED) 988s # { 988s # } 988s # 988s # static void 988s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 988s # guint prop_id G_GNUC_UNUSED, 988s # const GValue *value G_GNUC_UNUSED, 988s # GParamSpec *pspec G_GNUC_UNUSED) 988s # { 988s # } 988s # 988s # static void 988s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 988s # const gchar *sender_name G_GNUC_UNUSED, 988s # const gchar *signal_name, 988s # GVariant *parameters) 988s # { 988s # _ExtendedGDBusSignalInfo *info; 988s # GVariantIter iter; 988s # GVariant *child; 988s # GValue *paramv; 988s # gsize num_params; 988s # gsize n; 988s # guint signal_id; 988s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 988s # if (info == NULL) 988s # return; 988s # num_params = g_variant_n_children (parameters); 988s # paramv = g_new0 (GValue, num_params + 1); 988s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 988s # g_value_set_object (¶mv[0], proxy); 988s # g_variant_iter_init (&iter, parameters); 988s # n = 1; 988s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 988s # { 988s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 988s # if (arg_info->use_gvariant) 988s # { 988s # g_value_init (¶mv[n], G_TYPE_VARIANT); 988s # g_value_set_variant (¶mv[n], child); 988s # n++; 988s # } 988s # else 988s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 988s # g_variant_unref (child); 988s # } 988s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 988s # g_signal_emitv (paramv, signal_id, 0, NULL); 988s # for (n = 0; n < num_params + 1; n++) 988s # g_value_unset (¶mv[n]); 988s # g_free (paramv); 988s # } 988s # 988s # static void 988s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 988s # GVariant *changed_properties, 988s # const gchar *const *invalidated_properties) 988s # { 988s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 988s # guint n; 988s # const gchar *key; 988s # GVariantIter *iter; 988s # _ExtendedGDBusPropertyInfo *info; 988s # g_variant_get (changed_properties, "a{sv}", &iter); 988s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 988s # { 988s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 988s # g_datalist_remove_data (&proxy->priv->qdata, key); 988s # if (info != NULL) 988s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 988s # } 988s # g_variant_iter_free (iter); 988s # for (n = 0; invalidated_properties[n] != NULL; n++) 988s # { 988s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 988s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 988s # if (info != NULL) 988s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 988s # } 988s # } 988s # 988s # static void 988s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 988s # { 988s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 988s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 988s # #else 988s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 988s # #endif 988s # 988s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 988s # } 988s # 988s # static void 988s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 988s # { 988s # GObjectClass *gobject_class; 988s # GDBusProxyClass *proxy_class; 988s # 988s # gobject_class = G_OBJECT_CLASS (klass); 988s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 988s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 988s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 988s # 988s # proxy_class = G_DBUS_PROXY_CLASS (klass); 988s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 988s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 988s # 988s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 988s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 988s # #endif 988s # } 988s # 988s # static void 988s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 988s # { 988s # } 988s # 988s # /** 988s # * org_project_other_callable_iface_proxy_new: 988s # * @connection: A #GDBusConnection. 988s # * @flags: Flags from the #GDBusProxyFlags enumeration. 988s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 988s # * @object_path: An object path. 988s # * @cancellable: (nullable): A #GCancellable or %NULL. 988s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 988s # * @user_data: User data to pass to @callback. 988s # * 988s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 988s # * 988s # * 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()). 988s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 988s # * 988s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 988s # */ 988s # void 988s # org_project_other_callable_iface_proxy_new ( 988s # GDBusConnection *connection, 988s # GDBusProxyFlags flags, 988s # const gchar *name, 988s # const gchar *object_path, 988s # GCancellable *cancellable, 988s # GAsyncReadyCallback callback, 988s # gpointer user_data) 988s # { 988s # 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); 988s # } 988s # 988s # /** 988s # * org_project_other_callable_iface_proxy_new_finish: 988s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 988s # * @error: Return location for error or %NULL 988s # * 988s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 988s # * 988s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 988s # */ 988s # OrgProjectOtherCallableIface * 988s # org_project_other_callable_iface_proxy_new_finish ( 988s # GAsyncResult *res, 988s # GError **error) 988s # { 988s # GObject *ret; 988s # GObject *source_object; 988s # source_object = g_async_result_get_source_object (res); 988s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 988s # g_object_unref (source_object); 988s # if (ret != NULL) 988s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 988s # else 988s # return NULL; 988s # } 988s # 988s # /** 988s # * org_project_other_callable_iface_proxy_new_sync: 988s # * @connection: A #GDBusConnection. 988s # * @flags: Flags from the #GDBusProxyFlags enumeration. 988s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 988s # * @object_path: An object path. 988s # * @cancellable: (nullable): A #GCancellable or %NULL. 988s # * @error: Return location for error or %NULL 988s # * 988s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 988s # * 988s # * The calling thread is blocked until a reply is received. 988s # * 988s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 988s # * 988s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 988s # */ 988s # OrgProjectOtherCallableIface * 988s # org_project_other_callable_iface_proxy_new_sync ( 988s # GDBusConnection *connection, 988s # GDBusProxyFlags flags, 988s # const gchar *name, 988s # const gchar *object_path, 988s # GCancellable *cancellable, 988s # GError **error) 988s # { 988s # GInitable *ret; 988s # 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); 988s # if (ret != NULL) 988s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 988s # else 988s # return NULL; 988s # } 988s # 988s # 988s # /** 988s # * org_project_other_callable_iface_proxy_new_for_bus: 988s # * @bus_type: A #GBusType. 988s # * @flags: Flags from the #GDBusProxyFlags enumeration. 988s # * @name: A bus name (well-known or unique). 988s # * @object_path: An object path. 988s # * @cancellable: (nullable): A #GCancellable or %NULL. 988s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 988s # * @user_data: User data to pass to @callback. 988s # * 988s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 988s # * 988s # * 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()). 988s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 988s # * 988s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 988s # */ 988s # void 988s # org_project_other_callable_iface_proxy_new_for_bus ( 988s # GBusType bus_type, 988s # GDBusProxyFlags flags, 988s # const gchar *name, 988s # const gchar *object_path, 988s # GCancellable *cancellable, 988s # GAsyncReadyCallback callback, 988s # gpointer user_data) 988s # { 988s # 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); 988s # } 988s # 988s # /** 988s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 988s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 988s # * @error: Return location for error or %NULL 988s # * 988s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 988s # * 988s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 988s # */ 988s # OrgProjectOtherCallableIface * 988s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 988s # GAsyncResult *res, 988s # GError **error) 988s # { 988s # GObject *ret; 988s # GObject *source_object; 988s # source_object = g_async_result_get_source_object (res); 988s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 988s # g_object_unref (source_object); 988s # if (ret != NULL) 988s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 988s # else 988s # return NULL; 988s # } 988s # 988s # /** 988s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 988s # * @bus_type: A #GBusType. 988s # * @flags: Flags from the #GDBusProxyFlags enumeration. 988s # * @name: A bus name (well-known or unique). 988s # * @object_path: An object path. 988s # * @cancellable: (nullable): A #GCancellable or %NULL. 988s # * @error: Return location for error or %NULL 988s # * 988s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 988s # * 988s # * The calling thread is blocked until a reply is received. 988s # * 988s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 988s # * 988s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 988s # */ 988s # OrgProjectOtherCallableIface * 988s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 988s # GBusType bus_type, 988s # GDBusProxyFlags flags, 988s # const gchar *name, 988s # const gchar *object_path, 988s # GCancellable *cancellable, 988s # GError **error) 988s # { 988s # GInitable *ret; 988s # 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); 988s # if (ret != NULL) 988s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 988s # else 988s # return NULL; 988s # } 988s # 988s # 988s # /* ------------------------------------------------------------------------ */ 988s # 988s # /** 988s # * OrgProjectOtherCallableIfaceSkeleton: 988s # * 988s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 988s # */ 988s # 988s # /** 988s # * OrgProjectOtherCallableIfaceSkeletonClass: 988s # * @parent_class: The parent class. 988s # * 988s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 988s # */ 988s # 988s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 988s # { 988s # GValue *properties; 988s # GList *changed_properties; 988s # GSource *changed_properties_idle_source; 988s # GMainContext *context; 988s # GMutex lock; 988s # }; 988s # 988s # static void 988s # _org_project_other_callable_iface_skeleton_handle_method_call ( 988s # GDBusConnection *connection G_GNUC_UNUSED, 988s # const gchar *sender G_GNUC_UNUSED, 988s # const gchar *object_path G_GNUC_UNUSED, 988s # const gchar *interface_name, 988s # const gchar *method_name, 988s # GVariant *parameters, 988s # GDBusMethodInvocation *invocation, 988s # gpointer user_data) 988s # { 988s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 988s # _ExtendedGDBusMethodInfo *info; 988s # GVariantIter iter; 988s # GVariant *child; 988s # GValue *paramv; 988s # gsize num_params; 988s # guint num_extra; 988s # gsize n; 988s # guint signal_id; 988s # GValue return_value = G_VALUE_INIT; 988s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 988s # g_assert (info != NULL); 988s # num_params = g_variant_n_children (parameters); 988s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 988s # n = 0; 988s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 988s # g_value_set_object (¶mv[n++], skeleton); 988s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 988s # g_value_set_object (¶mv[n++], invocation); 988s # if (info->pass_fdlist) 988s # { 988s # #ifdef G_OS_UNIX 988s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 988s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 988s # #else 988s # g_assert_not_reached (); 988s # #endif 988s # } 988s # g_variant_iter_init (&iter, parameters); 988s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 988s # { 988s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 988s # if (arg_info->use_gvariant) 988s # { 988s # g_value_init (¶mv[n], G_TYPE_VARIANT); 988s # g_value_set_variant (¶mv[n], child); 988s # n++; 988s # } 988s # else 988s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 988s # g_variant_unref (child); 988s # } 988s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 988s # g_value_init (&return_value, G_TYPE_BOOLEAN); 988s # g_signal_emitv (paramv, signal_id, 0, &return_value); 988s # if (!g_value_get_boolean (&return_value)) 988s # 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); 988s # g_value_unset (&return_value); 988s # for (n = 0; n < num_params + num_extra; n++) 988s # g_value_unset (¶mv[n]); 988s # g_free (paramv); 988s # } 988s # 988s # static GVariant * 988s # _org_project_other_callable_iface_skeleton_handle_get_property ( 988s # GDBusConnection *connection G_GNUC_UNUSED, 988s # const gchar *sender G_GNUC_UNUSED, 988s # const gchar *object_path G_GNUC_UNUSED, 988s # const gchar *interface_name G_GNUC_UNUSED, 988s # const gchar *property_name, 988s # GError **error, 988s # gpointer user_data) 988s # { 988s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 988s # GValue value = G_VALUE_INIT; 988s # GParamSpec *pspec; 988s # _ExtendedGDBusPropertyInfo *info; 988s # GVariant *ret; 988s # ret = NULL; 988s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 988s # g_assert (info != NULL); 988s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 988s # if (pspec == NULL) 988s # { 988s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 988s # } 988s # else 988s # { 988s # g_value_init (&value, pspec->value_type); 988s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 988s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 988s # g_value_unset (&value); 988s # } 988s # return ret; 988s # } 988s # 988s # static gboolean 988s # _org_project_other_callable_iface_skeleton_handle_set_property ( 988s # GDBusConnection *connection G_GNUC_UNUSED, 988s # const gchar *sender G_GNUC_UNUSED, 988s # const gchar *object_path G_GNUC_UNUSED, 988s # const gchar *interface_name G_GNUC_UNUSED, 988s # const gchar *property_name, 988s # GVariant *variant, 988s # GError **error, 988s # gpointer user_data) 988s # { 988s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 988s # GValue value = G_VALUE_INIT; 988s # GParamSpec *pspec; 988s # _ExtendedGDBusPropertyInfo *info; 988s # gboolean ret; 988s # ret = FALSE; 988s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 988s # g_assert (info != NULL); 988s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 988s # if (pspec == NULL) 988s # { 988s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 988s # } 988s # else 988s # { 988s # if (info->use_gvariant) 988s # g_value_set_variant (&value, variant); 988s # else 988s # g_dbus_gvariant_to_gvalue (variant, &value); 988s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 988s # g_value_unset (&value); 988s # ret = TRUE; 988s # } 988s # return ret; 988s # } 988s # 988s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 988s # { 988s # _org_project_other_callable_iface_skeleton_handle_method_call, 988s # _org_project_other_callable_iface_skeleton_handle_get_property, 988s # _org_project_other_callable_iface_skeleton_handle_set_property, 988s # {NULL} 988s # }; 988s # 988s # static GDBusInterfaceInfo * 988s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 988s # { 988s # return org_project_other_callable_iface_interface_info (); 988s # } 988s # 988s # static GDBusInterfaceVTable * 988s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 988s # { 988s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 988s # } 988s # 988s # static GVariant * 988s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 988s # { 988s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 988s # 988s # GVariantBuilder builder; 988s # guint n; 988s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 988s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 988s # goto out; 988s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 988s # { 988s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 988s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 988s # { 988s # GVariant *value; 988s # 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); 988s # if (value != NULL) 988s # { 988s # g_variant_take_ref (value); 988s # g_variant_builder_add (&builder, "{sv}", info->name, value); 988s # g_variant_unref (value); 988s # } 988s # } 988s # } 988s # out: 988s # return g_variant_builder_end (&builder); 988s # } 988s # 988s # static void 988s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 988s # { 988s # } 988s # 988s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 988s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 988s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 988s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 988s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 988s # 988s # #else 988s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 988s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 988s # 988s # #endif 988s # static void 988s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 988s # { 988s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 988s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 988s # if (skeleton->priv->changed_properties_idle_source != NULL) 988s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 988s # g_main_context_unref (skeleton->priv->context); 988s # g_mutex_clear (&skeleton->priv->lock); 988s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 988s # } 988s # 988s # static void 988s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 988s # { 988s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 988s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 988s # #else 988s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 988s # #endif 988s # 988s # g_mutex_init (&skeleton->priv->lock); 988s # skeleton->priv->context = g_main_context_ref_thread_default (); 988s # } 988s # 988s # static void 988s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 988s # { 988s # GObjectClass *gobject_class; 988s # GDBusInterfaceSkeletonClass *skeleton_class; 988s # 988s # gobject_class = G_OBJECT_CLASS (klass); 988s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 988s # 988s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 988s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 988s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 988s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 988s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 988s # 988s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 988s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 988s # #endif 988s # } 988s # 988s # static void 988s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 988s # { 988s # } 988s # 988s # /** 988s # * org_project_other_callable_iface_skeleton_new: 988s # * 988s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 988s # * 988s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 988s # */ 988s # OrgProjectOtherCallableIface * 988s # org_project_other_callable_iface_skeleton_new (void) 988s # { 988s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 988s # } 989s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 989s # tmpdir: /tmp/tmpdt1uzpfl 989s # codegen: /usr/bin/gdbus-codegen 989s # /tmp/tmpdt1uzpfl/tmpnviyl3g2.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmpnviyl3g2.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # gboolean arg_arg_b, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_boolean (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_b", 989s # (gchar *) "b", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodB", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-b", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_b ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_b: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-b", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_b, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_b: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_b: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_b ( 989s # OrgProjectUsefulInterface *proxy, 989s # gboolean arg_arg_b, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodB", 989s # g_variant_new ("(b)", 989s # arg_arg_b), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_b_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_b_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_b_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_b: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_b_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # gboolean arg_arg_b, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodB", 989s # g_variant_new ("(b)", 989s # arg_arg_b), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_b: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_b ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmpor2te31b.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmpor2te31b.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # guchar arg_arg_y, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_uchar (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_y", 989s # (gchar *) "y", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodY", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-y", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_y ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_y: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-y", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_y, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_y: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_y: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_y ( 989s # OrgProjectUsefulInterface *proxy, 989s # guchar arg_arg_y, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodY", 989s # g_variant_new ("(y)", 989s # arg_arg_y), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_y_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_y_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_y_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_y: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_y_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # guchar arg_arg_y, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodY", 989s # g_variant_new ("(y)", 989s # arg_arg_y), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_y: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_y ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmpxnbe2j__.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmpxnbe2j__.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # gint16 arg_arg_n, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_int (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_n", 989s # (gchar *) "n", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodN", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-n", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_n ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_n: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-n", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_n, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_n: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_n: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_n ( 989s # OrgProjectUsefulInterface *proxy, 989s # gint16 arg_arg_n, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodN", 989s # g_variant_new ("(n)", 989s # arg_arg_n), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_n_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_n_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_n_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_n: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_n_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # gint16 arg_arg_n, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodN", 989s # g_variant_new ("(n)", 989s # arg_arg_n), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_n: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_n ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmp_hckk0pj.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmp_hckk0pj.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # guint16 arg_arg_q, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_uint (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_q", 989s # (gchar *) "q", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodQ", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-q", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_q ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_q: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-q", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_q, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_q: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_q: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_q ( 989s # OrgProjectUsefulInterface *proxy, 989s # guint16 arg_arg_q, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodQ", 989s # g_variant_new ("(q)", 989s # arg_arg_q), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_q_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_q_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_q_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_q: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_q_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # guint16 arg_arg_q, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodQ", 989s # g_variant_new ("(q)", 989s # arg_arg_q), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_q: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_q ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmpx1a371zl.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmpx1a371zl.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # gint arg_arg_i, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_int (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_i", 989s # (gchar *) "i", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodI", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-i", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_i ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_i: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-i", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_i, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_i: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_i: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_i ( 989s # OrgProjectUsefulInterface *proxy, 989s # gint arg_arg_i, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodI", 989s # g_variant_new ("(i)", 989s # arg_arg_i), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_i_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_i_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_i_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_i: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_i_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # gint arg_arg_i, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodI", 989s # g_variant_new ("(i)", 989s # arg_arg_i), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_i: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_i ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmp76u3353a.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmp76u3353a.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # guint arg_arg_u, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_uint (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_u", 989s # (gchar *) "u", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodU", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-u", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_u ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_u: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-u", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_u, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_u: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_u: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_u ( 989s # OrgProjectUsefulInterface *proxy, 989s # guint arg_arg_u, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodU", 989s # g_variant_new ("(u)", 989s # arg_arg_u), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_u_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_u_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_u_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_u: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_u_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # guint arg_arg_u, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodU", 989s # g_variant_new ("(u)", 989s # arg_arg_u), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_u: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_u ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmpux9641x0.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmpux9641x0.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # gint64 arg_arg_x, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_int64 (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_x", 989s # (gchar *) "x", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodX", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-x", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_x ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_x: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-x", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_x, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_x: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_x: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_x ( 989s # OrgProjectUsefulInterface *proxy, 989s # gint64 arg_arg_x, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodX", 989s # g_variant_new ("(x)", 989s # arg_arg_x), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_x_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_x_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_x_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_x: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_x_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # gint64 arg_arg_x, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodX", 989s # g_variant_new ("(x)", 989s # arg_arg_x), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_x: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_x ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmpfcyj3h77.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmpfcyj3h77.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # guint64 arg_arg_t, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_uint64 (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_t", 989s # (gchar *) "t", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodT", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-t", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_t ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_t: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-t", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_t, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_t: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_t: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_t ( 989s # OrgProjectUsefulInterface *proxy, 989s # guint64 arg_arg_t, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodT", 989s # g_variant_new ("(t)", 989s # arg_arg_t), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_t_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_t_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_t_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_t: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_t_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # guint64 arg_arg_t, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodT", 989s # g_variant_new ("(t)", 989s # arg_arg_t), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_t: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_t ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmpctuyfi1u.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmpctuyfi1u.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # gdouble arg_arg_d, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_double (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_d", 989s # (gchar *) "d", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodD", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-d", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_d ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_d: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-d", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_d, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_d: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_d: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_d ( 989s # OrgProjectUsefulInterface *proxy, 989s # gdouble arg_arg_d, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodD", 989s # g_variant_new ("(d)", 989s # arg_arg_d), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_d_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_d_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_d_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_d: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_d_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # gdouble arg_arg_d, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodD", 989s # g_variant_new ("(d)", 989s # arg_arg_d), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_d: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_d ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmpzbkj_09t.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmpzbkj_09t.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # const gchar *arg_arg_s, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_string (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_s", 989s # (gchar *) "s", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodS", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-s", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_s ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_s: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-s", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_s, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_s: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_s: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_s ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *arg_arg_s, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodS", 989s # g_variant_new ("(s)", 989s # arg_arg_s), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_s_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_s_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_s_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_s: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_s_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *arg_arg_s, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodS", 989s # g_variant_new ("(s)", 989s # arg_arg_s), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_s: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_s ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmp3tw_ltyq.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmp3tw_ltyq.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # const gchar *arg_arg_o, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_string (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_o", 989s # (gchar *) "o", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodO", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-o", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_o ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_o: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-o", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_o, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_o: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_o: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_o ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *arg_arg_o, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodO", 989s # g_variant_new ("(o)", 989s # arg_arg_o), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_o_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_o_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_o_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_o: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_o_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *arg_arg_o, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodO", 989s # g_variant_new ("(o)", 989s # arg_arg_o), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_o: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_o ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmp3noyf52b.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmp3noyf52b.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # const gchar *arg_arg_g, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_string (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_g", 989s # (gchar *) "g", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodG", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-g", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_g ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_g: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-g", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_g, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_g: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_g: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_g ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *arg_arg_g, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodG", 989s # g_variant_new ("(g)", 989s # arg_arg_g), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_g_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_g_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_g_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_g: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_g_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *arg_arg_g, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodG", 989s # g_variant_new ("(g)", 989s # arg_arg_g), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_g: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_g ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmplrzlcc4c.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmplrzlcc4c.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # GVariant *arg_arg_h, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_variant (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_h", 989s # (gchar *) "h", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodH", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-h", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_h ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_h: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-h", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_h, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_h: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_h: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_h ( 989s # OrgProjectUsefulInterface *proxy, 989s # GVariant *arg_arg_h, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodH", 989s # g_variant_new ("(@h)", 989s # arg_arg_h), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_h_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_h_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_h_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_h: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_h_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # GVariant *arg_arg_h, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodH", 989s # g_variant_new ("(@h)", 989s # arg_arg_h), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_h: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_h ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmpjcv3hpp9.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmpjcv3hpp9.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # const gchar *arg_arg_ay, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_string (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_ay", 989s # (gchar *) "ay", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodAy", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-ay", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_ay: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-ay", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_ay, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_ay: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_ay: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_ay ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *arg_arg_ay, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodAy", 989s # g_variant_new ("(^ay)", 989s # arg_arg_ay), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_ay_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_ay_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_ay_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_ay: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_ay_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *arg_arg_ay, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodAy", 989s # g_variant_new ("(^ay)", 989s # arg_arg_ay), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_ay: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_ay ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmpvum69wef.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmpvum69wef.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # const gchar *const *arg_arg_as, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_boxed (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_as", 989s # (gchar *) "as", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodAs", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-as", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_as ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_as: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-as", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_as, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_as: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_as: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_as ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *const *arg_arg_as, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodAs", 989s # g_variant_new ("(^as)", 989s # arg_arg_as), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_as_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_as_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_as_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_as: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_as_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *const *arg_arg_as, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodAs", 989s # g_variant_new ("(^as)", 989s # arg_arg_as), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_as: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_as ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmp2bms_a9z.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmp2bms_a9z.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # const gchar *const *arg_arg_ao, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_boxed (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_ao", 989s # (gchar *) "ao", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodAo", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-ao", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_ao: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-ao", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_ao, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_ao: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_ao: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_ao ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *const *arg_arg_ao, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodAo", 989s # g_variant_new ("(^ao)", 989s # arg_arg_ao), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_ao_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_ao_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_ao_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_ao: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_ao_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *const *arg_arg_ao, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodAo", 989s # g_variant_new ("(^ao)", 989s # arg_arg_ao), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_ao: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_ao ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmppa9e52lr.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmppa9e52lr.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # const gchar *const *arg_arg_aay, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_boxed (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_aay", 989s # (gchar *) "aay", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodAay", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-aay", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_aay: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-aay", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_aay, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_aay: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_aay: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_aay ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *const *arg_arg_aay, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodAay", 989s # g_variant_new ("(^aay)", 989s # arg_arg_aay), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_aay_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_aay_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_aay_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_aay: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_aay_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # const gchar *const *arg_arg_aay, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodAay", 989s # g_variant_new ("(^aay)", 989s # arg_arg_aay), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_aay: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_aay ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 989s # /tmp/tmpdt1uzpfl/tmp_e77yl_f.xml: 989s # 989s # 989s # 989s # 989s # 989s # 989s # 989s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdt1uzpfl/tmp_e77yl_f.xml', '--output', '-', '--body'] 989s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 989s # Output: /* 989s # * This file is generated by gdbus-codegen, do not modify it. 989s # * 989s # * The license of this code is the same as for the D-Bus interface description 989s # * it was derived from. Note that it links to GLib, so must comply with the 989s # * LGPL linking clauses. 989s # */ 989s # 989s # #ifdef HAVE_CONFIG_H 989s # # include "config.h" 989s # #endif 989s # 989s # #include 989s # #ifdef G_OS_UNIX 989s # # include 989s # #endif 989s # 989s # #ifdef G_ENABLE_DEBUG 989s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 989s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 989s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 989s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 989s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 989s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 989s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 989s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 989s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 989s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 989s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 989s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 989s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 989s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 989s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 989s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 989s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 989s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 989s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 989s # #else /* !G_ENABLE_DEBUG */ 989s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 989s # * Do not access GValues directly in your code. Instead, use the 989s # * g_value_get_*() functions 989s # */ 989s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 989s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 989s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 989s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 989s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 989s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 989s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 989s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 989s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 989s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 989s # #endif /* !G_ENABLE_DEBUG */ 989s # 989s # typedef struct 989s # { 989s # GDBusArgInfo parent_struct; 989s # gboolean use_gvariant; 989s # } _ExtendedGDBusArgInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusMethodInfo parent_struct; 989s # const gchar *signal_name; 989s # gboolean pass_fdlist; 989s # } _ExtendedGDBusMethodInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusSignalInfo parent_struct; 989s # const gchar *signal_name; 989s # } _ExtendedGDBusSignalInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusPropertyInfo parent_struct; 989s # const gchar *hyphen_name; 989s # guint use_gvariant : 1; 989s # guint emits_changed_signal : 1; 989s # } _ExtendedGDBusPropertyInfo; 989s # 989s # typedef struct 989s # { 989s # GDBusInterfaceInfo parent_struct; 989s # const gchar *hyphen_name; 989s # } _ExtendedGDBusInterfaceInfo; 989s # 989s # typedef struct 989s # { 989s # const _ExtendedGDBusPropertyInfo *info; 989s # guint prop_id; 989s # GValue orig_value; /* the value before the change */ 989s # } ChangedProperty; 989s # 989s # static void 989s # _changed_property_free (ChangedProperty *data) 989s # { 989s # g_value_unset (&data->orig_value); 989s # g_free (data); 989s # } 989s # 989s # static gboolean 989s # _g_strv_equal0 (gchar **a, gchar **b) 989s # { 989s # gboolean ret = FALSE; 989s # guint n; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # if (g_strv_length (a) != g_strv_length (b)) 989s # goto out; 989s # for (n = 0; a[n] != NULL; n++) 989s # if (g_strcmp0 (a[n], b[n]) != 0) 989s # goto out; 989s # ret = TRUE; 989s # out: 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _g_variant_equal0 (GVariant *a, GVariant *b) 989s # { 989s # gboolean ret = FALSE; 989s # if (a == NULL && b == NULL) 989s # { 989s # ret = TRUE; 989s # goto out; 989s # } 989s # if (a == NULL || b == NULL) 989s # goto out; 989s # ret = g_variant_equal (a, b); 989s # out: 989s # return ret; 989s # } 989s # 989s # G_GNUC_UNUSED static gboolean 989s # _g_value_equal (const GValue *a, const GValue *b) 989s # { 989s # gboolean ret = FALSE; 989s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 989s # switch (G_VALUE_TYPE (a)) 989s # { 989s # case G_TYPE_BOOLEAN: 989s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 989s # break; 989s # case G_TYPE_UCHAR: 989s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 989s # break; 989s # case G_TYPE_INT: 989s # ret = (g_value_get_int (a) == g_value_get_int (b)); 989s # break; 989s # case G_TYPE_UINT: 989s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 989s # break; 989s # case G_TYPE_INT64: 989s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 989s # break; 989s # case G_TYPE_UINT64: 989s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 989s # break; 989s # case G_TYPE_DOUBLE: 989s # { 989s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 989s # gdouble da = g_value_get_double (a); 989s # gdouble db = g_value_get_double (b); 989s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 989s # } 989s # break; 989s # case G_TYPE_STRING: 989s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 989s # break; 989s # case G_TYPE_VARIANT: 989s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 989s # break; 989s # default: 989s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 989s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 989s # else 989s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 989s # break; 989s # } 989s # return ret; 989s # } 989s # 989s # static void 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint G_GNUC_UNUSED, 989s # void *marshal_data) 989s # { 989s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 989s # (void *data1, 989s # GDBusMethodInvocation *arg_method_invocation, 989s # GVariant *arg_arg_asv, 989s # void *data2); 989s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 989s # GCClosure *cc = (GCClosure*) closure; 989s # void *data1, *data2; 989s # gboolean v_return; 989s # 989s # g_return_if_fail (return_value != NULL); 989s # g_return_if_fail (n_param_values == 3); 989s # 989s # if (G_CCLOSURE_SWAP_DATA (closure)) 989s # { 989s # data1 = closure->data; 989s # data2 = g_value_peek_pointer (param_values + 0); 989s # } 989s # else 989s # { 989s # data1 = g_value_peek_pointer (param_values + 0); 989s # data2 = closure->data; 989s # } 989s # 989s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 989s # (marshal_data ? marshal_data : cc->callback); 989s # 989s # v_return = 989s # callback (data1, 989s # g_marshal_value_peek_object (param_values + 1), 989s # g_marshal_value_peek_variant (param_values + 2), 989s # data2); 989s # 989s # g_value_set_boolean (return_value, v_return); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ 989s # * Code for interface org.project.UsefulInterface 989s # * ------------------------------------------------------------------------ 989s # */ 989s # 989s # /** 989s # * SECTION:OrgProjectUsefulInterface 989s # * @title: OrgProjectUsefulInterface 989s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 989s # * 989s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 989s # */ 989s # 989s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 989s # 989s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 989s # { 989s # { 989s # -1, 989s # (gchar *) "arg_asv", 989s # (gchar *) "a{sv}", 989s # NULL 989s # }, 989s # FALSE 989s # }; 989s # 989s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 989s # { 989s # { 989s # -1, 989s # (gchar *) "SingleArgMethodAsv", 989s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 989s # NULL, 989s # NULL 989s # }, 989s # "handle-single-arg-method-asv", 989s # FALSE 989s # }; 989s # 989s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 989s # { 989s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 989s # NULL 989s # }; 989s # 989s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 989s # { 989s # { 989s # -1, 989s # (gchar *) "org.project.UsefulInterface", 989s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 989s # NULL, 989s # NULL, 989s # NULL 989s # }, 989s # "org-project-useful-interface", 989s # }; 989s # 989s # 989s # /** 989s # * org_project_useful_interface_interface_info: 989s # * 989s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 989s # * 989s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 989s # */ 989s # GDBusInterfaceInfo * 989s # org_project_useful_interface_interface_info (void) 989s # { 989s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_override_properties: 989s # * @klass: The class structure for a #GObject derived class. 989s # * @property_id_begin: The property id to assign to the first overridden property. 989s # * 989s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 989s # * The properties are overridden in the order they are defined. 989s # * 989s # * Returns: The last property id. 989s # */ 989s # guint 989s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 989s # { 989s # return property_id_begin - 1; 989s # } 989s # 989s # 989s # inline static void 989s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 989s # GClosure *closure, 989s # GValue *return_value, 989s # unsigned int n_param_values, 989s # const GValue *param_values, 989s # void *invocation_hint, 989s # void *marshal_data) 989s # { 989s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 989s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 989s # } 989s # 989s # 989s # /** 989s # * OrgProjectUsefulInterface: 989s # * 989s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceIface: 989s # * @parent_iface: The parent interface. 989s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 989s # * 989s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 989s # */ 989s # 989s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 989s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 989s # 989s # static void 989s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 989s # { 989s # /* GObject signals for incoming D-Bus method calls: */ 989s # /** 989s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: A #GDBusMethodInvocation. 989s # * @arg_arg_asv: Argument passed by remote caller. 989s # * 989s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 989s # * 989s # * 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. 989s # * 989s # * 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. 989s # */ 989s # g_signal_new ("handle-single-arg-method-asv", 989s # G_TYPE_FROM_INTERFACE (iface), 989s # G_SIGNAL_RUN_LAST, 989s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 989s # g_signal_accumulator_true_handled, 989s # NULL, 989s # org_project_useful_interface_method_marshal_single_arg_method_asv, 989s # G_TYPE_BOOLEAN, 989s # 2, 989s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 989s # 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_asv: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_asv: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 989s # * 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()). 989s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 989s # */ 989s # void 989s # org_project_useful_interface_call_single_arg_method_asv ( 989s # OrgProjectUsefulInterface *proxy, 989s # GVariant *arg_arg_asv, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodAsv", 989s # g_variant_new ("(@a{sv})", 989s # arg_arg_asv), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # callback, 989s # user_data); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_asv_finish: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_asv_finish ( 989s # OrgProjectUsefulInterface *proxy, 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_call_single_arg_method_asv_sync: 989s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 989s # * @arg_arg_asv: Argument to pass with the method invocation. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL. 989s # * 989s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 989s # * 989s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 989s # */ 989s # gboolean 989s # org_project_useful_interface_call_single_arg_method_asv_sync ( 989s # OrgProjectUsefulInterface *proxy, 989s # GVariant *arg_arg_asv, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GVariant *_ret; 989s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 989s # "SingleArgMethodAsv", 989s # g_variant_new ("(@a{sv})", 989s # arg_arg_asv), 989s # G_DBUS_CALL_FLAGS_NONE, 989s # -1, 989s # cancellable, 989s # error); 989s # if (_ret == NULL) 989s # goto _out; 989s # g_variant_get (_ret, 989s # "()"); 989s # g_variant_unref (_ret); 989s # _out: 989s # return _ret != NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_complete_single_arg_method_asv: 989s # * @object: A #OrgProjectUsefulInterface. 989s # * @invocation: (transfer full): A #GDBusMethodInvocation. 989s # * 989s # * 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. 989s # * 989s # * This method will free @invocation, you cannot use it afterwards. 989s # */ 989s # void 989s # org_project_useful_interface_complete_single_arg_method_asv ( 989s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 989s # GDBusMethodInvocation *invocation) 989s # { 989s # g_dbus_method_invocation_return_value (invocation, 989s # g_variant_new ("()")); 989s # } 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxy: 989s # * 989s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceProxyClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceProxy. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceProxyPrivate 989s # { 989s # GData *qdata; 989s # }; 989s # 989s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_proxy_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 989s # g_datalist_clear (&proxy->priv->qdata); 989s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 989s # guint prop_id G_GNUC_UNUSED, 989s # const GValue *value G_GNUC_UNUSED, 989s # GParamSpec *pspec G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 989s # const gchar *sender_name G_GNUC_UNUSED, 989s # const gchar *signal_name, 989s # GVariant *parameters) 989s # { 989s # _ExtendedGDBusSignalInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # gsize n; 989s # guint signal_id; 989s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 989s # if (info == NULL) 989s # return; 989s # num_params = g_variant_n_children (parameters); 989s # paramv = g_new0 (GValue, num_params + 1); 989s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[0], proxy); 989s # g_variant_iter_init (&iter, parameters); 989s # n = 1; 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_signal_emitv (paramv, signal_id, 0, NULL); 989s # for (n = 0; n < num_params + 1; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 989s # GVariant *changed_properties, 989s # const gchar *const *invalidated_properties) 989s # { 989s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 989s # guint n; 989s # const gchar *key; 989s # GVariantIter *iter; 989s # _ExtendedGDBusPropertyInfo *info; 989s # g_variant_get (changed_properties, "a{sv}", &iter); 989s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 989s # g_datalist_remove_data (&proxy->priv->qdata, key); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # g_variant_iter_free (iter); 989s # for (n = 0; invalidated_properties[n] != NULL; n++) 989s # { 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 989s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 989s # if (info != NULL) 989s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 989s # } 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 989s # #else 989s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 989s # #endif 989s # 989s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusProxyClass *proxy_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 989s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 989s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 989s # 989s # proxy_class = G_DBUS_PROXY_CLASS (klass); 989s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 989s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_sync: 989s # * @connection: A #GDBusConnection. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_sync ( 989s # GDBusConnection *connection, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 989s # * @user_data: User data to pass to @callback. 989s # * 989s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * 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()). 989s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 989s # */ 989s # void 989s # org_project_useful_interface_proxy_new_for_bus ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GAsyncReadyCallback callback, 989s # gpointer user_data) 989s # { 989s # 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); 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_finish: 989s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 989s # * @error: Return location for error or %NULL 989s # * 989s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_finish ( 989s # GAsyncResult *res, 989s # GError **error) 989s # { 989s # GObject *ret; 989s # GObject *source_object; 989s # source_object = g_async_result_get_source_object (res); 989s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 989s # g_object_unref (source_object); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_proxy_new_for_bus_sync: 989s # * @bus_type: A #GBusType. 989s # * @flags: Flags from the #GDBusProxyFlags enumeration. 989s # * @name: A bus name (well-known or unique). 989s # * @object_path: An object path. 989s # * @cancellable: (nullable): A #GCancellable or %NULL. 989s # * @error: Return location for error or %NULL 989s # * 989s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 989s # * 989s # * The calling thread is blocked until a reply is received. 989s # * 989s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_proxy_new_for_bus_sync ( 989s # GBusType bus_type, 989s # GDBusProxyFlags flags, 989s # const gchar *name, 989s # const gchar *object_path, 989s # GCancellable *cancellable, 989s # GError **error) 989s # { 989s # GInitable *ret; 989s # 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); 989s # if (ret != NULL) 989s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 989s # else 989s # return NULL; 989s # } 989s # 989s # 989s # /* ------------------------------------------------------------------------ */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeleton: 989s # * 989s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 989s # */ 989s # 989s # /** 989s # * OrgProjectUsefulInterfaceSkeletonClass: 989s # * @parent_class: The parent class. 989s # * 989s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 989s # */ 989s # 989s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 989s # { 989s # GValue *properties; 989s # GList *changed_properties; 989s # GSource *changed_properties_idle_source; 989s # GMainContext *context; 989s # GMutex lock; 989s # }; 989s # 989s # static void 989s # _org_project_useful_interface_skeleton_handle_method_call ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name, 989s # const gchar *method_name, 989s # GVariant *parameters, 989s # GDBusMethodInvocation *invocation, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # _ExtendedGDBusMethodInfo *info; 989s # GVariantIter iter; 989s # GVariant *child; 989s # GValue *paramv; 989s # gsize num_params; 989s # guint num_extra; 989s # gsize n; 989s # guint signal_id; 989s # GValue return_value = G_VALUE_INIT; 989s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 989s # g_assert (info != NULL); 989s # num_params = g_variant_n_children (parameters); 989s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 989s # n = 0; 989s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_set_object (¶mv[n++], skeleton); 989s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 989s # g_value_set_object (¶mv[n++], invocation); 989s # if (info->pass_fdlist) 989s # { 989s # #ifdef G_OS_UNIX 989s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 989s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 989s # #else 989s # g_assert_not_reached (); 989s # #endif 989s # } 989s # g_variant_iter_init (&iter, parameters); 989s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 989s # { 989s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 989s # if (arg_info->use_gvariant) 989s # { 989s # g_value_init (¶mv[n], G_TYPE_VARIANT); 989s # g_value_set_variant (¶mv[n], child); 989s # n++; 989s # } 989s # else 989s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 989s # g_variant_unref (child); 989s # } 989s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 989s # g_value_init (&return_value, G_TYPE_BOOLEAN); 989s # g_signal_emitv (paramv, signal_id, 0, &return_value); 989s # if (!g_value_get_boolean (&return_value)) 989s # 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); 989s # g_value_unset (&return_value); 989s # for (n = 0; n < num_params + num_extra; n++) 989s # g_value_unset (¶mv[n]); 989s # g_free (paramv); 989s # } 989s # 989s # static GVariant * 989s # _org_project_useful_interface_skeleton_handle_get_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # GVariant *ret; 989s # ret = NULL; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # g_value_init (&value, pspec->value_type); 989s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 989s # g_value_unset (&value); 989s # } 989s # return ret; 989s # } 989s # 989s # static gboolean 989s # _org_project_useful_interface_skeleton_handle_set_property ( 989s # GDBusConnection *connection G_GNUC_UNUSED, 989s # const gchar *sender G_GNUC_UNUSED, 989s # const gchar *object_path G_GNUC_UNUSED, 989s # const gchar *interface_name G_GNUC_UNUSED, 989s # const gchar *property_name, 989s # GVariant *variant, 989s # GError **error, 989s # gpointer user_data) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 989s # GValue value = G_VALUE_INIT; 989s # GParamSpec *pspec; 989s # _ExtendedGDBusPropertyInfo *info; 989s # gboolean ret; 989s # ret = FALSE; 989s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 989s # g_assert (info != NULL); 989s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 989s # if (pspec == NULL) 989s # { 989s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 989s # } 989s # else 989s # { 989s # if (info->use_gvariant) 989s # g_value_set_variant (&value, variant); 989s # else 989s # g_dbus_gvariant_to_gvalue (variant, &value); 989s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 989s # g_value_unset (&value); 989s # ret = TRUE; 989s # } 989s # return ret; 989s # } 989s # 989s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 989s # { 989s # _org_project_useful_interface_skeleton_handle_method_call, 989s # _org_project_useful_interface_skeleton_handle_get_property, 989s # _org_project_useful_interface_skeleton_handle_set_property, 989s # {NULL} 989s # }; 989s # 989s # static GDBusInterfaceInfo * 989s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return org_project_useful_interface_interface_info (); 989s # } 989s # 989s # static GDBusInterfaceVTable * 989s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 989s # { 989s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 989s # } 989s # 989s # static GVariant * 989s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 989s # 989s # GVariantBuilder builder; 989s # guint n; 989s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 989s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 989s # goto out; 989s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 989s # { 989s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 989s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 989s # { 989s # GVariant *value; 989s # 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); 989s # if (value != NULL) 989s # { 989s # g_variant_take_ref (value); 989s # g_variant_builder_add (&builder, "{sv}", info->name, value); 989s # g_variant_unref (value); 989s # } 989s # } 989s # } 989s # out: 989s # return g_variant_builder_end (&builder); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #else 989s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 989s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 989s # 989s # #endif 989s # static void 989s # org_project_useful_interface_skeleton_finalize (GObject *object) 989s # { 989s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 989s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 989s # if (skeleton->priv->changed_properties_idle_source != NULL) 989s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 989s # g_main_context_unref (skeleton->priv->context); 989s # g_mutex_clear (&skeleton->priv->lock); 989s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 989s # { 989s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 989s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 989s # #else 989s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 989s # #endif 989s # 989s # g_mutex_init (&skeleton->priv->lock); 989s # skeleton->priv->context = g_main_context_ref_thread_default (); 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 989s # { 989s # GObjectClass *gobject_class; 989s # GDBusInterfaceSkeletonClass *skeleton_class; 989s # 989s # gobject_class = G_OBJECT_CLASS (klass); 989s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 989s # 989s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 989s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 989s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 989s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 989s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 989s # 989s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 989s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 989s # #endif 989s # } 989s # 989s # static void 989s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 989s # { 989s # } 989s # 989s # /** 989s # * org_project_useful_interface_skeleton_new: 989s # * 989s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 989s # * 989s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 989s # */ 989s # OrgProjectUsefulInterface * 989s # org_project_useful_interface_skeleton_new (void) 989s # { 989s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 989s # } 991s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 991s # tmpdir: /tmp/tmp1rfmcau7 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmp1rfmcau7/tmp441u07x0.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmp441u07x0.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_b", 991s # (gchar *) "b", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodB", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-b", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_b ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-b", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_b, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_b: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_b ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodB", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_b_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_b_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # gboolean *out_arg_b, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(b)", 991s # out_arg_b); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_b_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_b_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # gboolean *out_arg_b, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodB", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(b)", 991s # out_arg_b); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_b: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_b: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_b ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # gboolean arg_b) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(b)", 991s # arg_b)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmp63i2u6sv.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmp63i2u6sv.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_y", 991s # (gchar *) "y", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodY", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-y", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_y ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-y", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_y, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_y: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_y ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodY", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_y_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_y_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # guchar *out_arg_y, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(y)", 991s # out_arg_y); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_y_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_y_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # guchar *out_arg_y, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodY", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(y)", 991s # out_arg_y); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_y: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_y: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_y ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # guchar arg_y) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(y)", 991s # arg_y)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmpdc0wu2w1.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmpdc0wu2w1.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_n", 991s # (gchar *) "n", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodN", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-n", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_n ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-n", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_n, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_n: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_n ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodN", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_n_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_n_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # gint16 *out_arg_n, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(n)", 991s # out_arg_n); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_n_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_n_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # gint16 *out_arg_n, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodN", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(n)", 991s # out_arg_n); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_n: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_n: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_n ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # gint16 arg_n) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(n)", 991s # arg_n)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmpc_j_psvl.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmpc_j_psvl.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_q", 991s # (gchar *) "q", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodQ", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-q", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_q ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-q", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_q, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_q: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_q ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodQ", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_q_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_q_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # guint16 *out_arg_q, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(q)", 991s # out_arg_q); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_q_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_q_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # guint16 *out_arg_q, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodQ", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(q)", 991s # out_arg_q); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_q: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_q: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_q ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # guint16 arg_q) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(q)", 991s # arg_q)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmp267mwmrw.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmp267mwmrw.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_i", 991s # (gchar *) "i", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodI", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-i", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_i ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-i", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_i, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_i: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_i ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodI", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_i_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_i_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # gint *out_arg_i, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(i)", 991s # out_arg_i); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_i_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_i_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # gint *out_arg_i, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodI", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(i)", 991s # out_arg_i); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_i: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_i: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_i ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # gint arg_i) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(i)", 991s # arg_i)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmpcynupv1x.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmpcynupv1x.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_u", 991s # (gchar *) "u", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodU", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-u", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_u ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-u", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_u, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_u: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_u ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodU", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_u_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_u_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # guint *out_arg_u, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(u)", 991s # out_arg_u); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_u_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_u_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # guint *out_arg_u, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodU", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(u)", 991s # out_arg_u); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_u: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_u: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_u ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # guint arg_u) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(u)", 991s # arg_u)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmpj6lnx5ku.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmpj6lnx5ku.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_x", 991s # (gchar *) "x", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodX", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-x", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_x ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-x", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_x, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_x: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_x ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodX", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_x_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_x_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # gint64 *out_arg_x, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(x)", 991s # out_arg_x); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_x_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_x_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # gint64 *out_arg_x, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodX", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(x)", 991s # out_arg_x); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_x: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_x: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_x ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # gint64 arg_x) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(x)", 991s # arg_x)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmpksugltkb.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmpksugltkb.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_t", 991s # (gchar *) "t", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodT", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-t", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_t ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-t", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_t, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_t: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_t ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodT", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_t_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_t_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # guint64 *out_arg_t, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(t)", 991s # out_arg_t); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_t_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_t_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # guint64 *out_arg_t, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodT", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(t)", 991s # out_arg_t); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_t: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_t: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_t ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # guint64 arg_t) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(t)", 991s # arg_t)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmprfrf0kxy.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmprfrf0kxy.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_d", 991s # (gchar *) "d", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodD", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-d", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_d ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-d", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_d, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_d: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_d ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodD", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_d_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_d_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # gdouble *out_arg_d, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(d)", 991s # out_arg_d); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_d_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_d_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # gdouble *out_arg_d, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodD", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(d)", 991s # out_arg_d); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_d: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_d: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_d ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # gdouble arg_d) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(d)", 991s # arg_d)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmpvrhyzgoz.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmpvrhyzgoz.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_s", 991s # (gchar *) "s", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodS", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-s", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_s ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-s", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_s, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_s: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_s ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodS", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_s_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_s_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar **out_arg_s, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(s)", 991s # out_arg_s); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_s_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_s_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar **out_arg_s, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodS", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(s)", 991s # out_arg_s); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_s: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_s: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_s ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # const gchar *arg_s) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(s)", 991s # arg_s)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmpvcr5oju3.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmpvcr5oju3.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_o", 991s # (gchar *) "o", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodO", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-o", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_o ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-o", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_o, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_o: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_o ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodO", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_o_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_o_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar **out_arg_o, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(o)", 991s # out_arg_o); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_o_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_o_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar **out_arg_o, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodO", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(o)", 991s # out_arg_o); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_o: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_o: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_o ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # const gchar *arg_o) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(o)", 991s # arg_o)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmpscq789te.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmpscq789te.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_g", 991s # (gchar *) "g", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodG", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-g", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_g ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-g", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_g, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_g: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_g ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodG", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_g_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_g_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar **out_arg_g, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(g)", 991s # out_arg_g); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_g_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_g_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar **out_arg_g, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodG", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(g)", 991s # out_arg_g); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_g: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_g: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_g ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # const gchar *arg_g) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(g)", 991s # arg_g)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmp46n2z7fa.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmp46n2z7fa.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_h", 991s # (gchar *) "h", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodH", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-h", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_h ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-h", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_h, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_h: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_h ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodH", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_h_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_h_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # GVariant **out_arg_h, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(@h)", 991s # out_arg_h); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_h_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_h_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # GVariant **out_arg_h, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodH", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(@h)", 991s # out_arg_h); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_h: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_h: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_h ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # GVariant *arg_h) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(@h)", 991s # arg_h)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmpf0zgrrch.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmpf0zgrrch.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_ay", 991s # (gchar *) "ay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodAy", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-ay", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-ay", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_ay, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_ay: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_ay ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodAy", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_ay_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_ay_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar **out_arg_ay, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(^ay)", 991s # out_arg_ay); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_ay_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_ay_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar **out_arg_ay, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodAy", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(^ay)", 991s # out_arg_ay); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_ay: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_ay: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_ay ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # const gchar *arg_ay) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(^ay)", 991s # arg_ay)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmpsvyr0_uf.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmpsvyr0_uf.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_as", 991s # (gchar *) "as", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodAs", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-as", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_as ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-as", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_as, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_as: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_as ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodAs", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_as_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_as_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar ***out_arg_as, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(^as)", 991s # out_arg_as); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_as_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_as_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar ***out_arg_as, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodAs", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(^as)", 991s # out_arg_as); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_as: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_as: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_as ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # const gchar *const *arg_as) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(^as)", 991s # arg_as)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmpe8hmltgy.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmpe8hmltgy.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_ao", 991s # (gchar *) "ao", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodAo", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-ao", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-ao", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_ao, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_ao: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_ao ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodAo", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_ao_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_ao_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar ***out_arg_ao, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(^ao)", 991s # out_arg_ao); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_ao_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_ao_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar ***out_arg_ao, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodAo", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(^ao)", 991s # out_arg_ao); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_ao: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_ao: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_ao ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # const gchar *const *arg_ao) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(^ao)", 991s # arg_ao)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmphkpzo4cd.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmphkpzo4cd.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_aay", 991s # (gchar *) "aay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodAay", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-aay", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-aay", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_aay, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_aay: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_aay ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodAay", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_aay_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_aay_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar ***out_arg_aay, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(^aay)", 991s # out_arg_aay); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_aay_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_aay_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # gchar ***out_arg_aay, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodAay", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(^aay)", 991s # out_arg_aay); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_aay: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_aay: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_aay ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # const gchar *const *arg_aay) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(^aay)", 991s # arg_aay)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp1rfmcau7/tmphqx_bd_7.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1rfmcau7/tmphqx_bd_7.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_asv", 991s # (gchar *) "a{sv}", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgMethodAsv", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-single-arg-method-asv", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-single-arg-method-asv", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_useful_interface_method_marshal_single_arg_method_asv, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_asv: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_useful_interface_call_single_arg_method_asv ( 991s # OrgProjectUsefulInterface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodAsv", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_asv_finish: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_asv_finish ( 991s # OrgProjectUsefulInterface *proxy, 991s # GVariant **out_arg_asv, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(@a{sv})", 991s # out_arg_asv); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_call_single_arg_method_asv_sync: 991s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 991s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_useful_interface_call_single_arg_method_asv_sync ( 991s # OrgProjectUsefulInterface *proxy, 991s # GVariant **out_arg_asv, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SingleArgMethodAsv", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(@a{sv})", 991s # out_arg_asv); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_complete_single_arg_method_asv: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @arg_asv: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_useful_interface_complete_single_arg_method_asv ( 991s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # GVariant *arg_asv) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(@a{sv})", 991s # arg_asv)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 991s # tmpdir: /tmp/tmp474habd9 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmp474habd9/tmpzupfz0_v.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp474habd9/tmpzupfz0_v.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 20); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # g_marshal_value_peek_boolean (param_values + 2), 991s # g_marshal_value_peek_uchar (param_values + 3), 991s # g_marshal_value_peek_int (param_values + 4), 991s # g_marshal_value_peek_uint (param_values + 5), 991s # g_marshal_value_peek_int (param_values + 6), 991s # g_marshal_value_peek_uint (param_values + 7), 991s # g_marshal_value_peek_int64 (param_values + 8), 991s # g_marshal_value_peek_uint64 (param_values + 9), 991s # g_marshal_value_peek_double (param_values + 10), 991s # g_marshal_value_peek_string (param_values + 11), 991s # g_marshal_value_peek_string (param_values + 12), 991s # g_marshal_value_peek_string (param_values + 13), 991s # g_marshal_value_peek_variant (param_values + 14), 991s # g_marshal_value_peek_string (param_values + 15), 991s # g_marshal_value_peek_boxed (param_values + 16), 991s # g_marshal_value_peek_boxed (param_values + 17), 991s # g_marshal_value_peek_boxed (param_values + 18), 991s # g_marshal_value_peek_variant (param_values + 19), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.CallableIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectCallableIface 991s # * @title: OrgProjectCallableIface 991s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.CallableIface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_b", 991s # (gchar *) "b", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_y", 991s # (gchar *) "y", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_n", 991s # (gchar *) "n", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_q", 991s # (gchar *) "q", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_i", 991s # (gchar *) "i", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_u", 991s # (gchar *) "u", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_x", 991s # (gchar *) "x", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_t", 991s # (gchar *) "t", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_d", 991s # (gchar *) "d", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_s", 991s # (gchar *) "s", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_o", 991s # (gchar *) "o", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_g", 991s # (gchar *) "g", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_h", 991s # (gchar *) "h", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ay", 991s # (gchar *) "ay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_as", 991s # (gchar *) "as", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ao", 991s # (gchar *) "ao", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_aay", 991s # (gchar *) "aay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_asv", 991s # (gchar *) "a{sv}", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 991s # { 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 991s # { 991s # { 991s # -1, 991s # (gchar *) "MethodWithManyArgs", 991s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "handle-method-with-many-args", 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_b", 991s # (gchar *) "b", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_y", 991s # (gchar *) "y", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_n", 991s # (gchar *) "n", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_q", 991s # (gchar *) "q", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_i", 991s # (gchar *) "i", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_u", 991s # (gchar *) "u", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_x", 991s # (gchar *) "x", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_t", 991s # (gchar *) "t", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_d", 991s # (gchar *) "d", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_s", 991s # (gchar *) "s", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_o", 991s # (gchar *) "o", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_g", 991s # (gchar *) "g", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_h", 991s # (gchar *) "h", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ay", 991s # (gchar *) "ay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_as", 991s # (gchar *) "as", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ao", 991s # (gchar *) "ao", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_aay", 991s # (gchar *) "aay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_asv", 991s # (gchar *) "a{sv}", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 991s # { 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SameMethodWithManyArgs", 991s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "handle-same-method-with-many-args", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 991s # { 991s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 991s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.CallableIface", 991s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-callable-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_callable_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_callable_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_callable_iface_method_marshal_method_with_many_args ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _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, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _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, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectCallableIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectCallableIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 991s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.CallableIface. 991s # */ 991s # 991s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectCallableIface::handle-method-with-many-args: 991s # * @object: A #OrgProjectCallableIface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * @arg_an_b: Argument passed by remote caller. 991s # * @arg_an_y: Argument passed by remote caller. 991s # * @arg_an_n: Argument passed by remote caller. 991s # * @arg_an_q: Argument passed by remote caller. 991s # * @arg_an_i: Argument passed by remote caller. 991s # * @arg_an_u: Argument passed by remote caller. 991s # * @arg_an_x: Argument passed by remote caller. 991s # * @arg_an_t: Argument passed by remote caller. 991s # * @arg_an_d: Argument passed by remote caller. 991s # * @arg_an_s: Argument passed by remote caller. 991s # * @arg_an_o: Argument passed by remote caller. 991s # * @arg_an_g: Argument passed by remote caller. 991s # * @arg_an_h: Argument passed by remote caller. 991s # * @arg_an_ay: Argument passed by remote caller. 991s # * @arg_an_as: Argument passed by remote caller. 991s # * @arg_an_ao: Argument passed by remote caller. 991s # * @arg_an_aay: Argument passed by remote caller. 991s # * @arg_an_asv: Argument passed by remote caller. 991s # * 991s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-method-with-many-args", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_callable_iface_method_marshal_method_with_many_args, 991s # G_TYPE_BOOLEAN, 991s # 19, 991s # 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); 991s # 991s # /** 991s # * OrgProjectCallableIface::handle-same-method-with-many-args: 991s # * @object: A #OrgProjectCallableIface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * @arg_an_b: Argument passed by remote caller. 991s # * @arg_an_y: Argument passed by remote caller. 991s # * @arg_an_n: Argument passed by remote caller. 991s # * @arg_an_q: Argument passed by remote caller. 991s # * @arg_an_i: Argument passed by remote caller. 991s # * @arg_an_u: Argument passed by remote caller. 991s # * @arg_an_x: Argument passed by remote caller. 991s # * @arg_an_t: Argument passed by remote caller. 991s # * @arg_an_d: Argument passed by remote caller. 991s # * @arg_an_s: Argument passed by remote caller. 991s # * @arg_an_o: Argument passed by remote caller. 991s # * @arg_an_g: Argument passed by remote caller. 991s # * @arg_an_h: Argument passed by remote caller. 991s # * @arg_an_ay: Argument passed by remote caller. 991s # * @arg_an_as: Argument passed by remote caller. 991s # * @arg_an_ao: Argument passed by remote caller. 991s # * @arg_an_aay: Argument passed by remote caller. 991s # * @arg_an_asv: Argument passed by remote caller. 991s # * 991s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-same-method-with-many-args", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_callable_iface_method_marshal_same_method_with_many_args, 991s # G_TYPE_BOOLEAN, 991s # 19, 991s # 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); 991s # 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_call_method_with_many_args: 991s # * @proxy: A #OrgProjectCallableIfaceProxy. 991s # * @arg_an_b: Argument to pass with the method invocation. 991s # * @arg_an_y: Argument to pass with the method invocation. 991s # * @arg_an_n: Argument to pass with the method invocation. 991s # * @arg_an_q: Argument to pass with the method invocation. 991s # * @arg_an_i: Argument to pass with the method invocation. 991s # * @arg_an_u: Argument to pass with the method invocation. 991s # * @arg_an_x: Argument to pass with the method invocation. 991s # * @arg_an_t: Argument to pass with the method invocation. 991s # * @arg_an_d: Argument to pass with the method invocation. 991s # * @arg_an_s: Argument to pass with the method invocation. 991s # * @arg_an_o: Argument to pass with the method invocation. 991s # * @arg_an_g: Argument to pass with the method invocation. 991s # * @arg_an_h: Argument to pass with the method invocation. 991s # * @arg_an_ay: Argument to pass with the method invocation. 991s # * @arg_an_as: Argument to pass with the method invocation. 991s # * @arg_an_ao: Argument to pass with the method invocation. 991s # * @arg_an_aay: Argument to pass with the method invocation. 991s # * @arg_an_asv: Argument to pass with the method invocation. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 991s # * 991s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_callable_iface_call_method_with_many_args ( 991s # OrgProjectCallableIface *proxy, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "MethodWithManyArgs", 991s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 991s # arg_an_b, 991s # arg_an_y, 991s # arg_an_n, 991s # arg_an_q, 991s # arg_an_i, 991s # arg_an_u, 991s # arg_an_x, 991s # arg_an_t, 991s # arg_an_d, 991s # arg_an_s, 991s # arg_an_o, 991s # arg_an_g, 991s # arg_an_h, 991s # arg_an_ay, 991s # arg_an_as, 991s # arg_an_ao, 991s # arg_an_aay, 991s # arg_an_asv), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_call_method_with_many_args_finish: 991s # * @proxy: A #OrgProjectCallableIfaceProxy. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_callable_iface_call_method_with_many_args_finish ( 991s # OrgProjectCallableIface *proxy, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "()"); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_call_method_with_many_args_sync: 991s # * @proxy: A #OrgProjectCallableIfaceProxy. 991s # * @arg_an_b: Argument to pass with the method invocation. 991s # * @arg_an_y: Argument to pass with the method invocation. 991s # * @arg_an_n: Argument to pass with the method invocation. 991s # * @arg_an_q: Argument to pass with the method invocation. 991s # * @arg_an_i: Argument to pass with the method invocation. 991s # * @arg_an_u: Argument to pass with the method invocation. 991s # * @arg_an_x: Argument to pass with the method invocation. 991s # * @arg_an_t: Argument to pass with the method invocation. 991s # * @arg_an_d: Argument to pass with the method invocation. 991s # * @arg_an_s: Argument to pass with the method invocation. 991s # * @arg_an_o: Argument to pass with the method invocation. 991s # * @arg_an_g: Argument to pass with the method invocation. 991s # * @arg_an_h: Argument to pass with the method invocation. 991s # * @arg_an_ay: Argument to pass with the method invocation. 991s # * @arg_an_as: Argument to pass with the method invocation. 991s # * @arg_an_ao: Argument to pass with the method invocation. 991s # * @arg_an_aay: Argument to pass with the method invocation. 991s # * @arg_an_asv: Argument to pass with the method invocation. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_callable_iface_call_method_with_many_args_sync ( 991s # OrgProjectCallableIface *proxy, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "MethodWithManyArgs", 991s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 991s # arg_an_b, 991s # arg_an_y, 991s # arg_an_n, 991s # arg_an_q, 991s # arg_an_i, 991s # arg_an_u, 991s # arg_an_x, 991s # arg_an_t, 991s # arg_an_d, 991s # arg_an_s, 991s # arg_an_o, 991s # arg_an_g, 991s # arg_an_h, 991s # arg_an_ay, 991s # arg_an_as, 991s # arg_an_ao, 991s # arg_an_aay, 991s # arg_an_asv), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "()"); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_call_same_method_with_many_args: 991s # * @proxy: A #OrgProjectCallableIfaceProxy. 991s # * @arg_an_b: Argument to pass with the method invocation. 991s # * @arg_an_y: Argument to pass with the method invocation. 991s # * @arg_an_n: Argument to pass with the method invocation. 991s # * @arg_an_q: Argument to pass with the method invocation. 991s # * @arg_an_i: Argument to pass with the method invocation. 991s # * @arg_an_u: Argument to pass with the method invocation. 991s # * @arg_an_x: Argument to pass with the method invocation. 991s # * @arg_an_t: Argument to pass with the method invocation. 991s # * @arg_an_d: Argument to pass with the method invocation. 991s # * @arg_an_s: Argument to pass with the method invocation. 991s # * @arg_an_o: Argument to pass with the method invocation. 991s # * @arg_an_g: Argument to pass with the method invocation. 991s # * @arg_an_h: Argument to pass with the method invocation. 991s # * @arg_an_ay: Argument to pass with the method invocation. 991s # * @arg_an_as: Argument to pass with the method invocation. 991s # * @arg_an_ao: Argument to pass with the method invocation. 991s # * @arg_an_aay: Argument to pass with the method invocation. 991s # * @arg_an_asv: Argument to pass with the method invocation. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 991s # * 991s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_callable_iface_call_same_method_with_many_args ( 991s # OrgProjectCallableIface *proxy, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "SameMethodWithManyArgs", 991s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 991s # arg_an_b, 991s # arg_an_y, 991s # arg_an_n, 991s # arg_an_q, 991s # arg_an_i, 991s # arg_an_u, 991s # arg_an_x, 991s # arg_an_t, 991s # arg_an_d, 991s # arg_an_s, 991s # arg_an_o, 991s # arg_an_g, 991s # arg_an_h, 991s # arg_an_ay, 991s # arg_an_as, 991s # arg_an_ao, 991s # arg_an_aay, 991s # arg_an_asv), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_call_same_method_with_many_args_finish: 991s # * @proxy: A #OrgProjectCallableIfaceProxy. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_callable_iface_call_same_method_with_many_args_finish ( 991s # OrgProjectCallableIface *proxy, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "()"); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_call_same_method_with_many_args_sync: 991s # * @proxy: A #OrgProjectCallableIfaceProxy. 991s # * @arg_an_b: Argument to pass with the method invocation. 991s # * @arg_an_y: Argument to pass with the method invocation. 991s # * @arg_an_n: Argument to pass with the method invocation. 991s # * @arg_an_q: Argument to pass with the method invocation. 991s # * @arg_an_i: Argument to pass with the method invocation. 991s # * @arg_an_u: Argument to pass with the method invocation. 991s # * @arg_an_x: Argument to pass with the method invocation. 991s # * @arg_an_t: Argument to pass with the method invocation. 991s # * @arg_an_d: Argument to pass with the method invocation. 991s # * @arg_an_s: Argument to pass with the method invocation. 991s # * @arg_an_o: Argument to pass with the method invocation. 991s # * @arg_an_g: Argument to pass with the method invocation. 991s # * @arg_an_h: Argument to pass with the method invocation. 991s # * @arg_an_ay: Argument to pass with the method invocation. 991s # * @arg_an_as: Argument to pass with the method invocation. 991s # * @arg_an_ao: Argument to pass with the method invocation. 991s # * @arg_an_aay: Argument to pass with the method invocation. 991s # * @arg_an_asv: Argument to pass with the method invocation. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_callable_iface_call_same_method_with_many_args_sync ( 991s # OrgProjectCallableIface *proxy, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "SameMethodWithManyArgs", 991s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 991s # arg_an_b, 991s # arg_an_y, 991s # arg_an_n, 991s # arg_an_q, 991s # arg_an_i, 991s # arg_an_u, 991s # arg_an_x, 991s # arg_an_t, 991s # arg_an_d, 991s # arg_an_s, 991s # arg_an_o, 991s # arg_an_g, 991s # arg_an_h, 991s # arg_an_ay, 991s # arg_an_as, 991s # arg_an_ao, 991s # arg_an_aay, 991s # arg_an_asv), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "()"); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_complete_method_with_many_args: 991s # * @object: A #OrgProjectCallableIface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_callable_iface_complete_method_with_many_args ( 991s # OrgProjectCallableIface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("()")); 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_complete_same_method_with_many_args: 991s # * @object: A #OrgProjectCallableIface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_callable_iface_complete_same_method_with_many_args ( 991s # OrgProjectCallableIface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("()")); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectCallableIfaceProxy: 991s # * 991s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectCallableIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectCallableIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectCallableIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_callable_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_callable_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectCallableIface * 991s # org_project_callable_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_CALLABLE_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectCallableIface * 991s # org_project_callable_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_CALLABLE_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_callable_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_callable_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectCallableIface * 991s # org_project_callable_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_CALLABLE_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectCallableIface * 991s # org_project_callable_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_CALLABLE_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectCallableIfaceSkeleton: 991s # * 991s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectCallableIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectCallableIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectCallableIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_callable_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_callable_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_callable_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 991s # { 991s # _org_project_callable_iface_skeleton_handle_method_call, 991s # _org_project_callable_iface_skeleton_handle_get_property, 991s # _org_project_callable_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_callable_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_callable_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectCallableIface * 991s # org_project_callable_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.OtherCallableIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectOtherCallableIface 991s # * @title: OrgProjectOtherCallableIface 991s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_b", 991s # (gchar *) "b", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_y", 991s # (gchar *) "y", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_n", 991s # (gchar *) "n", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_q", 991s # (gchar *) "q", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_i", 991s # (gchar *) "i", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_u", 991s # (gchar *) "u", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_x", 991s # (gchar *) "x", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_t", 991s # (gchar *) "t", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_d", 991s # (gchar *) "d", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_s", 991s # (gchar *) "s", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_o", 991s # (gchar *) "o", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_g", 991s # (gchar *) "g", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_h", 991s # (gchar *) "h", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ay", 991s # (gchar *) "ay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_as", 991s # (gchar *) "as", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ao", 991s # (gchar *) "ao", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_aay", 991s # (gchar *) "aay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_asv", 991s # (gchar *) "a{sv}", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 991s # { 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 991s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 991s # { 991s # { 991s # -1, 991s # (gchar *) "MethodWithManyArgs", 991s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "handle-method-with-many-args", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 991s # { 991s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.OtherCallableIface", 991s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-other-callable-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_other_callable_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_other_callable_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_other_callable_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _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, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectOtherCallableIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectOtherCallableIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 991s # */ 991s # 991s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 991s # * @object: A #OrgProjectOtherCallableIface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * @arg_an_b: Argument passed by remote caller. 991s # * @arg_an_y: Argument passed by remote caller. 991s # * @arg_an_n: Argument passed by remote caller. 991s # * @arg_an_q: Argument passed by remote caller. 991s # * @arg_an_i: Argument passed by remote caller. 991s # * @arg_an_u: Argument passed by remote caller. 991s # * @arg_an_x: Argument passed by remote caller. 991s # * @arg_an_t: Argument passed by remote caller. 991s # * @arg_an_d: Argument passed by remote caller. 991s # * @arg_an_s: Argument passed by remote caller. 991s # * @arg_an_o: Argument passed by remote caller. 991s # * @arg_an_g: Argument passed by remote caller. 991s # * @arg_an_h: Argument passed by remote caller. 991s # * @arg_an_ay: Argument passed by remote caller. 991s # * @arg_an_as: Argument passed by remote caller. 991s # * @arg_an_ao: Argument passed by remote caller. 991s # * @arg_an_aay: Argument passed by remote caller. 991s # * @arg_an_asv: Argument passed by remote caller. 991s # * 991s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-method-with-many-args", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_other_callable_iface_method_marshal_method_with_many_args, 991s # G_TYPE_BOOLEAN, 991s # 19, 991s # 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); 991s # 991s # } 991s # 991s # /** 991s # * org_project_other_callable_iface_call_method_with_many_args: 991s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 991s # * @arg_an_b: Argument to pass with the method invocation. 991s # * @arg_an_y: Argument to pass with the method invocation. 991s # * @arg_an_n: Argument to pass with the method invocation. 991s # * @arg_an_q: Argument to pass with the method invocation. 991s # * @arg_an_i: Argument to pass with the method invocation. 991s # * @arg_an_u: Argument to pass with the method invocation. 991s # * @arg_an_x: Argument to pass with the method invocation. 991s # * @arg_an_t: Argument to pass with the method invocation. 991s # * @arg_an_d: Argument to pass with the method invocation. 991s # * @arg_an_s: Argument to pass with the method invocation. 991s # * @arg_an_o: Argument to pass with the method invocation. 991s # * @arg_an_g: Argument to pass with the method invocation. 991s # * @arg_an_h: Argument to pass with the method invocation. 991s # * @arg_an_ay: Argument to pass with the method invocation. 991s # * @arg_an_as: Argument to pass with the method invocation. 991s # * @arg_an_ao: Argument to pass with the method invocation. 991s # * @arg_an_aay: Argument to pass with the method invocation. 991s # * @arg_an_asv: Argument to pass with the method invocation. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 991s # * 991s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_other_callable_iface_call_method_with_many_args ( 991s # OrgProjectOtherCallableIface *proxy, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "MethodWithManyArgs", 991s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 991s # arg_an_b, 991s # arg_an_y, 991s # arg_an_n, 991s # arg_an_q, 991s # arg_an_i, 991s # arg_an_u, 991s # arg_an_x, 991s # arg_an_t, 991s # arg_an_d, 991s # arg_an_s, 991s # arg_an_o, 991s # arg_an_g, 991s # arg_an_h, 991s # arg_an_ay, 991s # arg_an_as, 991s # arg_an_ao, 991s # arg_an_aay, 991s # arg_an_asv), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_other_callable_iface_call_method_with_many_args_finish: 991s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_other_callable_iface_call_method_with_many_args_finish ( 991s # OrgProjectOtherCallableIface *proxy, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "()"); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_other_callable_iface_call_method_with_many_args_sync: 991s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 991s # * @arg_an_b: Argument to pass with the method invocation. 991s # * @arg_an_y: Argument to pass with the method invocation. 991s # * @arg_an_n: Argument to pass with the method invocation. 991s # * @arg_an_q: Argument to pass with the method invocation. 991s # * @arg_an_i: Argument to pass with the method invocation. 991s # * @arg_an_u: Argument to pass with the method invocation. 991s # * @arg_an_x: Argument to pass with the method invocation. 991s # * @arg_an_t: Argument to pass with the method invocation. 991s # * @arg_an_d: Argument to pass with the method invocation. 991s # * @arg_an_s: Argument to pass with the method invocation. 991s # * @arg_an_o: Argument to pass with the method invocation. 991s # * @arg_an_g: Argument to pass with the method invocation. 991s # * @arg_an_h: Argument to pass with the method invocation. 991s # * @arg_an_ay: Argument to pass with the method invocation. 991s # * @arg_an_as: Argument to pass with the method invocation. 991s # * @arg_an_ao: Argument to pass with the method invocation. 991s # * @arg_an_aay: Argument to pass with the method invocation. 991s # * @arg_an_asv: Argument to pass with the method invocation. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_other_callable_iface_call_method_with_many_args_sync ( 991s # OrgProjectOtherCallableIface *proxy, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "MethodWithManyArgs", 991s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 991s # arg_an_b, 991s # arg_an_y, 991s # arg_an_n, 991s # arg_an_q, 991s # arg_an_i, 991s # arg_an_u, 991s # arg_an_x, 991s # arg_an_t, 991s # arg_an_d, 991s # arg_an_s, 991s # arg_an_o, 991s # arg_an_g, 991s # arg_an_h, 991s # arg_an_ay, 991s # arg_an_as, 991s # arg_an_ao, 991s # arg_an_aay, 991s # arg_an_asv), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "()"); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_other_callable_iface_complete_method_with_many_args: 991s # * @object: A #OrgProjectOtherCallableIface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_other_callable_iface_complete_method_with_many_args ( 991s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("()")); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectOtherCallableIfaceProxy: 991s # * 991s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectOtherCallableIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectOtherCallableIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_other_callable_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_other_callable_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_other_callable_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_other_callable_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectOtherCallableIface * 991s # org_project_other_callable_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_other_callable_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectOtherCallableIface * 991s # org_project_other_callable_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_other_callable_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_other_callable_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectOtherCallableIface * 991s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectOtherCallableIface * 991s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectOtherCallableIfaceSkeleton: 991s # * 991s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectOtherCallableIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_other_callable_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_other_callable_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_other_callable_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 991s # { 991s # _org_project_other_callable_iface_skeleton_handle_method_call, 991s # _org_project_other_callable_iface_skeleton_handle_get_property, 991s # _org_project_other_callable_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_other_callable_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_other_callable_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectOtherCallableIface * 991s # org_project_other_callable_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 991s # } 991s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 991s # tmpdir: /tmp/tmpevp2c9v1 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmpevp2c9v1/tmp07bbspll.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpevp2c9v1/tmp07bbspll.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (void *data1, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.CallableIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectCallableIface 991s # * @title: OrgProjectCallableIface 991s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for org.project.CallableIface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_b", 991s # (gchar *) "b", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_y", 991s # (gchar *) "y", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_n", 991s # (gchar *) "n", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_q", 991s # (gchar *) "q", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_i", 991s # (gchar *) "i", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_u", 991s # (gchar *) "u", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_x", 991s # (gchar *) "x", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_t", 991s # (gchar *) "t", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_d", 991s # (gchar *) "d", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_s", 991s # (gchar *) "s", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_o", 991s # (gchar *) "o", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_g", 991s # (gchar *) "g", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_h", 991s # (gchar *) "h", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ay", 991s # (gchar *) "ay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_as", 991s # (gchar *) "as", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ao", 991s # (gchar *) "ao", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_aay", 991s # (gchar *) "aay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_asv", 991s # (gchar *) "a{sv}", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 991s # { 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 991s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 991s # { 991s # { 991s # -1, 991s # (gchar *) "MethodWithManyArgs", 991s # NULL, 991s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-method-with-many-args", 991s # FALSE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 991s # { 991s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.CallableIface", 991s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-callable-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_callable_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_callable_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_callable_iface_method_marshal_method_with_many_args ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectCallableIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectCallableIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.CallableIface. 991s # */ 991s # 991s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * OrgProjectCallableIface::handle-method-with-many-args: 991s # * @object: A #OrgProjectCallableIface. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * 991s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-method-with-many-args", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # org_project_callable_iface_method_marshal_method_with_many_args, 991s # G_TYPE_BOOLEAN, 991s # 1, 991s # G_TYPE_DBUS_METHOD_INVOCATION); 991s # 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_call_method_with_many_args: 991s # * @proxy: A #OrgProjectCallableIfaceProxy. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 991s # * 991s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # org_project_callable_iface_call_method_with_many_args ( 991s # OrgProjectCallableIface *proxy, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 991s # "MethodWithManyArgs", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_call_method_with_many_args_finish: 991s # * @proxy: A #OrgProjectCallableIfaceProxy. 991s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 991s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 991s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 991s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_callable_iface_call_method_with_many_args_finish ( 991s # OrgProjectCallableIface *proxy, 991s # gboolean *out_an_b, 991s # guchar *out_an_y, 991s # gint16 *out_an_n, 991s # guint16 *out_an_q, 991s # gint *out_an_i, 991s # guint *out_an_u, 991s # gint64 *out_an_x, 991s # guint64 *out_an_t, 991s # gdouble *out_an_d, 991s # gchar **out_an_s, 991s # gchar **out_an_o, 991s # gchar **out_an_g, 991s # GVariant **out_an_h, 991s # gchar **out_an_ay, 991s # gchar ***out_an_as, 991s # gchar ***out_an_ao, 991s # gchar ***out_an_aay, 991s # GVariant **out_an_asv, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 991s # out_an_b, 991s # out_an_y, 991s # out_an_n, 991s # out_an_q, 991s # out_an_i, 991s # out_an_u, 991s # out_an_x, 991s # out_an_t, 991s # out_an_d, 991s # out_an_s, 991s # out_an_o, 991s # out_an_g, 991s # out_an_h, 991s # out_an_ay, 991s # out_an_as, 991s # out_an_ao, 991s # out_an_aay, 991s # out_an_asv); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_call_method_with_many_args_sync: 991s # * @proxy: A #OrgProjectCallableIfaceProxy. 991s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 991s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 991s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 991s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # org_project_callable_iface_call_method_with_many_args_sync ( 991s # OrgProjectCallableIface *proxy, 991s # gboolean *out_an_b, 991s # guchar *out_an_y, 991s # gint16 *out_an_n, 991s # guint16 *out_an_q, 991s # gint *out_an_i, 991s # guint *out_an_u, 991s # gint64 *out_an_x, 991s # guint64 *out_an_t, 991s # gdouble *out_an_d, 991s # gchar **out_an_s, 991s # gchar **out_an_o, 991s # gchar **out_an_g, 991s # GVariant **out_an_h, 991s # gchar **out_an_ay, 991s # gchar ***out_an_as, 991s # gchar ***out_an_ao, 991s # gchar ***out_an_aay, 991s # GVariant **out_an_asv, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 991s # "MethodWithManyArgs", 991s # g_variant_new ("()"), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 991s # out_an_b, 991s # out_an_y, 991s # out_an_n, 991s # out_an_q, 991s # out_an_i, 991s # out_an_u, 991s # out_an_x, 991s # out_an_t, 991s # out_an_d, 991s # out_an_s, 991s # out_an_o, 991s # out_an_g, 991s # out_an_h, 991s # out_an_ay, 991s # out_an_as, 991s # out_an_ao, 991s # out_an_aay, 991s # out_an_asv); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_complete_method_with_many_args: 991s # * @object: A #OrgProjectCallableIface. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @an_b: Parameter to return. 991s # * @an_y: Parameter to return. 991s # * @an_n: Parameter to return. 991s # * @an_q: Parameter to return. 991s # * @an_i: Parameter to return. 991s # * @an_u: Parameter to return. 991s # * @an_x: Parameter to return. 991s # * @an_t: Parameter to return. 991s # * @an_d: Parameter to return. 991s # * @an_s: Parameter to return. 991s # * @an_o: Parameter to return. 991s # * @an_g: Parameter to return. 991s # * @an_h: Parameter to return. 991s # * @an_ay: Parameter to return. 991s # * @an_as: Parameter to return. 991s # * @an_ao: Parameter to return. 991s # * @an_aay: Parameter to return. 991s # * @an_asv: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # org_project_callable_iface_complete_method_with_many_args ( 991s # OrgProjectCallableIface *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # gboolean an_b, 991s # guchar an_y, 991s # gint16 an_n, 991s # guint16 an_q, 991s # gint an_i, 991s # guint an_u, 991s # gint64 an_x, 991s # guint64 an_t, 991s # gdouble an_d, 991s # const gchar *an_s, 991s # const gchar *an_o, 991s # const gchar *an_g, 991s # GVariant *an_h, 991s # const gchar *an_ay, 991s # const gchar *const *an_as, 991s # const gchar *const *an_ao, 991s # const gchar *const *an_aay, 991s # GVariant *an_asv) 991s # { 991s # g_dbus_method_invocation_return_value (invocation, 991s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 991s # an_b, 991s # an_y, 991s # an_n, 991s # an_q, 991s # an_i, 991s # an_u, 991s # an_x, 991s # an_t, 991s # an_d, 991s # an_s, 991s # an_o, 991s # an_g, 991s # an_h, 991s # an_ay, 991s # an_as, 991s # an_ao, 991s # an_aay, 991s # an_asv)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectCallableIfaceProxy: 991s # * 991s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectCallableIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectCallableIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectCallableIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_callable_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_callable_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectCallableIface * 991s # org_project_callable_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_CALLABLE_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectCallableIface * 991s # org_project_callable_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_CALLABLE_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_callable_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_callable_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectCallableIface * 991s # org_project_callable_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_CALLABLE_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectCallableIface * 991s # org_project_callable_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_CALLABLE_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectCallableIfaceSkeleton: 991s # * 991s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectCallableIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectCallableIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectCallableIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_callable_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_callable_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_callable_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 991s # { 991s # _org_project_callable_iface_skeleton_handle_method_call, 991s # _org_project_callable_iface_skeleton_handle_get_property, 991s # _org_project_callable_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_callable_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_callable_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_callable_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectCallableIface * 991s # org_project_callable_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 991s # } 991s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 991s # tmpdir: /tmp/tmp3y3sk9nx 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmp3y3sk9nx/tmpr6ae3nke.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3y3sk9nx/tmpr6ae3nke.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 991s # (void *data1, 991s # GUnixFDList *arg_fd_list, 991s # GDBusMethodInvocation *arg_method_invocation, 991s # const gchar *arg_greeting, 991s # void *data2); 991s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # gboolean v_return; 991s # 991s # g_return_if_fail (return_value != NULL); 991s # g_return_if_fail (n_param_values == 4); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # v_return = 991s # callback (data1, 991s # g_marshal_value_peek_object (param_values + 1), 991s # g_marshal_value_peek_object (param_values + 2), 991s # g_marshal_value_peek_string (param_values + 3), 991s # data2); 991s # 991s # g_value_set_boolean (return_value, v_return); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface test.FDPassing 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:TestFDPassing 991s # * @title: TestFDPassing 991s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 991s # * 991s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 991s # */ 991s # 991s # /* ---- Introspection data for test.FDPassing ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 991s # { 991s # { 991s # -1, 991s # (gchar *) "greeting", 991s # (gchar *) "s", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 991s # { 991s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 991s # { 991s # { 991s # -1, 991s # (gchar *) "response", 991s # (gchar *) "s", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 991s # { 991s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 991s # { 991s # { 991s # -1, 991s # (gchar *) "HelloFD", 991s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 991s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 991s # NULL 991s # }, 991s # "handle-hello-fd", 991s # TRUE 991s # }; 991s # 991s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 991s # { 991s # &_test_fdpassing_method_info_hello_fd.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "test.FDPassing", 991s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 991s # NULL, 991s # NULL, 991s # NULL 991s # }, 991s # "test-fdpassing", 991s # }; 991s # 991s # 991s # /** 991s # * test_fdpassing_interface_info: 991s # * 991s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # test_fdpassing_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * test_fdpassing_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # test_fdpassing_method_marshal_hello_fd ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * TestFDPassing: 991s # * 991s # * Abstract interface type for the D-Bus interface test.FDPassing. 991s # */ 991s # 991s # /** 991s # * TestFDPassingIface: 991s # * @parent_iface: The parent interface. 991s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 991s # * 991s # * Virtual table for the D-Bus interface test.FDPassing. 991s # */ 991s # 991s # typedef TestFDPassingIface TestFDPassingInterface; 991s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 991s # 991s # static void 991s # test_fdpassing_default_init (TestFDPassingIface *iface) 991s # { 991s # /* GObject signals for incoming D-Bus method calls: */ 991s # /** 991s # * TestFDPassing::handle-hello-fd: 991s # * @object: A #TestFDPassing. 991s # * @invocation: A #GDBusMethodInvocation. 991s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 991s # * @arg_greeting: Argument passed by remote caller. 991s # * 991s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 991s # * 991s # * 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. 991s # * 991s # * 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. 991s # */ 991s # g_signal_new ("handle-hello-fd", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 991s # g_signal_accumulator_true_handled, 991s # NULL, 991s # test_fdpassing_method_marshal_hello_fd, 991s # G_TYPE_BOOLEAN, 991s # 3, 991s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 991s # 991s # } 991s # 991s # /** 991s # * test_fdpassing_call_hello_fd: 991s # * @proxy: A #TestFDPassingProxy. 991s # * @arg_greeting: Argument to pass with the method invocation. 991s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 991s # * 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()). 991s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 991s # * 991s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 991s # */ 991s # void 991s # test_fdpassing_call_hello_fd ( 991s # TestFDPassing *proxy, 991s # const gchar *arg_greeting, 991s # GUnixFDList *fd_list, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 991s # "HelloFD", 991s # g_variant_new ("(s)", 991s # arg_greeting), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # fd_list, 991s # cancellable, 991s # callback, 991s # user_data); 991s # } 991s # 991s # /** 991s # * test_fdpassing_call_hello_fd_finish: 991s # * @proxy: A #TestFDPassingProxy. 991s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # test_fdpassing_call_hello_fd_finish ( 991s # TestFDPassing *proxy, 991s # gchar **out_response, 991s # GUnixFDList **out_fd_list, 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(s)", 991s # out_response); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * test_fdpassing_call_hello_fd_sync: 991s # * @proxy: A #TestFDPassingProxy. 991s # * @arg_greeting: Argument to pass with the method invocation. 991s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 991s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 991s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL. 991s # * 991s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 991s # * 991s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 991s # * 991s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 991s # */ 991s # gboolean 991s # test_fdpassing_call_hello_fd_sync ( 991s # TestFDPassing *proxy, 991s # const gchar *arg_greeting, 991s # GUnixFDList *fd_list, 991s # gchar **out_response, 991s # GUnixFDList **out_fd_list, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GVariant *_ret; 991s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 991s # "HelloFD", 991s # g_variant_new ("(s)", 991s # arg_greeting), 991s # G_DBUS_CALL_FLAGS_NONE, 991s # -1, 991s # fd_list, 991s # out_fd_list, 991s # cancellable, 991s # error); 991s # if (_ret == NULL) 991s # goto _out; 991s # g_variant_get (_ret, 991s # "(s)", 991s # out_response); 991s # g_variant_unref (_ret); 991s # _out: 991s # return _ret != NULL; 991s # } 991s # 991s # /** 991s # * test_fdpassing_complete_hello_fd: 991s # * @object: A #TestFDPassing. 991s # * @invocation: (transfer full): A #GDBusMethodInvocation. 991s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 991s # * @response: Parameter to return. 991s # * 991s # * 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. 991s # * 991s # * This method will free @invocation, you cannot use it afterwards. 991s # */ 991s # void 991s # test_fdpassing_complete_hello_fd ( 991s # TestFDPassing *object G_GNUC_UNUSED, 991s # GDBusMethodInvocation *invocation, 991s # GUnixFDList *fd_list, 991s # const gchar *response) 991s # { 991s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 991s # g_variant_new ("(s)", 991s # response), 991s # fd_list); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * TestFDPassingProxy: 991s # * 991s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * TestFDPassingProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #TestFDPassingProxy. 991s # */ 991s # 991s # struct _TestFDPassingProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (TestFDPassingProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # test_fdpassing_proxy_finalize (GObject *object) 991s # { 991s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 991s # } 991s # 991s # static void 991s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = test_fdpassing_proxy_finalize; 991s # gobject_class->get_property = test_fdpassing_proxy_get_property; 991s # gobject_class->set_property = test_fdpassing_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 991s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * test_fdpassing_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # test_fdpassing_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * test_fdpassing_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with test_fdpassing_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # TestFDPassing * 991s # test_fdpassing_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return TEST_FDPASSING (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * test_fdpassing_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # TestFDPassing * 991s # test_fdpassing_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return TEST_FDPASSING (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * test_fdpassing_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # test_fdpassing_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * test_fdpassing_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # TestFDPassing * 991s # test_fdpassing_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return TEST_FDPASSING (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * test_fdpassing_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # TestFDPassing * 991s # test_fdpassing_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return TEST_FDPASSING (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * TestFDPassingSkeleton: 991s # * 991s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * TestFDPassingSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #TestFDPassingSkeleton. 991s # */ 991s # 991s # struct _TestFDPassingSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _test_fdpassing_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _test_fdpassing_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _test_fdpassing_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 991s # { 991s # _test_fdpassing_skeleton_handle_method_call, 991s # _test_fdpassing_skeleton_handle_get_property, 991s # _test_fdpassing_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return test_fdpassing_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (TestFDPassingSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # test_fdpassing_skeleton_finalize (GObject *object) 991s # { 991s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * test_fdpassing_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 991s # * 991s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 991s # */ 991s # TestFDPassing * 991s # test_fdpassing_skeleton_new (void) 991s # { 991s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 991s # } 991s ok 15 __main__.TestCodegen.test_generate_rst 991s # tmpdir: /tmp/tmpyqdrljqq 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmpyqdrljqq/tmpykk11j1o.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyqdrljqq/tmpykk11j1o.xml', '--generate-rst', 'test'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: 991s ok 16 __main__.TestCodegen.test_generate_rst_method 991s # tmpdir: /tmp/tmpkgs9odqa 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmpkgs9odqa/tmp4622uxkg.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkgs9odqa/tmp4622uxkg.xml', '--generate-rst', 'test'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: 991s ok 17 __main__.TestCodegen.test_generate_rst_property 991s # tmpdir: /tmp/tmp2dvsnjeh 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmp2dvsnjeh/tmpnj4tfl1z.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2dvsnjeh/tmpnj4tfl1z.xml', '--generate-rst', 'test'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: 991s ok 18 __main__.TestCodegen.test_generate_rst_signal 991s # tmpdir: /tmp/tmp396hgscw 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmp396hgscw/tmprfqghr8r.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp396hgscw/tmprfqghr8r.xml', '--generate-rst', 'test'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: 991s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 991s # tmpdir: /tmp/tmp33ftgewr 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmp33ftgewr/tmpotge6gk9.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp33ftgewr/tmpotge6gk9.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 991s # GClosure *closure, 991s # GValue *return_value G_GNUC_UNUSED, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 991s # (void *data1, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv, 991s # void *data2); 991s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # 991s # g_return_if_fail (n_param_values == 19); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # callback (data1, 991s # g_marshal_value_peek_boolean (param_values + 1), 991s # g_marshal_value_peek_uchar (param_values + 2), 991s # g_marshal_value_peek_int (param_values + 3), 991s # g_marshal_value_peek_uint (param_values + 4), 991s # g_marshal_value_peek_int (param_values + 5), 991s # g_marshal_value_peek_uint (param_values + 6), 991s # g_marshal_value_peek_int64 (param_values + 7), 991s # g_marshal_value_peek_uint64 (param_values + 8), 991s # g_marshal_value_peek_double (param_values + 9), 991s # g_marshal_value_peek_string (param_values + 10), 991s # g_marshal_value_peek_string (param_values + 11), 991s # g_marshal_value_peek_string (param_values + 12), 991s # g_marshal_value_peek_variant (param_values + 13), 991s # g_marshal_value_peek_string (param_values + 14), 991s # g_marshal_value_peek_boxed (param_values + 15), 991s # g_marshal_value_peek_boxed (param_values + 16), 991s # g_marshal_value_peek_boxed (param_values + 17), 991s # g_marshal_value_peek_variant (param_values + 18), 991s # data2); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_b", 991s # (gchar *) "b", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_y", 991s # (gchar *) "y", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_n", 991s # (gchar *) "n", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_q", 991s # (gchar *) "q", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_i", 991s # (gchar *) "i", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_u", 991s # (gchar *) "u", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_x", 991s # (gchar *) "x", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_t", 991s # (gchar *) "t", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_d", 991s # (gchar *) "d", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_s", 991s # (gchar *) "s", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_o", 991s # (gchar *) "o", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_g", 991s # (gchar *) "g", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_h", 991s # (gchar *) "h", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ay", 991s # (gchar *) "ay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_as", 991s # (gchar *) "as", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ao", 991s # (gchar *) "ao", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_aay", 991s # (gchar *) "aay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_asv", 991s # (gchar *) "a{sv}", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SignalWithManyArgs", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 991s # NULL 991s # }, 991s # "signal-with-many-args" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::signal-with-many-args: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_b: Argument. 991s # * @arg_an_y: Argument. 991s # * @arg_an_n: Argument. 991s # * @arg_an_q: Argument. 991s # * @arg_an_i: Argument. 991s # * @arg_an_u: Argument. 991s # * @arg_an_x: Argument. 991s # * @arg_an_t: Argument. 991s # * @arg_an_d: Argument. 991s # * @arg_an_s: Argument. 991s # * @arg_an_o: Argument. 991s # * @arg_an_g: Argument. 991s # * @arg_an_h: Argument. 991s # * @arg_an_ay: Argument. 991s # * @arg_an_as: Argument. 991s # * @arg_an_ao: Argument. 991s # * @arg_an_aay: Argument. 991s # * @arg_an_asv: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 991s # g_signal_new ("signal-with-many-args", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 991s # G_TYPE_NONE, 991s # 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); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_signal_with_many_args: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_b: Argument to pass with the signal. 991s # * @arg_an_y: Argument to pass with the signal. 991s # * @arg_an_n: Argument to pass with the signal. 991s # * @arg_an_q: Argument to pass with the signal. 991s # * @arg_an_i: Argument to pass with the signal. 991s # * @arg_an_u: Argument to pass with the signal. 991s # * @arg_an_x: Argument to pass with the signal. 991s # * @arg_an_t: Argument to pass with the signal. 991s # * @arg_an_d: Argument to pass with the signal. 991s # * @arg_an_s: Argument to pass with the signal. 991s # * @arg_an_o: Argument to pass with the signal. 991s # * @arg_an_g: Argument to pass with the signal. 991s # * @arg_an_h: Argument to pass with the signal. 991s # * @arg_an_ay: Argument to pass with the signal. 991s # * @arg_an_as: Argument to pass with the signal. 991s # * @arg_an_ao: Argument to pass with the signal. 991s # * @arg_an_aay: Argument to pass with the signal. 991s # * @arg_an_asv: Argument to pass with the signal. 991s # * 991s # * Emits the "SignalWithManyArgs" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_signal_with_many_args ( 991s # OrgProjectSignalingIface *object, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv) 991s # { 991s # 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); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 991s # OrgProjectSignalingIface *object, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 991s # arg_an_b, 991s # arg_an_y, 991s # arg_an_n, 991s # arg_an_q, 991s # arg_an_i, 991s # arg_an_u, 991s # arg_an_x, 991s # arg_an_t, 991s # arg_an_d, 991s # arg_an_s, 991s # arg_an_o, 991s # arg_an_g, 991s # arg_an_h, 991s # arg_an_ay, 991s # arg_an_as, 991s # arg_an_ao, 991s # arg_an_aay, 991s # arg_an_asv)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 991s # tmpdir: /tmp/tmpijfk3hgd 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmpijfk3hgd/tmpk48t8yfc.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpijfk3hgd/tmpk48t8yfc.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_VOID__INT64 ( 991s # GClosure *closure, 991s # GValue *return_value G_GNUC_UNUSED, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 991s # (void *data1, 991s # gint64 arg_an_x, 991s # void *data2); 991s # _GDbusCodegenMarshalVoid_Int64Func callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # callback (data1, 991s # g_marshal_value_peek_int64 (param_values + 1), 991s # data2); 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_VOID__UINT64 ( 991s # GClosure *closure, 991s # GValue *return_value G_GNUC_UNUSED, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 991s # (void *data1, 991s # guint64 arg_an_t, 991s # void *data2); 991s # _GDbusCodegenMarshalVoid_Uint64Func callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # callback (data1, 991s # g_marshal_value_peek_uint64 (param_values + 1), 991s # data2); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "NoArgSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "no-arg-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_b", 991s # (gchar *) "b", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalB", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-b" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_y", 991s # (gchar *) "y", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalY", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-y" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_n", 991s # (gchar *) "n", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalN", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-n" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_q", 991s # (gchar *) "q", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalQ", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-q" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_i", 991s # (gchar *) "i", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalI", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-i" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_u", 991s # (gchar *) "u", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalU", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-u" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_x", 991s # (gchar *) "x", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalX", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-x" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_t", 991s # (gchar *) "t", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalT", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-t" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_d", 991s # (gchar *) "d", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalD", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-d" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_s", 991s # (gchar *) "s", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalS", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-s" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_o", 991s # (gchar *) "o", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalO", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-o" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_g", 991s # (gchar *) "g", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalG", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-g" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_h", 991s # (gchar *) "h", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalH", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-h" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ay", 991s # (gchar *) "ay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalAY", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-ay" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_as", 991s # (gchar *) "as", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalAS", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-as" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ao", 991s # (gchar *) "ao", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalAO", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-ao" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_aay", 991s # (gchar *) "aay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalAAY", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-aay" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_asv", 991s # (gchar *) "a{sv}", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalASV", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-asv" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__BOOLEAN (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__UCHAR (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__INT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__UINT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__INT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__UINT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__DOUBLE (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__STRING (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__STRING (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__STRING (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VARIANT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__STRING (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__BOXED (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__BOXED (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__BOXED (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VARIANT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 991s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 991s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 991s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 991s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 991s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 991s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 991s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 991s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 991s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 991s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 991s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 991s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 991s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 991s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 991s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 991s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 991s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 991s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::no-arg-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 991s # g_signal_new ("no-arg-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_no_arg_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-b: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_b: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 991s # g_signal_new ("single-arg-signal-b", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_BOOLEAN); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-y: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_y: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 991s # g_signal_new ("single-arg-signal-y", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_UCHAR); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-n: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_n: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 991s # g_signal_new ("single-arg-signal-n", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_INT); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-q: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_q: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 991s # g_signal_new ("single-arg-signal-q", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_UINT); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-i: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_i: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 991s # g_signal_new ("single-arg-signal-i", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_INT); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-u: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_u: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 991s # g_signal_new ("single-arg-signal-u", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_UINT); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-x: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_x: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 991s # g_signal_new ("single-arg-signal-x", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_INT64); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-t: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_t: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 991s # g_signal_new ("single-arg-signal-t", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_UINT64); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-d: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_d: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 991s # g_signal_new ("single-arg-signal-d", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_DOUBLE); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-s: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_s: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 991s # g_signal_new ("single-arg-signal-s", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRING); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-o: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_o: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 991s # g_signal_new ("single-arg-signal-o", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRING); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-g: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_g: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 991s # g_signal_new ("single-arg-signal-g", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRING); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-h: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_h: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 991s # g_signal_new ("single-arg-signal-h", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_VARIANT); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-ay: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_ay: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 991s # g_signal_new ("single-arg-signal-ay", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRING); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-as: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_as: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 991s # g_signal_new ("single-arg-signal-as", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRV); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-ao: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_ao: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 991s # g_signal_new ("single-arg-signal-ao", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRV); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-aay: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_aay: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 991s # g_signal_new ("single-arg-signal-aay", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRV); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-asv: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_asv: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 991s # g_signal_new ("single-arg-signal-asv", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_VARIANT); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_no_arg_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "NoArgSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_no_arg_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_b: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_b: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalB" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_b ( 991s # OrgProjectSignalingIface *object, 991s # gboolean arg_an_b) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_y: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_y: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalY" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_y ( 991s # OrgProjectSignalingIface *object, 991s # guchar arg_an_y) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_n: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_n: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalN" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_n ( 991s # OrgProjectSignalingIface *object, 991s # gint16 arg_an_n) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_q: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_q: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalQ" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_q ( 991s # OrgProjectSignalingIface *object, 991s # guint16 arg_an_q) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_i: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_i: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalI" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_i ( 991s # OrgProjectSignalingIface *object, 991s # gint arg_an_i) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_u: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_u: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalU" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_u ( 991s # OrgProjectSignalingIface *object, 991s # guint arg_an_u) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_x: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_x: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalX" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_x ( 991s # OrgProjectSignalingIface *object, 991s # gint64 arg_an_x) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_t: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_t: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalT" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_t ( 991s # OrgProjectSignalingIface *object, 991s # guint64 arg_an_t) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_d: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_d: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalD" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_d ( 991s # OrgProjectSignalingIface *object, 991s # gdouble arg_an_d) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_s: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_s: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalS" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_s ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_an_s) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_o: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_o: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalO" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_o ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_an_o) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_g: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_g: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalG" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_g ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_an_g) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_h: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_h: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalH" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_h ( 991s # OrgProjectSignalingIface *object, 991s # GVariant *arg_an_h) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_ay: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_ay: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalAY" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_ay ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_an_ay) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_as: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_as: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalAS" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_as ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *const *arg_an_as) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_ao: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_ao: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalAO" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_ao ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *const *arg_an_ao) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_aay: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_aay: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalAAY" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_aay ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *const *arg_an_aay) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_asv: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_asv: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalASV" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_asv ( 991s # OrgProjectSignalingIface *object, 991s # GVariant *arg_an_asv) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_no_arg_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 991s # OrgProjectSignalingIface *object, 991s # gboolean arg_an_b) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 991s # arg_an_b)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 991s # OrgProjectSignalingIface *object, 991s # guchar arg_an_y) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 991s # arg_an_y)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 991s # OrgProjectSignalingIface *object, 991s # gint16 arg_an_n) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 991s # arg_an_n)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 991s # OrgProjectSignalingIface *object, 991s # guint16 arg_an_q) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 991s # arg_an_q)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 991s # OrgProjectSignalingIface *object, 991s # gint arg_an_i) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 991s # arg_an_i)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 991s # OrgProjectSignalingIface *object, 991s # guint arg_an_u) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 991s # arg_an_u)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 991s # OrgProjectSignalingIface *object, 991s # gint64 arg_an_x) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 991s # arg_an_x)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 991s # OrgProjectSignalingIface *object, 991s # guint64 arg_an_t) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 991s # arg_an_t)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 991s # OrgProjectSignalingIface *object, 991s # gdouble arg_an_d) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 991s # arg_an_d)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_an_s) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 991s # arg_an_s)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_an_o) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 991s # arg_an_o)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_an_g) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 991s # arg_an_g)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 991s # OrgProjectSignalingIface *object, 991s # GVariant *arg_an_h) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 991s # arg_an_h)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_an_ay) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 991s # arg_an_ay)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *const *arg_an_as) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 991s # arg_an_as)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *const *arg_an_ao) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 991s # arg_an_ao)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *const *arg_an_aay) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 991s # arg_an_aay)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 991s # OrgProjectSignalingIface *object, 991s # GVariant *arg_an_asv) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 991s # arg_an_asv)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 991s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 991s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 991s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 991s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 991s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 991s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 991s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 991s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 991s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 991s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 991s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 991s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 991s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 991s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 991s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 991s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 991s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 991s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 991s # tmpdir: /tmp/tmptijbx9wp 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmptijbx9wp/tmpc4rxiruf.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptijbx9wp/tmpc4rxiruf.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.UsefulInterface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectUsefulInterface 991s # * @title: OrgProjectUsefulInterface 991s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 991s # { 991s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.UsefulInterface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-useful-interface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_useful_interface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_useful_interface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_useful_interface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectUsefulInterface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 991s # */ 991s # 991s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectUsefulInterface::simple-signal: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_useful_interface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_emit_simple_signal: 991s # * @object: A #OrgProjectUsefulInterface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_useful_interface_emit_simple_signal ( 991s # OrgProjectUsefulInterface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxy: 991s # * 991s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 991s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 991s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_useful_interface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeleton: 991s # * 991s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectUsefulInterfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_useful_interface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_useful_interface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_useful_interface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 991s # { 991s # _org_project_useful_interface_skeleton_handle_method_call, 991s # _org_project_useful_interface_skeleton_handle_get_property, 991s # _org_project_useful_interface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_useful_interface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_useful_interface_on_signal_simple_signal ( 991s # OrgProjectUsefulInterface *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_useful_interface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 991s # } 991s # 991s # /** 991s # * org_project_useful_interface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectUsefulInterface * 991s # org_project_useful_interface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.OtherIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectOtherIface 991s # * @title: OrgProjectOtherIface 991s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.OtherIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.OtherIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-other-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_other_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_other_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_other_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_other_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectOtherIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectOtherIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.OtherIface. 991s # */ 991s # 991s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectOtherIface::simple-signal: 991s # * @object: A #OrgProjectOtherIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_other_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # } 991s # 991s # /** 991s # * org_project_other_iface_emit_simple_signal: 991s # * @object: A #OrgProjectOtherIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_other_iface_emit_simple_signal ( 991s # OrgProjectOtherIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectOtherIfaceProxy: 991s # * 991s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectOtherIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectOtherIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectOtherIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_other_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_other_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_other_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_other_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_other_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectOtherIface * 991s # org_project_other_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_OTHER_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_other_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectOtherIface * 991s # org_project_other_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_OTHER_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_other_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_other_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_other_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectOtherIface * 991s # org_project_other_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_OTHER_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_other_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectOtherIface * 991s # org_project_other_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_OTHER_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectOtherIfaceSkeleton: 991s # * 991s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectOtherIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectOtherIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectOtherIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_other_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_other_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_other_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 991s # { 991s # _org_project_other_iface_skeleton_handle_method_call, 991s # _org_project_other_iface_skeleton_handle_get_property, 991s # _org_project_other_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_other_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_other_iface_on_signal_simple_signal ( 991s # OrgProjectOtherIface *object) 991s # { 991s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_other_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 991s # } 991s # 991s # /** 991s # * org_project_other_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectOtherIface * 991s # org_project_other_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 991s # } 991s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 991s # tmpdir: /tmp/tmpqildwfd0 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmpqildwfd0/tmpvq7ybvq2.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqildwfd0/tmpvq7ybvq2.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.OtherSignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectOtherSignalingIface 991s # * @title: OrgProjectOtherSignalingIface 991s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.OtherSignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-other-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_other_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_other_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_other_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectOtherSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectOtherSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 991s # */ 991s # 991s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectOtherSignalingIface::simple-signal: 991s # * @object: A #OrgProjectOtherSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_other_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # } 991s # 991s # /** 991s # * org_project_other_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectOtherSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_other_signaling_iface_emit_simple_signal ( 991s # OrgProjectOtherSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectOtherSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectOtherSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_other_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_other_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_other_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectOtherSignalingIface * 991s # org_project_other_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_other_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectOtherSignalingIface * 991s # org_project_other_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_other_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_other_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectOtherSignalingIface * 991s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectOtherSignalingIface * 991s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectOtherSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectOtherSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_other_signaling_iface_skeleton_handle_method_call, 991s # _org_project_other_signaling_iface_skeleton_handle_get_property, 991s # _org_project_other_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_other_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_other_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectOtherSignalingIface *object) 991s # { 991s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 991s # } 991s # 991s # /** 991s # * org_project_other_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectOtherSignalingIface * 991s # org_project_other_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 991s # tmpdir: /tmp/tmp7eiytc4o 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmp7eiytc4o/tmpjs67cdzg.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmpjs67cdzg.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_b", 991s # (gchar *) "b", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalB", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-b" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__BOOLEAN (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-b: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_b: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 991s # g_signal_new ("single-arg-signal-b", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_BOOLEAN); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_b: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_b: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalB" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_b ( 991s # OrgProjectSignalingIface *object, 991s # gboolean arg_arg_b) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 991s # OrgProjectSignalingIface *object, 991s # gboolean arg_arg_b) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 991s # arg_arg_b)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmpvxs2xra4.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmpvxs2xra4.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_y", 991s # (gchar *) "y", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalY", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-y" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__UCHAR (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-y: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_y: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 991s # g_signal_new ("single-arg-signal-y", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_UCHAR); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_y: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_y: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalY" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_y ( 991s # OrgProjectSignalingIface *object, 991s # guchar arg_arg_y) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 991s # OrgProjectSignalingIface *object, 991s # guchar arg_arg_y) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 991s # arg_arg_y)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmpocfjlde0.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmpocfjlde0.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_n", 991s # (gchar *) "n", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalN", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-n" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__INT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-n: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_n: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 991s # g_signal_new ("single-arg-signal-n", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_INT); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_n: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_n: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalN" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_n ( 991s # OrgProjectSignalingIface *object, 991s # gint16 arg_arg_n) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 991s # OrgProjectSignalingIface *object, 991s # gint16 arg_arg_n) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 991s # arg_arg_n)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmpc7cc6r6f.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmpc7cc6r6f.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_q", 991s # (gchar *) "q", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalQ", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-q" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__UINT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-q: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_q: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 991s # g_signal_new ("single-arg-signal-q", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_UINT); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_q: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_q: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalQ" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_q ( 991s # OrgProjectSignalingIface *object, 991s # guint16 arg_arg_q) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 991s # OrgProjectSignalingIface *object, 991s # guint16 arg_arg_q) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 991s # arg_arg_q)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmpj2hadivj.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmpj2hadivj.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_i", 991s # (gchar *) "i", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalI", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-i" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__INT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-i: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_i: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 991s # g_signal_new ("single-arg-signal-i", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_INT); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_i: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_i: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalI" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_i ( 991s # OrgProjectSignalingIface *object, 991s # gint arg_arg_i) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 991s # OrgProjectSignalingIface *object, 991s # gint arg_arg_i) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 991s # arg_arg_i)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmpsu6y2e5y.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmpsu6y2e5y.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_u", 991s # (gchar *) "u", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalU", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-u" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__UINT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-u: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_u: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 991s # g_signal_new ("single-arg-signal-u", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_UINT); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_u: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_u: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalU" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_u ( 991s # OrgProjectSignalingIface *object, 991s # guint arg_arg_u) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 991s # OrgProjectSignalingIface *object, 991s # guint arg_arg_u) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 991s # arg_arg_u)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmpza78s17d.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmpza78s17d.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_VOID__INT64 ( 991s # GClosure *closure, 991s # GValue *return_value G_GNUC_UNUSED, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 991s # (void *data1, 991s # gint64 arg_arg_x, 991s # void *data2); 991s # _GDbusCodegenMarshalVoid_Int64Func callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # callback (data1, 991s # g_marshal_value_peek_int64 (param_values + 1), 991s # data2); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_x", 991s # (gchar *) "x", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalX", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-x" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-x: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_x: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 991s # g_signal_new ("single-arg-signal-x", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_INT64); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_x: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_x: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalX" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_x ( 991s # OrgProjectSignalingIface *object, 991s # gint64 arg_arg_x) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 991s # OrgProjectSignalingIface *object, 991s # gint64 arg_arg_x) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 991s # arg_arg_x)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmpyafbzgyk.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmpyafbzgyk.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_VOID__UINT64 ( 991s # GClosure *closure, 991s # GValue *return_value G_GNUC_UNUSED, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 991s # (void *data1, 991s # guint64 arg_arg_t, 991s # void *data2); 991s # _GDbusCodegenMarshalVoid_Uint64Func callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # 991s # g_return_if_fail (n_param_values == 2); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # callback (data1, 991s # g_marshal_value_peek_uint64 (param_values + 1), 991s # data2); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_t", 991s # (gchar *) "t", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalT", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-t" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-t: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_t: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 991s # g_signal_new ("single-arg-signal-t", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_UINT64); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_t: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_t: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalT" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_t ( 991s # OrgProjectSignalingIface *object, 991s # guint64 arg_arg_t) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 991s # OrgProjectSignalingIface *object, 991s # guint64 arg_arg_t) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 991s # arg_arg_t)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmph1esi0j4.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmph1esi0j4.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_d", 991s # (gchar *) "d", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalD", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-d" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__DOUBLE (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-d: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_d: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 991s # g_signal_new ("single-arg-signal-d", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_DOUBLE); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_d: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_d: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalD" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_d ( 991s # OrgProjectSignalingIface *object, 991s # gdouble arg_arg_d) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 991s # OrgProjectSignalingIface *object, 991s # gdouble arg_arg_d) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 991s # arg_arg_d)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmp040e6lc4.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmp040e6lc4.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_s", 991s # (gchar *) "s", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalS", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-s" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__STRING (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-s: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_s: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 991s # g_signal_new ("single-arg-signal-s", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRING); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_s: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_s: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalS" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_s ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_arg_s) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_arg_s) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 991s # arg_arg_s)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmpb_q97u9f.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmpb_q97u9f.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_o", 991s # (gchar *) "o", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalO", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-o" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__STRING (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-o: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_o: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 991s # g_signal_new ("single-arg-signal-o", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRING); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_o: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_o: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalO" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_o ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_arg_o) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_arg_o) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 991s # arg_arg_o)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmp4ye5_203.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmp4ye5_203.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_g", 991s # (gchar *) "g", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalG", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-g" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__STRING (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-g: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_g: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 991s # g_signal_new ("single-arg-signal-g", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRING); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_g: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_g: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalG" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_g ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_arg_g) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_arg_g) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 991s # arg_arg_g)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmpu57n9h0s.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmpu57n9h0s.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_h", 991s # (gchar *) "h", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalH", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-h" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VARIANT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-h: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_h: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 991s # g_signal_new ("single-arg-signal-h", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_VARIANT); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_h: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_h: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalH" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_h ( 991s # OrgProjectSignalingIface *object, 991s # GVariant *arg_arg_h) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 991s # OrgProjectSignalingIface *object, 991s # GVariant *arg_arg_h) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 991s # arg_arg_h)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmp0s4eh7zz.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmp0s4eh7zz.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_ay", 991s # (gchar *) "ay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalAy", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-ay" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__STRING (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-ay: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_ay: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 991s # g_signal_new ("single-arg-signal-ay", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRING); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_ay: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_ay: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalAy" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_ay ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_arg_ay) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *arg_arg_ay) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 991s # arg_arg_ay)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmp2j34j4_u.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmp2j34j4_u.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_as", 991s # (gchar *) "as", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalAs", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-as" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__BOXED (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-as: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_as: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 991s # g_signal_new ("single-arg-signal-as", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRV); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_as: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_as: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalAs" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_as ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *const *arg_arg_as) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *const *arg_arg_as) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 991s # arg_arg_as)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmp8fnx2r40.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmp8fnx2r40.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_ao", 991s # (gchar *) "ao", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalAo", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-ao" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__BOXED (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-ao: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_ao: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 991s # g_signal_new ("single-arg-signal-ao", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRV); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_ao: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_ao: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalAo" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_ao ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *const *arg_arg_ao) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *const *arg_arg_ao) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 991s # arg_arg_ao)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmp8bqu00x1.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmp8bqu00x1.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_aay", 991s # (gchar *) "aay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalAay", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-aay" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__BOXED (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-aay: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_aay: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 991s # g_signal_new ("single-arg-signal-aay", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_STRV); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_aay: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_aay: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalAay" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_aay ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *const *arg_arg_aay) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 991s # OrgProjectSignalingIface *object, 991s # const gchar *const *arg_arg_aay) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 991s # arg_arg_aay)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s # /tmp/tmp7eiytc4o/tmpil5rude4.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7eiytc4o/tmpil5rude4.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 991s # { 991s # { 991s # -1, 991s # (gchar *) "arg_asv", 991s # (gchar *) "a{sv}", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SingleArgSignalAsv", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 991s # NULL 991s # }, 991s # "single-arg-signal-asv" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VARIANT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::single-arg-signal-asv: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_asv: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 991s # g_signal_new ("single-arg-signal-asv", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 991s # G_TYPE_NONE, 991s # 1, G_TYPE_VARIANT); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_single_arg_signal_asv: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_arg_asv: Argument to pass with the signal. 991s # * 991s # * Emits the "SingleArgSignalAsv" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_single_arg_signal_asv ( 991s # OrgProjectSignalingIface *object, 991s # GVariant *arg_arg_asv) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 991s # OrgProjectSignalingIface *object, 991s # GVariant *arg_arg_asv) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 991s # arg_arg_asv)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 991s # tmpdir: /tmp/tmpas9jf57n 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmpas9jf57n/tmpo475w1l8.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpas9jf57n/tmpo475w1l8.xml', '--output', '-', '--body'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifdef HAVE_CONFIG_H 991s # # include "config.h" 991s # #endif 991s # 991s # #include 991s # #ifdef G_OS_UNIX 991s # # include 991s # #endif 991s # 991s # #ifdef G_ENABLE_DEBUG 991s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 991s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 991s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 991s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 991s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 991s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 991s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 991s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 991s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 991s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 991s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 991s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 991s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 991s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 991s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 991s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 991s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 991s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 991s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 991s # #else /* !G_ENABLE_DEBUG */ 991s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 991s # * Do not access GValues directly in your code. Instead, use the 991s # * g_value_get_*() functions 991s # */ 991s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 991s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 991s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 991s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 991s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 991s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 991s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 991s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 991s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 991s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 991s # #endif /* !G_ENABLE_DEBUG */ 991s # 991s # typedef struct 991s # { 991s # GDBusArgInfo parent_struct; 991s # gboolean use_gvariant; 991s # } _ExtendedGDBusArgInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusMethodInfo parent_struct; 991s # const gchar *signal_name; 991s # gboolean pass_fdlist; 991s # } _ExtendedGDBusMethodInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusSignalInfo parent_struct; 991s # const gchar *signal_name; 991s # } _ExtendedGDBusSignalInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusPropertyInfo parent_struct; 991s # const gchar *hyphen_name; 991s # guint use_gvariant : 1; 991s # guint emits_changed_signal : 1; 991s # } _ExtendedGDBusPropertyInfo; 991s # 991s # typedef struct 991s # { 991s # GDBusInterfaceInfo parent_struct; 991s # const gchar *hyphen_name; 991s # } _ExtendedGDBusInterfaceInfo; 991s # 991s # typedef struct 991s # { 991s # const _ExtendedGDBusPropertyInfo *info; 991s # guint prop_id; 991s # GValue orig_value; /* the value before the change */ 991s # } ChangedProperty; 991s # 991s # static void 991s # _changed_property_free (ChangedProperty *data) 991s # { 991s # g_value_unset (&data->orig_value); 991s # g_free (data); 991s # } 991s # 991s # static gboolean 991s # _g_strv_equal0 (gchar **a, gchar **b) 991s # { 991s # gboolean ret = FALSE; 991s # guint n; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # if (g_strv_length (a) != g_strv_length (b)) 991s # goto out; 991s # for (n = 0; a[n] != NULL; n++) 991s # if (g_strcmp0 (a[n], b[n]) != 0) 991s # goto out; 991s # ret = TRUE; 991s # out: 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _g_variant_equal0 (GVariant *a, GVariant *b) 991s # { 991s # gboolean ret = FALSE; 991s # if (a == NULL && b == NULL) 991s # { 991s # ret = TRUE; 991s # goto out; 991s # } 991s # if (a == NULL || b == NULL) 991s # goto out; 991s # ret = g_variant_equal (a, b); 991s # out: 991s # return ret; 991s # } 991s # 991s # G_GNUC_UNUSED static gboolean 991s # _g_value_equal (const GValue *a, const GValue *b) 991s # { 991s # gboolean ret = FALSE; 991s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 991s # switch (G_VALUE_TYPE (a)) 991s # { 991s # case G_TYPE_BOOLEAN: 991s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 991s # break; 991s # case G_TYPE_UCHAR: 991s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 991s # break; 991s # case G_TYPE_INT: 991s # ret = (g_value_get_int (a) == g_value_get_int (b)); 991s # break; 991s # case G_TYPE_UINT: 991s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 991s # break; 991s # case G_TYPE_INT64: 991s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 991s # break; 991s # case G_TYPE_UINT64: 991s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 991s # break; 991s # case G_TYPE_DOUBLE: 991s # { 991s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 991s # gdouble da = g_value_get_double (a); 991s # gdouble db = g_value_get_double (b); 991s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 991s # } 991s # break; 991s # case G_TYPE_STRING: 991s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 991s # break; 991s # case G_TYPE_VARIANT: 991s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 991s # break; 991s # default: 991s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 991s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 991s # else 991s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 991s # break; 991s # } 991s # return ret; 991s # } 991s # 991s # static void 991s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 991s # GClosure *closure, 991s # GValue *return_value G_GNUC_UNUSED, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint G_GNUC_UNUSED, 991s # void *marshal_data) 991s # { 991s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 991s # (void *data1, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv, 991s # void *data2); 991s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 991s # GCClosure *cc = (GCClosure*) closure; 991s # void *data1, *data2; 991s # 991s # g_return_if_fail (n_param_values == 19); 991s # 991s # if (G_CCLOSURE_SWAP_DATA (closure)) 991s # { 991s # data1 = closure->data; 991s # data2 = g_value_peek_pointer (param_values + 0); 991s # } 991s # else 991s # { 991s # data1 = g_value_peek_pointer (param_values + 0); 991s # data2 = closure->data; 991s # } 991s # 991s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 991s # (marshal_data ? marshal_data : cc->callback); 991s # 991s # callback (data1, 991s # g_marshal_value_peek_boolean (param_values + 1), 991s # g_marshal_value_peek_uchar (param_values + 2), 991s # g_marshal_value_peek_int (param_values + 3), 991s # g_marshal_value_peek_uint (param_values + 4), 991s # g_marshal_value_peek_int (param_values + 5), 991s # g_marshal_value_peek_uint (param_values + 6), 991s # g_marshal_value_peek_int64 (param_values + 7), 991s # g_marshal_value_peek_uint64 (param_values + 8), 991s # g_marshal_value_peek_double (param_values + 9), 991s # g_marshal_value_peek_string (param_values + 10), 991s # g_marshal_value_peek_string (param_values + 11), 991s # g_marshal_value_peek_string (param_values + 12), 991s # g_marshal_value_peek_variant (param_values + 13), 991s # g_marshal_value_peek_string (param_values + 14), 991s # g_marshal_value_peek_boxed (param_values + 15), 991s # g_marshal_value_peek_boxed (param_values + 16), 991s # g_marshal_value_peek_boxed (param_values + 17), 991s # g_marshal_value_peek_variant (param_values + 18), 991s # data2); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ 991s # * Code for interface org.project.SignalingIface 991s # * ------------------------------------------------------------------------ 991s # */ 991s # 991s # /** 991s # * SECTION:OrgProjectSignalingIface 991s # * @title: OrgProjectSignalingIface 991s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 991s # * 991s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 991s # */ 991s # 991s # enum 991s # { 991s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 991s # }; 991s # 991s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 991s # 991s # /* ---- Introspection data for org.project.SignalingIface ---- */ 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SimpleSignal", 991s # NULL, 991s # NULL 991s # }, 991s # "simple-signal" 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_b", 991s # (gchar *) "b", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_y", 991s # (gchar *) "y", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_n", 991s # (gchar *) "n", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_q", 991s # (gchar *) "q", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_i", 991s # (gchar *) "i", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_u", 991s # (gchar *) "u", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_x", 991s # (gchar *) "x", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_t", 991s # (gchar *) "t", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_d", 991s # (gchar *) "d", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_s", 991s # (gchar *) "s", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_o", 991s # (gchar *) "o", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_g", 991s # (gchar *) "g", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_h", 991s # (gchar *) "h", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ay", 991s # (gchar *) "ay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_as", 991s # (gchar *) "as", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_ao", 991s # (gchar *) "ao", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_aay", 991s # (gchar *) "aay", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 991s # { 991s # { 991s # -1, 991s # (gchar *) "an_asv", 991s # (gchar *) "a{sv}", 991s # NULL 991s # }, 991s # FALSE 991s # }; 991s # 991s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 991s # { 991s # { 991s # -1, 991s # (gchar *) "SignalWithManyArgs", 991s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 991s # NULL 991s # }, 991s # "signal-with-many-args" 991s # }; 991s # 991s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 991s # { 991s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 991s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 991s # NULL 991s # }; 991s # 991s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 991s # { 991s # { 991s # -1, 991s # (gchar *) "org.project.SignalingIface", 991s # NULL, 991s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 991s # NULL, 991s # NULL 991s # }, 991s # "org-project-signaling-iface", 991s # }; 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_interface_info: 991s # * 991s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 991s # * 991s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 991s # */ 991s # GDBusInterfaceInfo * 991s # org_project_signaling_iface_interface_info (void) 991s # { 991s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_override_properties: 991s # * @klass: The class structure for a #GObject derived class. 991s # * @property_id_begin: The property id to assign to the first overridden property. 991s # * 991s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 991s # * The properties are overridden in the order they are defined. 991s # * 991s # * Returns: The last property id. 991s # */ 991s # guint 991s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 991s # { 991s # return property_id_begin - 1; 991s # } 991s # 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_simple_signal ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # g_cclosure_marshal_VOID__VOID (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # inline static void 991s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 991s # GClosure *closure, 991s # GValue *return_value, 991s # unsigned int n_param_values, 991s # const GValue *param_values, 991s # void *invocation_hint, 991s # void *marshal_data) 991s # { 991s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 991s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 991s # } 991s # 991s # 991s # /** 991s # * OrgProjectSignalingIface: 991s # * 991s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceIface: 991s # * @parent_iface: The parent interface. 991s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 991s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 991s # * 991s # * Virtual table for the D-Bus interface org.project.SignalingIface. 991s # */ 991s # 991s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 991s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 991s # 991s # static void 991s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # /* GObject signals for received D-Bus signals: */ 991s # /** 991s # * OrgProjectSignalingIface::simple-signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 991s # g_signal_new ("simple-signal", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_simple_signal, 991s # G_TYPE_NONE, 991s # 0); 991s # 991s # /** 991s # * OrgProjectSignalingIface::signal-with-many-args: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_b: Argument. 991s # * @arg_an_y: Argument. 991s # * @arg_an_n: Argument. 991s # * @arg_an_q: Argument. 991s # * @arg_an_i: Argument. 991s # * @arg_an_u: Argument. 991s # * @arg_an_x: Argument. 991s # * @arg_an_t: Argument. 991s # * @arg_an_d: Argument. 991s # * @arg_an_s: Argument. 991s # * @arg_an_o: Argument. 991s # * @arg_an_g: Argument. 991s # * @arg_an_h: Argument. 991s # * @arg_an_ay: Argument. 991s # * @arg_an_as: Argument. 991s # * @arg_an_ao: Argument. 991s # * @arg_an_aay: Argument. 991s # * @arg_an_asv: Argument. 991s # * 991s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 991s # * 991s # * 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. 991s # */ 991s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 991s # g_signal_new ("signal-with-many-args", 991s # G_TYPE_FROM_INTERFACE (iface), 991s # G_SIGNAL_RUN_LAST, 991s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 991s # NULL, 991s # NULL, 991s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 991s # G_TYPE_NONE, 991s # 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); 991s # 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_simple_signal: 991s # * @object: A #OrgProjectSignalingIface. 991s # * 991s # * Emits the "SimpleSignal" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_emit_signal_with_many_args: 991s # * @object: A #OrgProjectSignalingIface. 991s # * @arg_an_b: Argument to pass with the signal. 991s # * @arg_an_y: Argument to pass with the signal. 991s # * @arg_an_n: Argument to pass with the signal. 991s # * @arg_an_q: Argument to pass with the signal. 991s # * @arg_an_i: Argument to pass with the signal. 991s # * @arg_an_u: Argument to pass with the signal. 991s # * @arg_an_x: Argument to pass with the signal. 991s # * @arg_an_t: Argument to pass with the signal. 991s # * @arg_an_d: Argument to pass with the signal. 991s # * @arg_an_s: Argument to pass with the signal. 991s # * @arg_an_o: Argument to pass with the signal. 991s # * @arg_an_g: Argument to pass with the signal. 991s # * @arg_an_h: Argument to pass with the signal. 991s # * @arg_an_ay: Argument to pass with the signal. 991s # * @arg_an_as: Argument to pass with the signal. 991s # * @arg_an_ao: Argument to pass with the signal. 991s # * @arg_an_aay: Argument to pass with the signal. 991s # * @arg_an_asv: Argument to pass with the signal. 991s # * 991s # * Emits the "SignalWithManyArgs" D-Bus signal. 991s # */ 991s # void 991s # org_project_signaling_iface_emit_signal_with_many_args ( 991s # OrgProjectSignalingIface *object, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv) 991s # { 991s # 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); 991s # } 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxy: 991s # * 991s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceProxyClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceProxy. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceProxyPrivate 991s # { 991s # GData *qdata; 991s # }; 991s # 991s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_proxy_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 991s # g_datalist_clear (&proxy->priv->qdata); 991s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 991s # guint prop_id G_GNUC_UNUSED, 991s # const GValue *value G_GNUC_UNUSED, 991s # GParamSpec *pspec G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 991s # const gchar *sender_name G_GNUC_UNUSED, 991s # const gchar *signal_name, 991s # GVariant *parameters) 991s # { 991s # _ExtendedGDBusSignalInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # gsize n; 991s # guint signal_id; 991s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 991s # if (info == NULL) 991s # return; 991s # num_params = g_variant_n_children (parameters); 991s # paramv = g_new0 (GValue, num_params + 1); 991s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[0], proxy); 991s # g_variant_iter_init (&iter, parameters); 991s # n = 1; 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_signal_emitv (paramv, signal_id, 0, NULL); 991s # for (n = 0; n < num_params + 1; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 991s # GVariant *changed_properties, 991s # const gchar *const *invalidated_properties) 991s # { 991s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 991s # guint n; 991s # const gchar *key; 991s # GVariantIter *iter; 991s # _ExtendedGDBusPropertyInfo *info; 991s # g_variant_get (changed_properties, "a{sv}", &iter); 991s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 991s # g_datalist_remove_data (&proxy->priv->qdata, key); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # g_variant_iter_free (iter); 991s # for (n = 0; invalidated_properties[n] != NULL; n++) 991s # { 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 991s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 991s # if (info != NULL) 991s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 991s # } 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 991s # #else 991s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 991s # #endif 991s # 991s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusProxyClass *proxy_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 991s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 991s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 991s # 991s # proxy_class = G_DBUS_PROXY_CLASS (klass); 991s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 991s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_sync: 991s # * @connection: A #GDBusConnection. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_sync ( 991s # GDBusConnection *connection, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 991s # * @user_data: User data to pass to @callback. 991s # * 991s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * 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()). 991s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 991s # */ 991s # void 991s # org_project_signaling_iface_proxy_new_for_bus ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GAsyncReadyCallback callback, 991s # gpointer user_data) 991s # { 991s # 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); 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_finish: 991s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 991s # * @error: Return location for error or %NULL 991s # * 991s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_finish ( 991s # GAsyncResult *res, 991s # GError **error) 991s # { 991s # GObject *ret; 991s # GObject *source_object; 991s # source_object = g_async_result_get_source_object (res); 991s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 991s # g_object_unref (source_object); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_proxy_new_for_bus_sync: 991s # * @bus_type: A #GBusType. 991s # * @flags: Flags from the #GDBusProxyFlags enumeration. 991s # * @name: A bus name (well-known or unique). 991s # * @object_path: An object path. 991s # * @cancellable: (nullable): A #GCancellable or %NULL. 991s # * @error: Return location for error or %NULL 991s # * 991s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 991s # * 991s # * The calling thread is blocked until a reply is received. 991s # * 991s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_proxy_new_for_bus_sync ( 991s # GBusType bus_type, 991s # GDBusProxyFlags flags, 991s # const gchar *name, 991s # const gchar *object_path, 991s # GCancellable *cancellable, 991s # GError **error) 991s # { 991s # GInitable *ret; 991s # 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); 991s # if (ret != NULL) 991s # return ORG_PROJECT_SIGNALING_IFACE (ret); 991s # else 991s # return NULL; 991s # } 991s # 991s # 991s # /* ------------------------------------------------------------------------ */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeleton: 991s # * 991s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 991s # */ 991s # 991s # /** 991s # * OrgProjectSignalingIfaceSkeletonClass: 991s # * @parent_class: The parent class. 991s # * 991s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 991s # */ 991s # 991s # struct _OrgProjectSignalingIfaceSkeletonPrivate 991s # { 991s # GValue *properties; 991s # GList *changed_properties; 991s # GSource *changed_properties_idle_source; 991s # GMainContext *context; 991s # GMutex lock; 991s # }; 991s # 991s # static void 991s # _org_project_signaling_iface_skeleton_handle_method_call ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name, 991s # const gchar *method_name, 991s # GVariant *parameters, 991s # GDBusMethodInvocation *invocation, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # _ExtendedGDBusMethodInfo *info; 991s # GVariantIter iter; 991s # GVariant *child; 991s # GValue *paramv; 991s # gsize num_params; 991s # guint num_extra; 991s # gsize n; 991s # guint signal_id; 991s # GValue return_value = G_VALUE_INIT; 991s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 991s # g_assert (info != NULL); 991s # num_params = g_variant_n_children (parameters); 991s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 991s # n = 0; 991s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_set_object (¶mv[n++], skeleton); 991s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 991s # g_value_set_object (¶mv[n++], invocation); 991s # if (info->pass_fdlist) 991s # { 991s # #ifdef G_OS_UNIX 991s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 991s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 991s # #else 991s # g_assert_not_reached (); 991s # #endif 991s # } 991s # g_variant_iter_init (&iter, parameters); 991s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 991s # { 991s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 991s # if (arg_info->use_gvariant) 991s # { 991s # g_value_init (¶mv[n], G_TYPE_VARIANT); 991s # g_value_set_variant (¶mv[n], child); 991s # n++; 991s # } 991s # else 991s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 991s # g_variant_unref (child); 991s # } 991s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 991s # g_value_init (&return_value, G_TYPE_BOOLEAN); 991s # g_signal_emitv (paramv, signal_id, 0, &return_value); 991s # if (!g_value_get_boolean (&return_value)) 991s # 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); 991s # g_value_unset (&return_value); 991s # for (n = 0; n < num_params + num_extra; n++) 991s # g_value_unset (¶mv[n]); 991s # g_free (paramv); 991s # } 991s # 991s # static GVariant * 991s # _org_project_signaling_iface_skeleton_handle_get_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # GVariant *ret; 991s # ret = NULL; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # g_value_init (&value, pspec->value_type); 991s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 991s # g_value_unset (&value); 991s # } 991s # return ret; 991s # } 991s # 991s # static gboolean 991s # _org_project_signaling_iface_skeleton_handle_set_property ( 991s # GDBusConnection *connection G_GNUC_UNUSED, 991s # const gchar *sender G_GNUC_UNUSED, 991s # const gchar *object_path G_GNUC_UNUSED, 991s # const gchar *interface_name G_GNUC_UNUSED, 991s # const gchar *property_name, 991s # GVariant *variant, 991s # GError **error, 991s # gpointer user_data) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 991s # GValue value = G_VALUE_INIT; 991s # GParamSpec *pspec; 991s # _ExtendedGDBusPropertyInfo *info; 991s # gboolean ret; 991s # ret = FALSE; 991s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 991s # g_assert (info != NULL); 991s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 991s # if (pspec == NULL) 991s # { 991s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 991s # } 991s # else 991s # { 991s # if (info->use_gvariant) 991s # g_value_set_variant (&value, variant); 991s # else 991s # g_dbus_gvariant_to_gvalue (variant, &value); 991s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 991s # g_value_unset (&value); 991s # ret = TRUE; 991s # } 991s # return ret; 991s # } 991s # 991s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 991s # { 991s # _org_project_signaling_iface_skeleton_handle_method_call, 991s # _org_project_signaling_iface_skeleton_handle_get_property, 991s # _org_project_signaling_iface_skeleton_handle_set_property, 991s # {NULL} 991s # }; 991s # 991s # static GDBusInterfaceInfo * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return org_project_signaling_iface_interface_info (); 991s # } 991s # 991s # static GDBusInterfaceVTable * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 991s # { 991s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 991s # } 991s # 991s # static GVariant * 991s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 991s # 991s # GVariantBuilder builder; 991s # guint n; 991s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 991s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 991s # goto out; 991s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 991s # { 991s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 991s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 991s # { 991s # GVariant *value; 991s # 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); 991s # if (value != NULL) 991s # { 991s # g_variant_take_ref (value); 991s # g_variant_builder_add (&builder, "{sv}", info->name, value); 991s # g_variant_unref (value); 991s # } 991s # } 991s # } 991s # out: 991s # return g_variant_builder_end (&builder); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 991s # { 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_simple_signal ( 991s # OrgProjectSignalingIface *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void 991s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 991s # OrgProjectSignalingIface *object, 991s # gboolean arg_an_b, 991s # guchar arg_an_y, 991s # gint16 arg_an_n, 991s # guint16 arg_an_q, 991s # gint arg_an_i, 991s # guint arg_an_u, 991s # gint64 arg_an_x, 991s # guint64 arg_an_t, 991s # gdouble arg_an_d, 991s # const gchar *arg_an_s, 991s # const gchar *arg_an_o, 991s # const gchar *arg_an_g, 991s # GVariant *arg_an_h, 991s # const gchar *arg_an_ay, 991s # const gchar *const *arg_an_as, 991s # const gchar *const *arg_an_ao, 991s # const gchar *const *arg_an_aay, 991s # GVariant *arg_an_asv) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # 991s # GList *connections, *l; 991s # GVariant *signal_variant; 991s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 991s # 991s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 991s # arg_an_b, 991s # arg_an_y, 991s # arg_an_n, 991s # arg_an_q, 991s # arg_an_i, 991s # arg_an_u, 991s # arg_an_x, 991s # arg_an_t, 991s # arg_an_d, 991s # arg_an_s, 991s # arg_an_o, 991s # arg_an_g, 991s # arg_an_h, 991s # arg_an_ay, 991s # arg_an_as, 991s # arg_an_ao, 991s # arg_an_aay, 991s # arg_an_asv)); 991s # for (l = connections; l != NULL; l = l->next) 991s # { 991s # GDBusConnection *connection = l->data; 991s # g_dbus_connection_emit_signal (connection, 991s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 991s # signal_variant, NULL); 991s # } 991s # g_variant_unref (signal_variant); 991s # g_list_free_full (connections, g_object_unref); 991s # } 991s # 991s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #else 991s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 991s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 991s # 991s # #endif 991s # static void 991s # org_project_signaling_iface_skeleton_finalize (GObject *object) 991s # { 991s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 991s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 991s # if (skeleton->priv->changed_properties_idle_source != NULL) 991s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 991s # g_main_context_unref (skeleton->priv->context); 991s # g_mutex_clear (&skeleton->priv->lock); 991s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 991s # { 991s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 991s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 991s # #else 991s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 991s # #endif 991s # 991s # g_mutex_init (&skeleton->priv->lock); 991s # skeleton->priv->context = g_main_context_ref_thread_default (); 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 991s # { 991s # GObjectClass *gobject_class; 991s # GDBusInterfaceSkeletonClass *skeleton_class; 991s # 991s # gobject_class = G_OBJECT_CLASS (klass); 991s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 991s # 991s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 991s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 991s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 991s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 991s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 991s # 991s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 991s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 991s # #endif 991s # } 991s # 991s # static void 991s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 991s # { 991s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 991s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 991s # } 991s # 991s # /** 991s # * org_project_signaling_iface_skeleton_new: 991s # * 991s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 991s # * 991s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 991s # */ 991s # OrgProjectSignalingIface * 991s # org_project_signaling_iface_skeleton_new (void) 991s # { 991s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 991s # } 991s ok 25 __main__.TestCodegen.test_generate_valid_docbook 991s # tmpdir: /tmp/tmp9kczu4rx 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmp9kczu4rx/tmplrte2z5o.xml: 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9kczu4rx/tmplrte2z5o.xml', '--generate-docbook', 'test'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: 991s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 991s # tmpdir: /tmp/tmpl96zrzav 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmpl96zrzav/tmpy_gi60uh.xml: 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl96zrzav/tmpy_gi60uh.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 991s # tmpdir: /tmp/tmpbo40ngvf 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmpbo40ngvf/tmpz41l8uml.xml: 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo40ngvf/tmpz41l8uml.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifndef __STDOUT__ 991s # #define __STDOUT__ 991s # 991s # #include 991s # 991s # G_BEGIN_DECLS 991s # 991s # 991s # G_END_DECLS 991s # 991s # #endif /* __STDOUT__ */ 991s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 991s # tmpdir: /tmp/tmpiur21nj0 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmpiur21nj0/tmpbe7kfqqu.xml: 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiur21nj0/tmpbe7kfqqu.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 991s # tmpdir: /tmp/tmpu7xx6_0w 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmpu7xx6_0w/tmpj083ztdq.xml: 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu7xx6_0w/tmpj083ztdq.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifndef __STDOUT__ 991s # #define __STDOUT__ 991s # 991s # #include 991s # 991s # G_BEGIN_DECLS 991s # 991s # 991s # G_END_DECLS 991s # 991s # #endif /* __STDOUT__ */ 991s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 991s # tmpdir: /tmp/tmpmtz2g_ow 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmpmtz2g_ow/tmpst1iekc4.xml: 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmtz2g_ow/tmpst1iekc4.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifndef __STDOUT__ 991s # #define __STDOUT__ 991s # 991s # #include 991s # 991s # G_BEGIN_DECLS 991s # 991s # 991s # G_END_DECLS 991s # 991s # #endif /* __STDOUT__ */ 991s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 991s # tmpdir: /tmp/tmplojcd5j9 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmplojcd5j9/tmp9rissub_.xml: 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplojcd5j9/tmp9rissub_.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 991s # tmpdir: /tmp/tmp9of0g6xv 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmp9of0g6xv/tmpa7ppghmc.xml: 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9of0g6xv/tmpa7ppghmc.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 991s # Output: /* 991s # * This file is generated by gdbus-codegen, do not modify it. 991s # * 991s # * The license of this code is the same as for the D-Bus interface description 991s # * it was derived from. Note that it links to GLib, so must comply with the 991s # * LGPL linking clauses. 991s # */ 991s # 991s # #ifndef __STDOUT__ 991s # #define __STDOUT__ 991s # 991s # #include 991s # 991s # G_BEGIN_DECLS 991s # 991s # 991s # G_END_DECLS 991s # 991s # #endif /* __STDOUT__ */ 991s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 991s # tmpdir: /tmp/tmpryb52z8t 991s # codegen: /usr/bin/gdbus-codegen 991s # /tmp/tmpryb52z8t/tmph5349lwr.xml: 991s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpryb52z8t/tmph5349lwr.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 991s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 992s # tmpdir: /tmp/tmpw3gownho 992s # codegen: /usr/bin/gdbus-codegen 992s # /tmp/tmpw3gownho/tmpdncj2mug.xml: 992s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw3gownho/tmpdncj2mug.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Output: /* 992s # * This file is generated by gdbus-codegen, do not modify it. 992s # * 992s # * The license of this code is the same as for the D-Bus interface description 992s # * it was derived from. Note that it links to GLib, so must comply with the 992s # * LGPL linking clauses. 992s # */ 992s # 992s # #ifndef __STDOUT__ 992s # #define __STDOUT__ 992s # 992s # #include 992s # 992s # G_BEGIN_DECLS 992s # 992s # 992s # G_END_DECLS 992s # 992s # #endif /* __STDOUT__ */ 992s ok 35 __main__.TestCodegen.test_help 992s # tmpdir: /tmp/tmp8yqf4cjd 992s # codegen: /usr/bin/gdbus-codegen 992s # Running: ['/usr/bin/gdbus-codegen', '--help'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 992s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 992s # [--c-generate-autocleanup {none,objects,all}] 992s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 992s # [--generate-rst OUTFILES] [--pragma-once] 992s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 992s # [--glib-min-required VERSION] 992s # [--glib-max-allowed VERSION] 992s # [--symbol-decorator SYMBOL_DECORATOR] 992s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 992s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 992s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 992s # [--output FILE | --output-directory OUTDIR] 992s # FILE [FILE ...] 992s # 992s # D-Bus code and documentation generator 992s # 992s # positional arguments: 992s # FILE D-Bus introspection XML file 992s # 992s # options: 992s # -h, --help show this help message and exit 992s # --interface-prefix PREFIX 992s # String to strip from D-Bus interface names for code 992s # and docs 992s # --c-namespace NAMESPACE 992s # The namespace to use for generated C code 992s # --c-generate-object-manager 992s # Generate a GDBusObjectManagerClient subclass when 992s # generating C code 992s # --c-generate-autocleanup {none,objects,all} 992s # Generate autocleanup support 992s # --generate-docbook OUTFILES 992s # Generate Docbook in OUTFILES-org.Project.IFace.xml 992s # --generate-md OUTFILES 992s # Generate Markdown in OUTFILES-org.Project.IFace.md 992s # --generate-rst OUTFILES 992s # Generate reStructuredText in OUTFILES- 992s # org.Project.IFace.rst 992s # --pragma-once Use "pragma once" as the inclusion guard 992s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 992s # Add annotation (may be used several times) 992s # --glib-min-required VERSION 992s # Minimum version of GLib to be supported by the 992s # outputted code (default: 2.30) 992s # --glib-max-allowed VERSION 992s # Maximum version of GLib to be used by the outputted 992s # code (default: current GLib version) 992s # --symbol-decorator SYMBOL_DECORATOR 992s # Macro used to decorate a symbol in the outputted 992s # header, possibly to export symbols 992s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 992s # Additional header required for decorator specified by 992s # --symbol-decorator 992s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 992s # Additional define required for decorator specified by 992s # --symbol-decorator 992s # --generate-c-code OUTFILES 992s # Generate C code in OUTFILES.[ch] 992s # --header Generate C headers 992s # --body Generate C code 992s # --interface-info-header 992s # Generate GDBusInterfaceInfo C header 992s # --interface-info-body 992s # Generate GDBusInterfaceInfo C code 992s # --output FILE Write output into the specified file 992s # --output-directory OUTDIR 992s # Location to output generated files 992s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 992s # tmpdir: /tmp/tmpmlpuln0r 992s # codegen: /usr/bin/gdbus-codegen 992s # /tmp/tmpmlpuln0r/tmpwd3qlnfc.xml: 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmlpuln0r/tmpwd3qlnfc.xml', '--generate-rst', 'test'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Output: 992s # /tmp/tmpmlpuln0r/tmpul_k0_6u.xml: 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmlpuln0r/tmpul_k0_6u.xml', '--generate-md', 'test'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Output: 992s # /tmp/tmpmlpuln0r/tmp9ju6jm2y.xml: 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmlpuln0r/tmp9ju6jm2y.xml', '--generate-docbook', 'test'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Output: 992s ok 37 __main__.TestCodegen.test_no_args 992s # tmpdir: /tmp/tmppygoxorl 992s # codegen: /usr/bin/gdbus-codegen 992s # Running: ['/usr/bin/gdbus-codegen'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Executing: glib/codegen.py.test 992s ok 38 __main__.TestCodegen.test_reproducible 992s # tmpdir: /tmp/tmpc868nm3t 992s # codegen: /usr/bin/gdbus-codegen 992s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc868nm3t/tmpbek22z2d1.xml', '/tmp/tmpc868nm3t/tmpzutxo6qc2.xml', '--output', '-', '--header'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Output: /* 992s # * This file is generated by gdbus-codegen, do not modify it. 992s # * 992s # * The license of this code is the same as for the D-Bus interface description 992s # * it was derived from. Note that it links to GLib, so must comply with the 992s # * LGPL linking clauses. 992s # */ 992s # 992s # #ifndef __STDOUT__ 992s # #define __STDOUT__ 992s # 992s # #include 992s # 992s # G_BEGIN_DECLS 992s # 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # /* Declarations for com.acme.Coyote */ 992s # 992s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 992s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 992s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 992s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 992s # 992s # struct _ComAcmeCoyote; 992s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 992s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 992s # 992s # struct _ComAcmeCoyoteIface 992s # { 992s # GTypeInterface parent_iface; 992s # 992s # 992s # 992s # gboolean (*handle_attack) ( 992s # ComAcmeCoyote *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # gboolean (*handle_run) ( 992s # ComAcmeCoyote *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # gboolean (*handle_sleep) ( 992s # ComAcmeCoyote *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # const gchar * (*get_mood) (ComAcmeCoyote *object); 992s # 992s # void (*surprised) ( 992s # ComAcmeCoyote *object); 992s # 992s # }; 992s # 992s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 992s # 992s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 992s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 992s # 992s # 992s # /* D-Bus method call completion functions: */ 992s # void com_acme_coyote_complete_run ( 992s # ComAcmeCoyote *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # void com_acme_coyote_complete_sleep ( 992s # ComAcmeCoyote *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # void com_acme_coyote_complete_attack ( 992s # ComAcmeCoyote *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # 992s # 992s # /* D-Bus signal emissions functions: */ 992s # void com_acme_coyote_emit_surprised ( 992s # ComAcmeCoyote *object); 992s # 992s # 992s # 992s # /* D-Bus method calls: */ 992s # void com_acme_coyote_call_run ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean com_acme_coyote_call_run_finish ( 992s # ComAcmeCoyote *proxy, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean com_acme_coyote_call_run_sync ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void com_acme_coyote_call_sleep ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean com_acme_coyote_call_sleep_finish ( 992s # ComAcmeCoyote *proxy, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean com_acme_coyote_call_sleep_sync ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void com_acme_coyote_call_attack ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean com_acme_coyote_call_attack_finish ( 992s # ComAcmeCoyote *proxy, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean com_acme_coyote_call_attack_sync ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # 992s # /* D-Bus property accessors: */ 992s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 992s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 992s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 992s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 992s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 992s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 992s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 992s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 992s # 992s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 992s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 992s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 992s # 992s # struct _ComAcmeCoyoteProxy 992s # { 992s # /*< private >*/ 992s # GDBusProxy parent_instance; 992s # ComAcmeCoyoteProxyPrivate *priv; 992s # }; 992s # 992s # struct _ComAcmeCoyoteProxyClass 992s # { 992s # GDBusProxyClass parent_class; 992s # }; 992s # 992s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 992s # #endif 992s # 992s # void com_acme_coyote_proxy_new ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void com_acme_coyote_proxy_new_for_bus ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 992s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 992s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 992s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 992s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 992s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 992s # 992s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 992s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 992s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 992s # 992s # struct _ComAcmeCoyoteSkeleton 992s # { 992s # /*< private >*/ 992s # GDBusInterfaceSkeleton parent_instance; 992s # ComAcmeCoyoteSkeletonPrivate *priv; 992s # }; 992s # 992s # struct _ComAcmeCoyoteSkeletonClass 992s # { 992s # GDBusInterfaceSkeletonClass parent_class; 992s # }; 992s # 992s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 992s # #endif 992s # 992s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 992s # 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # /* Declarations for org.project.Bar.Frobnicator */ 992s # 992s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 992s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 992s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 992s # 992s # struct _OrgProjectBarFrobnicator; 992s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 992s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 992s # 992s # struct _OrgProjectBarFrobnicatorIface 992s # { 992s # GTypeInterface parent_iface; 992s # 992s # gboolean (*handle_random_method) ( 992s # OrgProjectBarFrobnicator *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # }; 992s # 992s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 992s # 992s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 992s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 992s # 992s # 992s # /* D-Bus method call completion functions: */ 992s # void org_project_bar_frobnicator_complete_random_method ( 992s # OrgProjectBarFrobnicator *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # 992s # 992s # /* D-Bus method calls: */ 992s # void org_project_bar_frobnicator_call_random_method ( 992s # OrgProjectBarFrobnicator *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 992s # OrgProjectBarFrobnicator *proxy, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 992s # OrgProjectBarFrobnicator *proxy, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 992s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 992s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 992s # 992s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 992s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 992s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 992s # 992s # struct _OrgProjectBarFrobnicatorProxy 992s # { 992s # /*< private >*/ 992s # GDBusProxy parent_instance; 992s # OrgProjectBarFrobnicatorProxyPrivate *priv; 992s # }; 992s # 992s # struct _OrgProjectBarFrobnicatorProxyClass 992s # { 992s # GDBusProxyClass parent_class; 992s # }; 992s # 992s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 992s # #endif 992s # 992s # void org_project_bar_frobnicator_proxy_new ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void org_project_bar_frobnicator_proxy_new_for_bus ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 992s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 992s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 992s # 992s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 992s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 992s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 992s # 992s # struct _OrgProjectBarFrobnicatorSkeleton 992s # { 992s # /*< private >*/ 992s # GDBusInterfaceSkeleton parent_instance; 992s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 992s # }; 992s # 992s # struct _OrgProjectBarFrobnicatorSkeletonClass 992s # { 992s # GDBusInterfaceSkeletonClass parent_class; 992s # }; 992s # 992s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 992s # #endif 992s # 992s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 992s # 992s # 992s # G_END_DECLS 992s # 992s # #endif /* __STDOUT__ */ 992s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc868nm3t/tmpzutxo6qc2.xml', '/tmp/tmpc868nm3t/tmpbek22z2d1.xml', '--output', '-', '--header'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Output: /* 992s # * This file is generated by gdbus-codegen, do not modify it. 992s # * 992s # * The license of this code is the same as for the D-Bus interface description 992s # * it was derived from. Note that it links to GLib, so must comply with the 992s # * LGPL linking clauses. 992s # */ 992s # 992s # #ifndef __STDOUT__ 992s # #define __STDOUT__ 992s # 992s # #include 992s # 992s # G_BEGIN_DECLS 992s # 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # /* Declarations for com.acme.Coyote */ 992s # 992s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 992s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 992s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 992s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 992s # 992s # struct _ComAcmeCoyote; 992s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 992s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 992s # 992s # struct _ComAcmeCoyoteIface 992s # { 992s # GTypeInterface parent_iface; 992s # 992s # 992s # 992s # gboolean (*handle_attack) ( 992s # ComAcmeCoyote *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # gboolean (*handle_run) ( 992s # ComAcmeCoyote *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # gboolean (*handle_sleep) ( 992s # ComAcmeCoyote *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # const gchar * (*get_mood) (ComAcmeCoyote *object); 992s # 992s # void (*surprised) ( 992s # ComAcmeCoyote *object); 992s # 992s # }; 992s # 992s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 992s # 992s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 992s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 992s # 992s # 992s # /* D-Bus method call completion functions: */ 992s # void com_acme_coyote_complete_run ( 992s # ComAcmeCoyote *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # void com_acme_coyote_complete_sleep ( 992s # ComAcmeCoyote *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # void com_acme_coyote_complete_attack ( 992s # ComAcmeCoyote *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # 992s # 992s # /* D-Bus signal emissions functions: */ 992s # void com_acme_coyote_emit_surprised ( 992s # ComAcmeCoyote *object); 992s # 992s # 992s # 992s # /* D-Bus method calls: */ 992s # void com_acme_coyote_call_run ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean com_acme_coyote_call_run_finish ( 992s # ComAcmeCoyote *proxy, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean com_acme_coyote_call_run_sync ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void com_acme_coyote_call_sleep ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean com_acme_coyote_call_sleep_finish ( 992s # ComAcmeCoyote *proxy, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean com_acme_coyote_call_sleep_sync ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void com_acme_coyote_call_attack ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean com_acme_coyote_call_attack_finish ( 992s # ComAcmeCoyote *proxy, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean com_acme_coyote_call_attack_sync ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # 992s # /* D-Bus property accessors: */ 992s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 992s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 992s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 992s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 992s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 992s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 992s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 992s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 992s # 992s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 992s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 992s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 992s # 992s # struct _ComAcmeCoyoteProxy 992s # { 992s # /*< private >*/ 992s # GDBusProxy parent_instance; 992s # ComAcmeCoyoteProxyPrivate *priv; 992s # }; 992s # 992s # struct _ComAcmeCoyoteProxyClass 992s # { 992s # GDBusProxyClass parent_class; 992s # }; 992s # 992s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 992s # #endif 992s # 992s # void com_acme_coyote_proxy_new ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void com_acme_coyote_proxy_new_for_bus ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 992s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 992s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 992s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 992s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 992s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 992s # 992s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 992s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 992s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 992s # 992s # struct _ComAcmeCoyoteSkeleton 992s # { 992s # /*< private >*/ 992s # GDBusInterfaceSkeleton parent_instance; 992s # ComAcmeCoyoteSkeletonPrivate *priv; 992s # }; 992s # 992s # struct _ComAcmeCoyoteSkeletonClass 992s # { 992s # GDBusInterfaceSkeletonClass parent_class; 992s # }; 992s # 992s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 992s # #endif 992s # 992s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 992s # 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # /* Declarations for org.project.Bar.Frobnicator */ 992s # 992s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 992s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 992s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 992s # 992s # struct _OrgProjectBarFrobnicator; 992s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 992s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 992s # 992s # struct _OrgProjectBarFrobnicatorIface 992s # { 992s # GTypeInterface parent_iface; 992s # 992s # gboolean (*handle_random_method) ( 992s # OrgProjectBarFrobnicator *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # }; 992s # 992s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 992s # 992s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 992s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 992s # 992s # 992s # /* D-Bus method call completion functions: */ 992s # void org_project_bar_frobnicator_complete_random_method ( 992s # OrgProjectBarFrobnicator *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # 992s # 992s # /* D-Bus method calls: */ 992s # void org_project_bar_frobnicator_call_random_method ( 992s # OrgProjectBarFrobnicator *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 992s # OrgProjectBarFrobnicator *proxy, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 992s # OrgProjectBarFrobnicator *proxy, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 992s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 992s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 992s # 992s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 992s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 992s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 992s # 992s # struct _OrgProjectBarFrobnicatorProxy 992s # { 992s # /*< private >*/ 992s # GDBusProxy parent_instance; 992s # OrgProjectBarFrobnicatorProxyPrivate *priv; 992s # }; 992s # 992s # struct _OrgProjectBarFrobnicatorProxyClass 992s # { 992s # GDBusProxyClass parent_class; 992s # }; 992s # 992s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 992s # #endif 992s # 992s # void org_project_bar_frobnicator_proxy_new ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void org_project_bar_frobnicator_proxy_new_for_bus ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 992s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 992s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 992s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 992s # 992s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 992s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 992s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 992s # 992s # struct _OrgProjectBarFrobnicatorSkeleton 992s # { 992s # /*< private >*/ 992s # GDBusInterfaceSkeleton parent_instance; 992s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 992s # }; 992s # 992s # struct _OrgProjectBarFrobnicatorSkeletonClass 992s # { 992s # GDBusInterfaceSkeletonClass parent_class; 992s # }; 992s # 992s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 992s # #endif 992s # 992s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 992s # 992s # 992s # G_END_DECLS 992s # 992s # #endif /* __STDOUT__ */ 992s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc868nm3t/tmpbek22z2d1.xml', '/tmp/tmpc868nm3t/tmpzutxo6qc2.xml', '--output', '-', '--body'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Output: /* 992s # * This file is generated by gdbus-codegen, do not modify it. 992s # * 992s # * The license of this code is the same as for the D-Bus interface description 992s # * it was derived from. Note that it links to GLib, so must comply with the 992s # * LGPL linking clauses. 992s # */ 992s # 992s # #ifdef HAVE_CONFIG_H 992s # # include "config.h" 992s # #endif 992s # 992s # #include 992s # #ifdef G_OS_UNIX 992s # # include 992s # #endif 992s # 992s # #ifdef G_ENABLE_DEBUG 992s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 992s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 992s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 992s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 992s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 992s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 992s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 992s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 992s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 992s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 992s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 992s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 992s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 992s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 992s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 992s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 992s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 992s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 992s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 992s # #else /* !G_ENABLE_DEBUG */ 992s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 992s # * Do not access GValues directly in your code. Instead, use the 992s # * g_value_get_*() functions 992s # */ 992s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 992s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 992s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 992s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 992s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 992s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 992s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 992s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 992s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 992s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 992s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 992s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 992s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 992s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 992s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 992s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 992s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 992s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 992s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 992s # #endif /* !G_ENABLE_DEBUG */ 992s # 992s # typedef struct 992s # { 992s # GDBusArgInfo parent_struct; 992s # gboolean use_gvariant; 992s # } _ExtendedGDBusArgInfo; 992s # 992s # typedef struct 992s # { 992s # GDBusMethodInfo parent_struct; 992s # const gchar *signal_name; 992s # gboolean pass_fdlist; 992s # } _ExtendedGDBusMethodInfo; 992s # 992s # typedef struct 992s # { 992s # GDBusSignalInfo parent_struct; 992s # const gchar *signal_name; 992s # } _ExtendedGDBusSignalInfo; 992s # 992s # typedef struct 992s # { 992s # GDBusPropertyInfo parent_struct; 992s # const gchar *hyphen_name; 992s # guint use_gvariant : 1; 992s # guint emits_changed_signal : 1; 992s # } _ExtendedGDBusPropertyInfo; 992s # 992s # typedef struct 992s # { 992s # GDBusInterfaceInfo parent_struct; 992s # const gchar *hyphen_name; 992s # } _ExtendedGDBusInterfaceInfo; 992s # 992s # typedef struct 992s # { 992s # const _ExtendedGDBusPropertyInfo *info; 992s # guint prop_id; 992s # GValue orig_value; /* the value before the change */ 992s # } ChangedProperty; 992s # 992s # static void 992s # _changed_property_free (ChangedProperty *data) 992s # { 992s # g_value_unset (&data->orig_value); 992s # g_free (data); 992s # } 992s # 992s # static gboolean 992s # _g_strv_equal0 (gchar **a, gchar **b) 992s # { 992s # gboolean ret = FALSE; 992s # guint n; 992s # if (a == NULL && b == NULL) 992s # { 992s # ret = TRUE; 992s # goto out; 992s # } 992s # if (a == NULL || b == NULL) 992s # goto out; 992s # if (g_strv_length (a) != g_strv_length (b)) 992s # goto out; 992s # for (n = 0; a[n] != NULL; n++) 992s # if (g_strcmp0 (a[n], b[n]) != 0) 992s # goto out; 992s # ret = TRUE; 992s # out: 992s # return ret; 992s # } 992s # 992s # static gboolean 992s # _g_variant_equal0 (GVariant *a, GVariant *b) 992s # { 992s # gboolean ret = FALSE; 992s # if (a == NULL && b == NULL) 992s # { 992s # ret = TRUE; 992s # goto out; 992s # } 992s # if (a == NULL || b == NULL) 992s # goto out; 992s # ret = g_variant_equal (a, b); 992s # out: 992s # return ret; 992s # } 992s # 992s # G_GNUC_UNUSED static gboolean 992s # _g_value_equal (const GValue *a, const GValue *b) 992s # { 992s # gboolean ret = FALSE; 992s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 992s # switch (G_VALUE_TYPE (a)) 992s # { 992s # case G_TYPE_BOOLEAN: 992s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 992s # break; 992s # case G_TYPE_UCHAR: 992s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 992s # break; 992s # case G_TYPE_INT: 992s # ret = (g_value_get_int (a) == g_value_get_int (b)); 992s # break; 992s # case G_TYPE_UINT: 992s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 992s # break; 992s # case G_TYPE_INT64: 992s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 992s # break; 992s # case G_TYPE_UINT64: 992s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 992s # break; 992s # case G_TYPE_DOUBLE: 992s # { 992s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 992s # gdouble da = g_value_get_double (a); 992s # gdouble db = g_value_get_double (b); 992s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 992s # } 992s # break; 992s # case G_TYPE_STRING: 992s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 992s # break; 992s # case G_TYPE_VARIANT: 992s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 992s # break; 992s # default: 992s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 992s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 992s # else 992s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 992s # break; 992s # } 992s # return ret; 992s # } 992s # 992s # static void 992s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 992s # GClosure *closure, 992s # GValue *return_value, 992s # unsigned int n_param_values, 992s # const GValue *param_values, 992s # void *invocation_hint G_GNUC_UNUSED, 992s # void *marshal_data) 992s # { 992s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 992s # (void *data1, 992s # GDBusMethodInvocation *arg_method_invocation, 992s # void *data2); 992s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 992s # GCClosure *cc = (GCClosure*) closure; 992s # void *data1, *data2; 992s # gboolean v_return; 992s # 992s # g_return_if_fail (return_value != NULL); 992s # g_return_if_fail (n_param_values == 2); 992s # 992s # if (G_CCLOSURE_SWAP_DATA (closure)) 992s # { 992s # data1 = closure->data; 992s # data2 = g_value_peek_pointer (param_values + 0); 992s # } 992s # else 992s # { 992s # data1 = g_value_peek_pointer (param_values + 0); 992s # data2 = closure->data; 992s # } 992s # 992s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 992s # (marshal_data ? marshal_data : cc->callback); 992s # 992s # v_return = 992s # callback (data1, 992s # g_marshal_value_peek_object (param_values + 1), 992s # data2); 992s # 992s # g_value_set_boolean (return_value, v_return); 992s # } 992s # 992s # /* ------------------------------------------------------------------------ 992s # * Code for interface com.acme.Coyote 992s # * ------------------------------------------------------------------------ 992s # */ 992s # 992s # /** 992s # * SECTION:ComAcmeCoyote 992s # * @title: ComAcmeCoyote 992s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 992s # * 992s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 992s # */ 992s # 992s # enum 992s # { 992s # _COM_ACME_COYOTE_SURPRISED, 992s # }; 992s # 992s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 992s # 992s # /* ---- Introspection data for com.acme.Coyote ---- */ 992s # 992s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 992s # { 992s # { 992s # -1, 992s # (gchar *) "Run", 992s # NULL, 992s # NULL, 992s # NULL 992s # }, 992s # "handle-run", 992s # FALSE 992s # }; 992s # 992s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 992s # { 992s # { 992s # -1, 992s # (gchar *) "Sleep", 992s # NULL, 992s # NULL, 992s # NULL 992s # }, 992s # "handle-sleep", 992s # FALSE 992s # }; 992s # 992s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 992s # { 992s # { 992s # -1, 992s # (gchar *) "Attack", 992s # NULL, 992s # NULL, 992s # NULL 992s # }, 992s # "handle-attack", 992s # FALSE 992s # }; 992s # 992s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 992s # { 992s # &_com_acme_coyote_method_info_run.parent_struct, 992s # &_com_acme_coyote_method_info_sleep.parent_struct, 992s # &_com_acme_coyote_method_info_attack.parent_struct, 992s # NULL 992s # }; 992s # 992s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 992s # { 992s # { 992s # -1, 992s # (gchar *) "Surprised", 992s # NULL, 992s # NULL 992s # }, 992s # "surprised" 992s # }; 992s # 992s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 992s # { 992s # &_com_acme_coyote_signal_info_surprised.parent_struct, 992s # NULL 992s # }; 992s # 992s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 992s # { 992s # { 992s # -1, 992s # (gchar *) "Mood", 992s # (gchar *) "s", 992s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 992s # NULL 992s # }, 992s # "mood", 992s # FALSE, 992s # TRUE 992s # }; 992s # 992s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 992s # { 992s # &_com_acme_coyote_property_info_mood.parent_struct, 992s # NULL 992s # }; 992s # 992s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 992s # { 992s # { 992s # -1, 992s # (gchar *) "com.acme.Coyote", 992s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 992s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 992s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 992s # NULL 992s # }, 992s # "com-acme-coyote", 992s # }; 992s # 992s # 992s # /** 992s # * com_acme_coyote_interface_info: 992s # * 992s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 992s # * 992s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 992s # */ 992s # GDBusInterfaceInfo * 992s # com_acme_coyote_interface_info (void) 992s # { 992s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_override_properties: 992s # * @klass: The class structure for a #GObject derived class. 992s # * @property_id_begin: The property id to assign to the first overridden property. 992s # * 992s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 992s # * The properties are overridden in the order they are defined. 992s # * 992s # * Returns: The last property id. 992s # */ 992s # guint 992s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 992s # { 992s # g_object_class_override_property (klass, property_id_begin++, "mood"); 992s # return property_id_begin - 1; 992s # } 992s # 992s # 992s # inline static void 992s # com_acme_coyote_signal_marshal_surprised ( 992s # GClosure *closure, 992s # GValue *return_value, 992s # unsigned int n_param_values, 992s # const GValue *param_values, 992s # void *invocation_hint, 992s # void *marshal_data) 992s # { 992s # g_cclosure_marshal_VOID__VOID (closure, 992s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 992s # } 992s # 992s # inline static void 992s # com_acme_coyote_method_marshal_run ( 992s # GClosure *closure, 992s # GValue *return_value, 992s # unsigned int n_param_values, 992s # const GValue *param_values, 992s # void *invocation_hint, 992s # void *marshal_data) 992s # { 992s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 992s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 992s # } 992s # 992s # inline static void 992s # com_acme_coyote_method_marshal_sleep ( 992s # GClosure *closure, 992s # GValue *return_value, 992s # unsigned int n_param_values, 992s # const GValue *param_values, 992s # void *invocation_hint, 992s # void *marshal_data) 992s # { 992s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 992s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 992s # } 992s # 992s # inline static void 992s # com_acme_coyote_method_marshal_attack ( 992s # GClosure *closure, 992s # GValue *return_value, 992s # unsigned int n_param_values, 992s # const GValue *param_values, 992s # void *invocation_hint, 992s # void *marshal_data) 992s # { 992s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 992s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 992s # } 992s # 992s # 992s # /** 992s # * ComAcmeCoyote: 992s # * 992s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 992s # */ 992s # 992s # /** 992s # * ComAcmeCoyoteIface: 992s # * @parent_iface: The parent interface. 992s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 992s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 992s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 992s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 992s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 992s # * 992s # * Virtual table for the D-Bus interface com.acme.Coyote. 992s # */ 992s # 992s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 992s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 992s # 992s # static void 992s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 992s # { 992s # /* GObject signals for incoming D-Bus method calls: */ 992s # /** 992s # * ComAcmeCoyote::handle-run: 992s # * @object: A #ComAcmeCoyote. 992s # * @invocation: A #GDBusMethodInvocation. 992s # * 992s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 992s # * 992s # * 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. 992s # * 992s # * 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. 992s # */ 992s # g_signal_new ("handle-run", 992s # G_TYPE_FROM_INTERFACE (iface), 992s # G_SIGNAL_RUN_LAST, 992s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 992s # g_signal_accumulator_true_handled, 992s # NULL, 992s # com_acme_coyote_method_marshal_run, 992s # G_TYPE_BOOLEAN, 992s # 1, 992s # G_TYPE_DBUS_METHOD_INVOCATION); 992s # 992s # /** 992s # * ComAcmeCoyote::handle-sleep: 992s # * @object: A #ComAcmeCoyote. 992s # * @invocation: A #GDBusMethodInvocation. 992s # * 992s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 992s # * 992s # * 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. 992s # * 992s # * 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. 992s # */ 992s # g_signal_new ("handle-sleep", 992s # G_TYPE_FROM_INTERFACE (iface), 992s # G_SIGNAL_RUN_LAST, 992s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 992s # g_signal_accumulator_true_handled, 992s # NULL, 992s # com_acme_coyote_method_marshal_sleep, 992s # G_TYPE_BOOLEAN, 992s # 1, 992s # G_TYPE_DBUS_METHOD_INVOCATION); 992s # 992s # /** 992s # * ComAcmeCoyote::handle-attack: 992s # * @object: A #ComAcmeCoyote. 992s # * @invocation: A #GDBusMethodInvocation. 992s # * 992s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 992s # * 992s # * 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. 992s # * 992s # * 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. 992s # */ 992s # g_signal_new ("handle-attack", 992s # G_TYPE_FROM_INTERFACE (iface), 992s # G_SIGNAL_RUN_LAST, 992s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 992s # g_signal_accumulator_true_handled, 992s # NULL, 992s # com_acme_coyote_method_marshal_attack, 992s # G_TYPE_BOOLEAN, 992s # 1, 992s # G_TYPE_DBUS_METHOD_INVOCATION); 992s # 992s # /* GObject signals for received D-Bus signals: */ 992s # /** 992s # * ComAcmeCoyote::surprised: 992s # * @object: A #ComAcmeCoyote. 992s # * 992s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 992s # * 992s # * 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. 992s # */ 992s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 992s # g_signal_new ("surprised", 992s # G_TYPE_FROM_INTERFACE (iface), 992s # G_SIGNAL_RUN_LAST, 992s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 992s # NULL, 992s # NULL, 992s # com_acme_coyote_signal_marshal_surprised, 992s # G_TYPE_NONE, 992s # 0); 992s # 992s # /* GObject properties for D-Bus properties: */ 992s # /** 992s # * ComAcmeCoyote:mood: 992s # * 992s # * Represents the D-Bus property "Mood". 992s # * 992s # * 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. 992s # */ 992s # g_object_interface_install_property (iface, 992s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_get_mood: (skip) 992s # * @object: A #ComAcmeCoyote. 992s # * 992s # * Gets the value of the "Mood" D-Bus property. 992s # * 992s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 992s # * 992s # * 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. 992s # * 992s # * 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. 992s # */ 992s # const gchar * 992s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 992s # { 992s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 992s # 992s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_dup_mood: (skip) 992s # * @object: A #ComAcmeCoyote. 992s # * 992s # * Gets a copy of the "Mood" D-Bus property. 992s # * 992s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 992s # * 992s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 992s # */ 992s # gchar * 992s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 992s # { 992s # gchar *value; 992s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 992s # return value; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_set_mood: (skip) 992s # * @object: A #ComAcmeCoyote. 992s # * @value: The value to set. 992s # * 992s # * Sets the "Mood" D-Bus property to @value. 992s # * 992s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 992s # */ 992s # void 992s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 992s # { 992s # g_object_set (G_OBJECT (object), "mood", value, NULL); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_emit_surprised: 992s # * @object: A #ComAcmeCoyote. 992s # * 992s # * Emits the "Surprised" D-Bus signal. 992s # */ 992s # void 992s # com_acme_coyote_emit_surprised ( 992s # ComAcmeCoyote *object) 992s # { 992s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_run: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Asynchronously invokes the Run() D-Bus method on @proxy. 992s # * 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()). 992s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 992s # * 992s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 992s # */ 992s # void 992s # com_acme_coyote_call_run ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 992s # "Run", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # callback, 992s # user_data); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_run_finish: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Finishes an operation started with com_acme_coyote_call_run(). 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # com_acme_coyote_call_run_finish ( 992s # ComAcmeCoyote *proxy, 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_run_sync: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 992s # * 992s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # com_acme_coyote_call_run_sync ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 992s # "Run", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_sleep: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 992s # * 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()). 992s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 992s # * 992s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 992s # */ 992s # void 992s # com_acme_coyote_call_sleep ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 992s # "Sleep", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # callback, 992s # user_data); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_sleep_finish: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Finishes an operation started with com_acme_coyote_call_sleep(). 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # com_acme_coyote_call_sleep_finish ( 992s # ComAcmeCoyote *proxy, 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_sleep_sync: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 992s # * 992s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # com_acme_coyote_call_sleep_sync ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 992s # "Sleep", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_attack: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 992s # * 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()). 992s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 992s # * 992s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 992s # */ 992s # void 992s # com_acme_coyote_call_attack ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 992s # "Attack", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # callback, 992s # user_data); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_attack_finish: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Finishes an operation started with com_acme_coyote_call_attack(). 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # com_acme_coyote_call_attack_finish ( 992s # ComAcmeCoyote *proxy, 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_attack_sync: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 992s # * 992s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # com_acme_coyote_call_attack_sync ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 992s # "Attack", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_complete_run: 992s # * @object: A #ComAcmeCoyote. 992s # * @invocation: (transfer full): A #GDBusMethodInvocation. 992s # * 992s # * 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. 992s # * 992s # * This method will free @invocation, you cannot use it afterwards. 992s # */ 992s # void 992s # com_acme_coyote_complete_run ( 992s # ComAcmeCoyote *object G_GNUC_UNUSED, 992s # GDBusMethodInvocation *invocation) 992s # { 992s # g_dbus_method_invocation_return_value (invocation, 992s # g_variant_new ("()")); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_complete_sleep: 992s # * @object: A #ComAcmeCoyote. 992s # * @invocation: (transfer full): A #GDBusMethodInvocation. 992s # * 992s # * 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. 992s # * 992s # * This method will free @invocation, you cannot use it afterwards. 992s # */ 992s # void 992s # com_acme_coyote_complete_sleep ( 992s # ComAcmeCoyote *object G_GNUC_UNUSED, 992s # GDBusMethodInvocation *invocation) 992s # { 992s # g_dbus_method_invocation_return_value (invocation, 992s # g_variant_new ("()")); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_complete_attack: 992s # * @object: A #ComAcmeCoyote. 992s # * @invocation: (transfer full): A #GDBusMethodInvocation. 992s # * 992s # * 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. 992s # * 992s # * This method will free @invocation, you cannot use it afterwards. 992s # */ 992s # void 992s # com_acme_coyote_complete_attack ( 992s # ComAcmeCoyote *object G_GNUC_UNUSED, 992s # GDBusMethodInvocation *invocation) 992s # { 992s # g_dbus_method_invocation_return_value (invocation, 992s # g_variant_new ("()")); 992s # } 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # 992s # /** 992s # * ComAcmeCoyoteProxy: 992s # * 992s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 992s # */ 992s # 992s # /** 992s # * ComAcmeCoyoteProxyClass: 992s # * @parent_class: The parent class. 992s # * 992s # * Class structure for #ComAcmeCoyoteProxy. 992s # */ 992s # 992s # struct _ComAcmeCoyoteProxyPrivate 992s # { 992s # GData *qdata; 992s # }; 992s # 992s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 992s # 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 992s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 992s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 992s # 992s # #else 992s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 992s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 992s # 992s # #endif 992s # static void 992s # com_acme_coyote_proxy_finalize (GObject *object) 992s # { 992s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 992s # g_datalist_clear (&proxy->priv->qdata); 992s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_get_property (GObject *object, 992s # guint prop_id, 992s # GValue *value, 992s # GParamSpec *pspec G_GNUC_UNUSED) 992s # { 992s # const _ExtendedGDBusPropertyInfo *info; 992s # GVariant *variant; 992s # g_assert (prop_id != 0 && prop_id - 1 < 1); 992s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 992s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 992s # if (info->use_gvariant) 992s # { 992s # g_value_set_variant (value, variant); 992s # } 992s # else 992s # { 992s # if (variant != NULL) 992s # g_dbus_gvariant_to_gvalue (variant, value); 992s # } 992s # if (variant != NULL) 992s # g_variant_unref (variant); 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 992s # GAsyncResult *res, 992s # gpointer user_data) 992s # { 992s # const _ExtendedGDBusPropertyInfo *info = user_data; 992s # GError *error; 992s # GVariant *_ret; 992s # error = NULL; 992s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 992s # if (!_ret) 992s # { 992s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 992s # info->parent_struct.name, 992s # error->message, g_quark_to_string (error->domain), error->code); 992s # g_error_free (error); 992s # } 992s # else 992s # { 992s # g_variant_unref (_ret); 992s # } 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_set_property (GObject *object, 992s # guint prop_id, 992s # const GValue *value, 992s # GParamSpec *pspec G_GNUC_UNUSED) 992s # { 992s # const _ExtendedGDBusPropertyInfo *info; 992s # GVariant *variant; 992s # g_assert (prop_id != 0 && prop_id - 1 < 1); 992s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 992s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 992s # g_dbus_proxy_call (G_DBUS_PROXY (object), 992s # "org.freedesktop.DBus.Properties.Set", 992s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 992s # g_variant_unref (variant); 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 992s # const gchar *sender_name G_GNUC_UNUSED, 992s # const gchar *signal_name, 992s # GVariant *parameters) 992s # { 992s # _ExtendedGDBusSignalInfo *info; 992s # GVariantIter iter; 992s # GVariant *child; 992s # GValue *paramv; 992s # gsize num_params; 992s # gsize n; 992s # guint signal_id; 992s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 992s # if (info == NULL) 992s # return; 992s # num_params = g_variant_n_children (parameters); 992s # paramv = g_new0 (GValue, num_params + 1); 992s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 992s # g_value_set_object (¶mv[0], proxy); 992s # g_variant_iter_init (&iter, parameters); 992s # n = 1; 992s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 992s # { 992s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 992s # if (arg_info->use_gvariant) 992s # { 992s # g_value_init (¶mv[n], G_TYPE_VARIANT); 992s # g_value_set_variant (¶mv[n], child); 992s # n++; 992s # } 992s # else 992s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 992s # g_variant_unref (child); 992s # } 992s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 992s # g_signal_emitv (paramv, signal_id, 0, NULL); 992s # for (n = 0; n < num_params + 1; n++) 992s # g_value_unset (¶mv[n]); 992s # g_free (paramv); 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 992s # GVariant *changed_properties, 992s # const gchar *const *invalidated_properties) 992s # { 992s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 992s # guint n; 992s # const gchar *key; 992s # GVariantIter *iter; 992s # _ExtendedGDBusPropertyInfo *info; 992s # g_variant_get (changed_properties, "a{sv}", &iter); 992s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 992s # { 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 992s # g_datalist_remove_data (&proxy->priv->qdata, key); 992s # if (info != NULL) 992s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 992s # } 992s # g_variant_iter_free (iter); 992s # for (n = 0; invalidated_properties[n] != NULL; n++) 992s # { 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 992s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 992s # if (info != NULL) 992s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 992s # } 992s # } 992s # 992s # static const gchar * 992s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 992s # { 992s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 992s # GVariant *variant; 992s # const gchar *value = NULL; 992s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 992s # if (variant != NULL) 992s # { 992s # value = g_variant_get_string (variant, NULL); 992s # g_variant_unref (variant); 992s # } 992s # return value; 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 992s # { 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 992s # #else 992s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 992s # #endif 992s # 992s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 992s # { 992s # GObjectClass *gobject_class; 992s # GDBusProxyClass *proxy_class; 992s # 992s # gobject_class = G_OBJECT_CLASS (klass); 992s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 992s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 992s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 992s # 992s # proxy_class = G_DBUS_PROXY_CLASS (klass); 992s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 992s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 992s # 992s # com_acme_coyote_override_properties (gobject_class, 1); 992s # 992s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 992s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 992s # #endif 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 992s # { 992s # iface->get_mood = com_acme_coyote_proxy_get_mood; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_proxy_new: 992s # * @connection: A #GDBusConnection. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 992s # * 992s # * 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()). 992s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 992s # * 992s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 992s # */ 992s # void 992s # com_acme_coyote_proxy_new ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # 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); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_proxy_new_finish: 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 992s # * @error: Return location for error or %NULL 992s # * 992s # * Finishes an operation started with com_acme_coyote_proxy_new(). 992s # * 992s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # ComAcmeCoyote * 992s # com_acme_coyote_proxy_new_finish ( 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GObject *ret; 992s # GObject *source_object; 992s # source_object = g_async_result_get_source_object (res); 992s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 992s # g_object_unref (source_object); 992s # if (ret != NULL) 992s # return COM_ACME_COYOTE (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_proxy_new_sync: 992s # * @connection: A #GDBusConnection. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL 992s # * 992s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 992s # * 992s # * The calling thread is blocked until a reply is received. 992s # * 992s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 992s # * 992s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # ComAcmeCoyote * 992s # com_acme_coyote_proxy_new_sync ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GInitable *ret; 992s # 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); 992s # if (ret != NULL) 992s # return COM_ACME_COYOTE (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # 992s # /** 992s # * com_acme_coyote_proxy_new_for_bus: 992s # * @bus_type: A #GBusType. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: A bus name (well-known or unique). 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 992s # * 992s # * 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()). 992s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 992s # * 992s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 992s # */ 992s # void 992s # com_acme_coyote_proxy_new_for_bus ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # 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); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_proxy_new_for_bus_finish: 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 992s # * @error: Return location for error or %NULL 992s # * 992s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 992s # * 992s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # ComAcmeCoyote * 992s # com_acme_coyote_proxy_new_for_bus_finish ( 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GObject *ret; 992s # GObject *source_object; 992s # source_object = g_async_result_get_source_object (res); 992s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 992s # g_object_unref (source_object); 992s # if (ret != NULL) 992s # return COM_ACME_COYOTE (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_proxy_new_for_bus_sync: 992s # * @bus_type: A #GBusType. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: A bus name (well-known or unique). 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL 992s # * 992s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 992s # * 992s # * The calling thread is blocked until a reply is received. 992s # * 992s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 992s # * 992s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # ComAcmeCoyote * 992s # com_acme_coyote_proxy_new_for_bus_sync ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GInitable *ret; 992s # 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); 992s # if (ret != NULL) 992s # return COM_ACME_COYOTE (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # 992s # /** 992s # * ComAcmeCoyoteSkeleton: 992s # * 992s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 992s # */ 992s # 992s # /** 992s # * ComAcmeCoyoteSkeletonClass: 992s # * @parent_class: The parent class. 992s # * 992s # * Class structure for #ComAcmeCoyoteSkeleton. 992s # */ 992s # 992s # struct _ComAcmeCoyoteSkeletonPrivate 992s # { 992s # GValue *properties; 992s # GList *changed_properties; 992s # GSource *changed_properties_idle_source; 992s # GMainContext *context; 992s # GMutex lock; 992s # }; 992s # 992s # static void 992s # _com_acme_coyote_skeleton_handle_method_call ( 992s # GDBusConnection *connection G_GNUC_UNUSED, 992s # const gchar *sender G_GNUC_UNUSED, 992s # const gchar *object_path G_GNUC_UNUSED, 992s # const gchar *interface_name, 992s # const gchar *method_name, 992s # GVariant *parameters, 992s # GDBusMethodInvocation *invocation, 992s # gpointer user_data) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 992s # _ExtendedGDBusMethodInfo *info; 992s # GVariantIter iter; 992s # GVariant *child; 992s # GValue *paramv; 992s # gsize num_params; 992s # guint num_extra; 992s # gsize n; 992s # guint signal_id; 992s # GValue return_value = G_VALUE_INIT; 992s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 992s # g_assert (info != NULL); 992s # num_params = g_variant_n_children (parameters); 992s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 992s # n = 0; 992s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 992s # g_value_set_object (¶mv[n++], skeleton); 992s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 992s # g_value_set_object (¶mv[n++], invocation); 992s # if (info->pass_fdlist) 992s # { 992s # #ifdef G_OS_UNIX 992s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 992s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 992s # #else 992s # g_assert_not_reached (); 992s # #endif 992s # } 992s # g_variant_iter_init (&iter, parameters); 992s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 992s # { 992s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 992s # if (arg_info->use_gvariant) 992s # { 992s # g_value_init (¶mv[n], G_TYPE_VARIANT); 992s # g_value_set_variant (¶mv[n], child); 992s # n++; 992s # } 992s # else 992s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 992s # g_variant_unref (child); 992s # } 992s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 992s # g_value_init (&return_value, G_TYPE_BOOLEAN); 992s # g_signal_emitv (paramv, signal_id, 0, &return_value); 992s # if (!g_value_get_boolean (&return_value)) 992s # 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); 992s # g_value_unset (&return_value); 992s # for (n = 0; n < num_params + num_extra; n++) 992s # g_value_unset (¶mv[n]); 992s # g_free (paramv); 992s # } 992s # 992s # static GVariant * 992s # _com_acme_coyote_skeleton_handle_get_property ( 992s # GDBusConnection *connection G_GNUC_UNUSED, 992s # const gchar *sender G_GNUC_UNUSED, 992s # const gchar *object_path G_GNUC_UNUSED, 992s # const gchar *interface_name G_GNUC_UNUSED, 992s # const gchar *property_name, 992s # GError **error, 992s # gpointer user_data) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 992s # GValue value = G_VALUE_INIT; 992s # GParamSpec *pspec; 992s # _ExtendedGDBusPropertyInfo *info; 992s # GVariant *ret; 992s # ret = NULL; 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 992s # g_assert (info != NULL); 992s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 992s # if (pspec == NULL) 992s # { 992s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 992s # } 992s # else 992s # { 992s # g_value_init (&value, pspec->value_type); 992s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 992s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 992s # g_value_unset (&value); 992s # } 992s # return ret; 992s # } 992s # 992s # static gboolean 992s # _com_acme_coyote_skeleton_handle_set_property ( 992s # GDBusConnection *connection G_GNUC_UNUSED, 992s # const gchar *sender G_GNUC_UNUSED, 992s # const gchar *object_path G_GNUC_UNUSED, 992s # const gchar *interface_name G_GNUC_UNUSED, 992s # const gchar *property_name, 992s # GVariant *variant, 992s # GError **error, 992s # gpointer user_data) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 992s # GValue value = G_VALUE_INIT; 992s # GParamSpec *pspec; 992s # _ExtendedGDBusPropertyInfo *info; 992s # gboolean ret; 992s # ret = FALSE; 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 992s # g_assert (info != NULL); 992s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 992s # if (pspec == NULL) 992s # { 992s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 992s # } 992s # else 992s # { 992s # if (info->use_gvariant) 992s # g_value_set_variant (&value, variant); 992s # else 992s # g_dbus_gvariant_to_gvalue (variant, &value); 992s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 992s # g_value_unset (&value); 992s # ret = TRUE; 992s # } 992s # return ret; 992s # } 992s # 992s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 992s # { 992s # _com_acme_coyote_skeleton_handle_method_call, 992s # _com_acme_coyote_skeleton_handle_get_property, 992s # _com_acme_coyote_skeleton_handle_set_property, 992s # {NULL} 992s # }; 992s # 992s # static GDBusInterfaceInfo * 992s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 992s # { 992s # return com_acme_coyote_interface_info (); 992s # } 992s # 992s # static GDBusInterfaceVTable * 992s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 992s # { 992s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 992s # } 992s # 992s # static GVariant * 992s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 992s # 992s # GVariantBuilder builder; 992s # guint n; 992s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 992s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 992s # goto out; 992s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 992s # { 992s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 992s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 992s # { 992s # GVariant *value; 992s # 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); 992s # if (value != NULL) 992s # { 992s # g_variant_take_ref (value); 992s # g_variant_builder_add (&builder, "{sv}", info->name, value); 992s # g_variant_unref (value); 992s # } 992s # } 992s # } 992s # out: 992s # return g_variant_builder_end (&builder); 992s # } 992s # 992s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 992s # 992s # static void 992s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 992s # gboolean emit_changed = FALSE; 992s # 992s # g_mutex_lock (&skeleton->priv->lock); 992s # if (skeleton->priv->changed_properties_idle_source != NULL) 992s # { 992s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 992s # skeleton->priv->changed_properties_idle_source = NULL; 992s # emit_changed = TRUE; 992s # } 992s # g_mutex_unlock (&skeleton->priv->lock); 992s # 992s # if (emit_changed) 992s # _com_acme_coyote_emit_changed (skeleton); 992s # } 992s # 992s # static void 992s # _com_acme_coyote_on_signal_surprised ( 992s # ComAcmeCoyote *object) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 992s # 992s # GList *connections, *l; 992s # GVariant *signal_variant; 992s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 992s # 992s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 992s # for (l = connections; l != NULL; l = l->next) 992s # { 992s # GDBusConnection *connection = l->data; 992s # g_dbus_connection_emit_signal (connection, 992s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 992s # signal_variant, NULL); 992s # } 992s # g_variant_unref (signal_variant); 992s # g_list_free_full (connections, g_object_unref); 992s # } 992s # 992s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 992s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 992s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 992s # 992s # #else 992s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 992s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 992s # 992s # #endif 992s # static void 992s # com_acme_coyote_skeleton_finalize (GObject *object) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 992s # guint n; 992s # for (n = 0; n < 1; n++) 992s # g_value_unset (&skeleton->priv->properties[n]); 992s # g_free (skeleton->priv->properties); 992s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 992s # if (skeleton->priv->changed_properties_idle_source != NULL) 992s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 992s # g_main_context_unref (skeleton->priv->context); 992s # g_mutex_clear (&skeleton->priv->lock); 992s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 992s # } 992s # 992s # static void 992s # com_acme_coyote_skeleton_get_property (GObject *object, 992s # guint prop_id, 992s # GValue *value, 992s # GParamSpec *pspec G_GNUC_UNUSED) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 992s # g_assert (prop_id != 0 && prop_id - 1 < 1); 992s # g_mutex_lock (&skeleton->priv->lock); 992s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 992s # g_mutex_unlock (&skeleton->priv->lock); 992s # } 992s # 992s # static gboolean 992s # _com_acme_coyote_emit_changed (gpointer user_data) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 992s # GList *l; 992s # GVariantBuilder builder; 992s # GVariantBuilder invalidated_builder; 992s # guint num_changes; 992s # 992s # g_mutex_lock (&skeleton->priv->lock); 992s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 992s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 992s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 992s # { 992s # ChangedProperty *cp = l->data; 992s # GVariant *variant; 992s # const GValue *cur_value; 992s # 992s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 992s # if (!_g_value_equal (cur_value, &cp->orig_value)) 992s # { 992s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 992s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 992s # g_variant_unref (variant); 992s # num_changes++; 992s # } 992s # } 992s # if (num_changes > 0) 992s # { 992s # GList *connections, *ll; 992s # GVariant *signal_variant; 992s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 992s # &builder, &invalidated_builder)); 992s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 992s # for (ll = connections; ll != NULL; ll = ll->next) 992s # { 992s # GDBusConnection *connection = ll->data; 992s # 992s # g_dbus_connection_emit_signal (connection, 992s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 992s # "org.freedesktop.DBus.Properties", 992s # "PropertiesChanged", 992s # signal_variant, 992s # NULL); 992s # } 992s # g_variant_unref (signal_variant); 992s # g_list_free_full (connections, g_object_unref); 992s # } 992s # else 992s # { 992s # g_variant_builder_clear (&builder); 992s # g_variant_builder_clear (&invalidated_builder); 992s # } 992s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 992s # skeleton->priv->changed_properties = NULL; 992s # skeleton->priv->changed_properties_idle_source = NULL; 992s # g_mutex_unlock (&skeleton->priv->lock); 992s # return FALSE; 992s # } 992s # 992s # static void 992s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 992s # { 992s # ChangedProperty *cp; 992s # GList *l; 992s # cp = NULL; 992s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 992s # { 992s # ChangedProperty *i_cp = l->data; 992s # if (i_cp->info == info) 992s # { 992s # cp = i_cp; 992s # break; 992s # } 992s # } 992s # if (cp == NULL) 992s # { 992s # cp = g_new0 (ChangedProperty, 1); 992s # cp->prop_id = prop_id; 992s # cp->info = info; 992s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 992s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 992s # g_value_copy (orig_value, &cp->orig_value); 992s # } 992s # } 992s # 992s # static void 992s # com_acme_coyote_skeleton_notify (GObject *object, 992s # GParamSpec *pspec G_GNUC_UNUSED) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 992s # g_mutex_lock (&skeleton->priv->lock); 992s # if (skeleton->priv->changed_properties != NULL && 992s # skeleton->priv->changed_properties_idle_source == NULL) 992s # { 992s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 992s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 992s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 992s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 992s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 992s # g_source_unref (skeleton->priv->changed_properties_idle_source); 992s # } 992s # g_mutex_unlock (&skeleton->priv->lock); 992s # } 992s # 992s # static void 992s # com_acme_coyote_skeleton_set_property (GObject *object, 992s # guint prop_id, 992s # const GValue *value, 992s # GParamSpec *pspec) 992s # { 992s # const _ExtendedGDBusPropertyInfo *info; 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 992s # g_assert (prop_id != 0 && prop_id - 1 < 1); 992s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 992s # g_mutex_lock (&skeleton->priv->lock); 992s # g_object_freeze_notify (object); 992s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 992s # { 992s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 992s # info->emits_changed_signal) 992s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 992s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 992s # g_object_notify_by_pspec (object, pspec); 992s # } 992s # g_mutex_unlock (&skeleton->priv->lock); 992s # g_object_thaw_notify (object); 992s # } 992s # 992s # static void 992s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 992s # { 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 992s # #else 992s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 992s # #endif 992s # 992s # g_mutex_init (&skeleton->priv->lock); 992s # skeleton->priv->context = g_main_context_ref_thread_default (); 992s # skeleton->priv->properties = g_new0 (GValue, 1); 992s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 992s # } 992s # 992s # static const gchar * 992s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 992s # const gchar *value; 992s # g_mutex_lock (&skeleton->priv->lock); 992s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 992s # g_mutex_unlock (&skeleton->priv->lock); 992s # return value; 992s # } 992s # 992s # static void 992s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 992s # { 992s # GObjectClass *gobject_class; 992s # GDBusInterfaceSkeletonClass *skeleton_class; 992s # 992s # gobject_class = G_OBJECT_CLASS (klass); 992s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 992s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 992s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 992s # gobject_class->notify = com_acme_coyote_skeleton_notify; 992s # 992s # 992s # com_acme_coyote_override_properties (gobject_class, 1); 992s # 992s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 992s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 992s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 992s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 992s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 992s # 992s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 992s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 992s # #endif 992s # } 992s # 992s # static void 992s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 992s # { 992s # iface->surprised = _com_acme_coyote_on_signal_surprised; 992s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_skeleton_new: 992s # * 992s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 992s # * 992s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 992s # */ 992s # ComAcmeCoyote * 992s # com_acme_coyote_skeleton_new (void) 992s # { 992s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 992s # } 992s # 992s # /* ------------------------------------------------------------------------ 992s # * Code for interface org.project.Bar.Frobnicator 992s # * ------------------------------------------------------------------------ 992s # */ 992s # 992s # /** 992s # * SECTION:OrgProjectBarFrobnicator 992s # * @title: OrgProjectBarFrobnicator 992s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 992s # * 992s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 992s # */ 992s # 992s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 992s # 992s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 992s # { 992s # { 992s # -1, 992s # (gchar *) "RandomMethod", 992s # NULL, 992s # NULL, 992s # NULL 992s # }, 992s # "handle-random-method", 992s # FALSE 992s # }; 992s # 992s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 992s # { 992s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 992s # NULL 992s # }; 992s # 992s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 992s # { 992s # { 992s # -1, 992s # (gchar *) "org.project.Bar.Frobnicator", 992s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 992s # NULL, 992s # NULL, 992s # NULL 992s # }, 992s # "org-project-bar-frobnicator", 992s # }; 992s # 992s # 992s # /** 992s # * org_project_bar_frobnicator_interface_info: 992s # * 992s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 992s # * 992s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 992s # */ 992s # GDBusInterfaceInfo * 992s # org_project_bar_frobnicator_interface_info (void) 992s # { 992s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_override_properties: 992s # * @klass: The class structure for a #GObject derived class. 992s # * @property_id_begin: The property id to assign to the first overridden property. 992s # * 992s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 992s # * The properties are overridden in the order they are defined. 992s # * 992s # * Returns: The last property id. 992s # */ 992s # guint 992s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 992s # { 992s # return property_id_begin - 1; 992s # } 992s # 992s # 992s # inline static void 992s # org_project_bar_frobnicator_method_marshal_random_method ( 992s # GClosure *closure, 992s # GValue *return_value, 992s # unsigned int n_param_values, 992s # const GValue *param_values, 992s # void *invocation_hint, 992s # void *marshal_data) 992s # { 992s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 992s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 992s # } 992s # 992s # 992s # /** 992s # * OrgProjectBarFrobnicator: 992s # * 992s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 992s # */ 992s # 992s # /** 992s # * OrgProjectBarFrobnicatorIface: 992s # * @parent_iface: The parent interface. 992s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 992s # * 992s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 992s # */ 992s # 992s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 992s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 992s # 992s # static void 992s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 992s # { 992s # /* GObject signals for incoming D-Bus method calls: */ 992s # /** 992s # * OrgProjectBarFrobnicator::handle-random-method: 992s # * @object: A #OrgProjectBarFrobnicator. 992s # * @invocation: A #GDBusMethodInvocation. 992s # * 992s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 992s # * 992s # * 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. 992s # * 992s # * 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. 992s # */ 992s # g_signal_new ("handle-random-method", 992s # G_TYPE_FROM_INTERFACE (iface), 992s # G_SIGNAL_RUN_LAST, 992s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 992s # g_signal_accumulator_true_handled, 992s # NULL, 992s # org_project_bar_frobnicator_method_marshal_random_method, 992s # G_TYPE_BOOLEAN, 992s # 1, 992s # G_TYPE_DBUS_METHOD_INVOCATION); 992s # 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_call_random_method: 992s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 992s # * 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()). 992s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 992s # * 992s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 992s # */ 992s # void 992s # org_project_bar_frobnicator_call_random_method ( 992s # OrgProjectBarFrobnicator *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 992s # "RandomMethod", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # callback, 992s # user_data); 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_call_random_method_finish: 992s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # org_project_bar_frobnicator_call_random_method_finish ( 992s # OrgProjectBarFrobnicator *proxy, 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_call_random_method_sync: 992s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 992s # * 992s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # org_project_bar_frobnicator_call_random_method_sync ( 992s # OrgProjectBarFrobnicator *proxy, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 992s # "RandomMethod", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_complete_random_method: 992s # * @object: A #OrgProjectBarFrobnicator. 992s # * @invocation: (transfer full): A #GDBusMethodInvocation. 992s # * 992s # * 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. 992s # * 992s # * This method will free @invocation, you cannot use it afterwards. 992s # */ 992s # void 992s # org_project_bar_frobnicator_complete_random_method ( 992s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 992s # GDBusMethodInvocation *invocation) 992s # { 992s # g_dbus_method_invocation_return_value (invocation, 992s # g_variant_new ("()")); 992s # } 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # 992s # /** 992s # * OrgProjectBarFrobnicatorProxy: 992s # * 992s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 992s # */ 992s # 992s # /** 992s # * OrgProjectBarFrobnicatorProxyClass: 992s # * @parent_class: The parent class. 992s # * 992s # * Class structure for #OrgProjectBarFrobnicatorProxy. 992s # */ 992s # 992s # struct _OrgProjectBarFrobnicatorProxyPrivate 992s # { 992s # GData *qdata; 992s # }; 992s # 992s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 992s # 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 992s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 992s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 992s # 992s # #else 992s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 992s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 992s # 992s # #endif 992s # static void 992s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 992s # { 992s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 992s # g_datalist_clear (&proxy->priv->qdata); 992s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 992s # guint prop_id G_GNUC_UNUSED, 992s # GValue *value G_GNUC_UNUSED, 992s # GParamSpec *pspec G_GNUC_UNUSED) 992s # { 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 992s # guint prop_id G_GNUC_UNUSED, 992s # const GValue *value G_GNUC_UNUSED, 992s # GParamSpec *pspec G_GNUC_UNUSED) 992s # { 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 992s # const gchar *sender_name G_GNUC_UNUSED, 992s # const gchar *signal_name, 992s # GVariant *parameters) 992s # { 992s # _ExtendedGDBusSignalInfo *info; 992s # GVariantIter iter; 992s # GVariant *child; 992s # GValue *paramv; 992s # gsize num_params; 992s # gsize n; 992s # guint signal_id; 992s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 992s # if (info == NULL) 992s # return; 992s # num_params = g_variant_n_children (parameters); 992s # paramv = g_new0 (GValue, num_params + 1); 992s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 992s # g_value_set_object (¶mv[0], proxy); 992s # g_variant_iter_init (&iter, parameters); 992s # n = 1; 992s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 992s # { 992s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 992s # if (arg_info->use_gvariant) 992s # { 992s # g_value_init (¶mv[n], G_TYPE_VARIANT); 992s # g_value_set_variant (¶mv[n], child); 992s # n++; 992s # } 992s # else 992s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 992s # g_variant_unref (child); 992s # } 992s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 992s # g_signal_emitv (paramv, signal_id, 0, NULL); 992s # for (n = 0; n < num_params + 1; n++) 992s # g_value_unset (¶mv[n]); 992s # g_free (paramv); 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 992s # GVariant *changed_properties, 992s # const gchar *const *invalidated_properties) 992s # { 992s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 992s # guint n; 992s # const gchar *key; 992s # GVariantIter *iter; 992s # _ExtendedGDBusPropertyInfo *info; 992s # g_variant_get (changed_properties, "a{sv}", &iter); 992s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 992s # { 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 992s # g_datalist_remove_data (&proxy->priv->qdata, key); 992s # if (info != NULL) 992s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 992s # } 992s # g_variant_iter_free (iter); 992s # for (n = 0; invalidated_properties[n] != NULL; n++) 992s # { 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 992s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 992s # if (info != NULL) 992s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 992s # } 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 992s # { 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 992s # #else 992s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 992s # #endif 992s # 992s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 992s # { 992s # GObjectClass *gobject_class; 992s # GDBusProxyClass *proxy_class; 992s # 992s # gobject_class = G_OBJECT_CLASS (klass); 992s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 992s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 992s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 992s # 992s # proxy_class = G_DBUS_PROXY_CLASS (klass); 992s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 992s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 992s # 992s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 992s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 992s # #endif 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 992s # { 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_proxy_new: 992s # * @connection: A #GDBusConnection. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 992s # * 992s # * 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()). 992s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 992s # * 992s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 992s # */ 992s # void 992s # org_project_bar_frobnicator_proxy_new ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # 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); 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_proxy_new_finish: 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 992s # * @error: Return location for error or %NULL 992s # * 992s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 992s # * 992s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # OrgProjectBarFrobnicator * 992s # org_project_bar_frobnicator_proxy_new_finish ( 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GObject *ret; 992s # GObject *source_object; 992s # source_object = g_async_result_get_source_object (res); 992s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 992s # g_object_unref (source_object); 992s # if (ret != NULL) 992s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_proxy_new_sync: 992s # * @connection: A #GDBusConnection. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL 992s # * 992s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 992s # * 992s # * The calling thread is blocked until a reply is received. 992s # * 992s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 992s # * 992s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # OrgProjectBarFrobnicator * 992s # org_project_bar_frobnicator_proxy_new_sync ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GInitable *ret; 992s # 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); 992s # if (ret != NULL) 992s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # 992s # /** 992s # * org_project_bar_frobnicator_proxy_new_for_bus: 992s # * @bus_type: A #GBusType. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: A bus name (well-known or unique). 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 992s # * 992s # * 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()). 992s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 992s # * 992s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 992s # */ 992s # void 992s # org_project_bar_frobnicator_proxy_new_for_bus ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # 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); 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 992s # * @error: Return location for error or %NULL 992s # * 992s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 992s # * 992s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # OrgProjectBarFrobnicator * 992s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GObject *ret; 992s # GObject *source_object; 992s # source_object = g_async_result_get_source_object (res); 992s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 992s # g_object_unref (source_object); 992s # if (ret != NULL) 992s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 992s # * @bus_type: A #GBusType. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: A bus name (well-known or unique). 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL 992s # * 992s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 992s # * 992s # * The calling thread is blocked until a reply is received. 992s # * 992s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 992s # * 992s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # OrgProjectBarFrobnicator * 992s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GInitable *ret; 992s # 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); 992s # if (ret != NULL) 992s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # 992s # /** 992s # * OrgProjectBarFrobnicatorSkeleton: 992s # * 992s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 992s # */ 992s # 992s # /** 992s # * OrgProjectBarFrobnicatorSkeletonClass: 992s # * @parent_class: The parent class. 992s # * 992s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 992s # */ 992s # 992s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 992s # { 992s # GValue *properties; 992s # GList *changed_properties; 992s # GSource *changed_properties_idle_source; 992s # GMainContext *context; 992s # GMutex lock; 992s # }; 992s # 992s # static void 992s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 992s # GDBusConnection *connection G_GNUC_UNUSED, 992s # const gchar *sender G_GNUC_UNUSED, 992s # const gchar *object_path G_GNUC_UNUSED, 992s # const gchar *interface_name, 992s # const gchar *method_name, 992s # GVariant *parameters, 992s # GDBusMethodInvocation *invocation, 992s # gpointer user_data) 992s # { 992s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 992s # _ExtendedGDBusMethodInfo *info; 992s # GVariantIter iter; 992s # GVariant *child; 992s # GValue *paramv; 992s # gsize num_params; 992s # guint num_extra; 992s # gsize n; 992s # guint signal_id; 992s # GValue return_value = G_VALUE_INIT; 992s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 992s # g_assert (info != NULL); 992s # num_params = g_variant_n_children (parameters); 992s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 992s # n = 0; 992s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 992s # g_value_set_object (¶mv[n++], skeleton); 992s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 992s # g_value_set_object (¶mv[n++], invocation); 992s # if (info->pass_fdlist) 992s # { 992s # #ifdef G_OS_UNIX 992s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 992s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 992s # #else 992s # g_assert_not_reached (); 992s # #endif 992s # } 992s # g_variant_iter_init (&iter, parameters); 992s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 992s # { 992s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 992s # if (arg_info->use_gvariant) 992s # { 992s # g_value_init (¶mv[n], G_TYPE_VARIANT); 992s # g_value_set_variant (¶mv[n], child); 992s # n++; 992s # } 992s # else 992s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 992s # g_variant_unref (child); 992s # } 992s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 992s # g_value_init (&return_value, G_TYPE_BOOLEAN); 992s # g_signal_emitv (paramv, signal_id, 0, &return_value); 992s # if (!g_value_get_boolean (&return_value)) 992s # 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); 992s # g_value_unset (&return_value); 992s # for (n = 0; n < num_params + num_extra; n++) 992s # g_value_unset (¶mv[n]); 992s # g_free (paramv); 992s # } 992s # 992s # static GVariant * 992s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 992s # GDBusConnection *connection G_GNUC_UNUSED, 992s # const gchar *sender G_GNUC_UNUSED, 992s # const gchar *object_path G_GNUC_UNUSED, 992s # const gchar *interface_name G_GNUC_UNUSED, 992s # const gchar *property_name, 992s # GError **error, 992s # gpointer user_data) 992s # { 992s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 992s # GValue value = G_VALUE_INIT; 992s # GParamSpec *pspec; 992s # _ExtendedGDBusPropertyInfo *info; 992s # GVariant *ret; 992s # ret = NULL; 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 992s # g_assert (info != NULL); 992s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 992s # if (pspec == NULL) 992s # { 992s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 992s # } 992s # else 992s # { 992s # g_value_init (&value, pspec->value_type); 992s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 992s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 992s # g_value_unset (&value); 992s # } 992s # return ret; 992s # } 992s # 992s # static gboolean 992s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 992s # GDBusConnection *connection G_GNUC_UNUSED, 992s # const gchar *sender G_GNUC_UNUSED, 992s # const gchar *object_path G_GNUC_UNUSED, 992s # const gchar *interface_name G_GNUC_UNUSED, 992s # const gchar *property_name, 992s # GVariant *variant, 992s # GError **error, 992s # gpointer user_data) 992s # { 992s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 992s # GValue value = G_VALUE_INIT; 992s # GParamSpec *pspec; 992s # _ExtendedGDBusPropertyInfo *info; 992s # gboolean ret; 992s # ret = FALSE; 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 992s # g_assert (info != NULL); 992s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 992s # if (pspec == NULL) 992s # { 992s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 992s # } 992s # else 992s # { 992s # if (info->use_gvariant) 992s # g_value_set_variant (&value, variant); 992s # else 992s # g_dbus_gvariant_to_gvalue (variant, &value); 992s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 992s # g_value_unset (&value); 992s # ret = TRUE; 992s # } 992s # return ret; 992s # } 992s # 992s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 992s # { 992s # _org_project_bar_frobnicator_skeleton_handle_method_call, 992s # _org_project_bar_frobnicator_skeleton_handle_get_property, 992s # _org_project_bar_frobnicator_skeleton_handle_set_property, 992s # {NULL} 992s # }; 992s # 992s # static GDBusInterfaceInfo * 992s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 992s # { 992s # return org_project_bar_frobnicator_interface_info (); 992s # } 992s # 992s # static GDBusInterfaceVTable * 992s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 992s # { 992s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 992s # } 992s # 992s # static GVariant * 992s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 992s # { 992s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 992s # 992s # GVariantBuilder builder; 992s # guint n; 992s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 992s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 992s # goto out; 992s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 992s # { 992s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 992s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 992s # { 992s # GVariant *value; 992s # 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); 992s # if (value != NULL) 992s # { 992s # g_variant_take_ref (value); 992s # g_variant_builder_add (&builder, "{sv}", info->name, value); 992s # g_variant_unref (value); 992s # } 992s # } 992s # } 992s # out: 992s # return g_variant_builder_end (&builder); 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 992s # { 992s # } 992s # 992s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 992s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 992s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 992s # 992s # #else 992s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 992s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 992s # 992s # #endif 992s # static void 992s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 992s # { 992s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 992s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 992s # if (skeleton->priv->changed_properties_idle_source != NULL) 992s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 992s # g_main_context_unref (skeleton->priv->context); 992s # g_mutex_clear (&skeleton->priv->lock); 992s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 992s # { 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 992s # #else 992s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 992s # #endif 992s # 992s # g_mutex_init (&skeleton->priv->lock); 992s # skeleton->priv->context = g_main_context_ref_thread_default (); 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 992s # { 992s # GObjectClass *gobject_class; 992s # GDBusInterfaceSkeletonClass *skeleton_class; 992s # 992s # gobject_class = G_OBJECT_CLASS (klass); 992s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 992s # 992s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 992s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 992s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 992s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 992s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 992s # 992s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 992s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 992s # #endif 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 992s # { 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_skeleton_new: 992s # * 992s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 992s # * 992s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 992s # */ 992s # OrgProjectBarFrobnicator * 992s # org_project_bar_frobnicator_skeleton_new (void) 992s # { 992s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 992s # } 992s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc868nm3t/tmpzutxo6qc2.xml', '/tmp/tmpc868nm3t/tmpbek22z2d1.xml', '--output', '-', '--body'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Output: /* 992s # * This file is generated by gdbus-codegen, do not modify it. 992s # * 992s # * The license of this code is the same as for the D-Bus interface description 992s # * it was derived from. Note that it links to GLib, so must comply with the 992s # * LGPL linking clauses. 992s # */ 992s # 992s # #ifdef HAVE_CONFIG_H 992s # # include "config.h" 992s # #endif 992s # 992s # #include 992s # #ifdef G_OS_UNIX 992s # # include 992s # #endif 992s # 992s # #ifdef G_ENABLE_DEBUG 992s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 992s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 992s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 992s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 992s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 992s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 992s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 992s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 992s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 992s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 992s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 992s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 992s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 992s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 992s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 992s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 992s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 992s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 992s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 992s # #else /* !G_ENABLE_DEBUG */ 992s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 992s # * Do not access GValues directly in your code. Instead, use the 992s # * g_value_get_*() functions 992s # */ 992s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 992s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 992s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 992s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 992s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 992s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 992s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 992s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 992s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 992s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 992s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 992s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 992s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 992s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 992s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 992s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 992s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 992s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 992s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 992s # #endif /* !G_ENABLE_DEBUG */ 992s # 992s # typedef struct 992s # { 992s # GDBusArgInfo parent_struct; 992s # gboolean use_gvariant; 992s # } _ExtendedGDBusArgInfo; 992s # 992s # typedef struct 992s # { 992s # GDBusMethodInfo parent_struct; 992s # const gchar *signal_name; 992s # gboolean pass_fdlist; 992s # } _ExtendedGDBusMethodInfo; 992s # 992s # typedef struct 992s # { 992s # GDBusSignalInfo parent_struct; 992s # const gchar *signal_name; 992s # } _ExtendedGDBusSignalInfo; 992s # 992s # typedef struct 992s # { 992s # GDBusPropertyInfo parent_struct; 992s # const gchar *hyphen_name; 992s # guint use_gvariant : 1; 992s # guint emits_changed_signal : 1; 992s # } _ExtendedGDBusPropertyInfo; 992s # 992s # typedef struct 992s # { 992s # GDBusInterfaceInfo parent_struct; 992s # const gchar *hyphen_name; 992s # } _ExtendedGDBusInterfaceInfo; 992s # 992s # typedef struct 992s # { 992s # const _ExtendedGDBusPropertyInfo *info; 992s # guint prop_id; 992s # GValue orig_value; /* the value before the change */ 992s # } ChangedProperty; 992s # 992s # static void 992s # _changed_property_free (ChangedProperty *data) 992s # { 992s # g_value_unset (&data->orig_value); 992s # g_free (data); 992s # } 992s # 992s # static gboolean 992s # _g_strv_equal0 (gchar **a, gchar **b) 992s # { 992s # gboolean ret = FALSE; 992s # guint n; 992s # if (a == NULL && b == NULL) 992s # { 992s # ret = TRUE; 992s # goto out; 992s # } 992s # if (a == NULL || b == NULL) 992s # goto out; 992s # if (g_strv_length (a) != g_strv_length (b)) 992s # goto out; 992s # for (n = 0; a[n] != NULL; n++) 992s # if (g_strcmp0 (a[n], b[n]) != 0) 992s # goto out; 992s # ret = TRUE; 992s # out: 992s # return ret; 992s # } 992s # 992s # static gboolean 992s # _g_variant_equal0 (GVariant *a, GVariant *b) 992s # { 992s # gboolean ret = FALSE; 992s # if (a == NULL && b == NULL) 992s # { 992s # ret = TRUE; 992s # goto out; 992s # } 992s # if (a == NULL || b == NULL) 992s # goto out; 992s # ret = g_variant_equal (a, b); 992s # out: 992s # return ret; 992s # } 992s # 992s # G_GNUC_UNUSED static gboolean 992s # _g_value_equal (const GValue *a, const GValue *b) 992s # { 992s # gboolean ret = FALSE; 992s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 992s # switch (G_VALUE_TYPE (a)) 992s # { 992s # case G_TYPE_BOOLEAN: 992s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 992s # break; 992s # case G_TYPE_UCHAR: 992s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 992s # break; 992s # case G_TYPE_INT: 992s # ret = (g_value_get_int (a) == g_value_get_int (b)); 992s # break; 992s # case G_TYPE_UINT: 992s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 992s # break; 992s # case G_TYPE_INT64: 992s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 992s # break; 992s # case G_TYPE_UINT64: 992s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 992s # break; 992s # case G_TYPE_DOUBLE: 992s # { 992s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 992s # gdouble da = g_value_get_double (a); 992s # gdouble db = g_value_get_double (b); 992s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 992s # } 992s # break; 992s # case G_TYPE_STRING: 992s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 992s # break; 992s # case G_TYPE_VARIANT: 992s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 992s # break; 992s # default: 992s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 992s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 992s # else 992s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 992s # break; 992s # } 992s # return ret; 992s # } 992s # 992s # static void 992s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 992s # GClosure *closure, 992s # GValue *return_value, 992s # unsigned int n_param_values, 992s # const GValue *param_values, 992s # void *invocation_hint G_GNUC_UNUSED, 992s # void *marshal_data) 992s # { 992s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 992s # (void *data1, 992s # GDBusMethodInvocation *arg_method_invocation, 992s # void *data2); 992s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 992s # GCClosure *cc = (GCClosure*) closure; 992s # void *data1, *data2; 992s # gboolean v_return; 992s # 992s # g_return_if_fail (return_value != NULL); 992s # g_return_if_fail (n_param_values == 2); 992s # 992s # if (G_CCLOSURE_SWAP_DATA (closure)) 992s # { 992s # data1 = closure->data; 992s # data2 = g_value_peek_pointer (param_values + 0); 992s # } 992s # else 992s # { 992s # data1 = g_value_peek_pointer (param_values + 0); 992s # data2 = closure->data; 992s # } 992s # 992s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 992s # (marshal_data ? marshal_data : cc->callback); 992s # 992s # v_return = 992s # callback (data1, 992s # g_marshal_value_peek_object (param_values + 1), 992s # data2); 992s # 992s # g_value_set_boolean (return_value, v_return); 992s # } 992s # 992s # /* ------------------------------------------------------------------------ 992s # * Code for interface com.acme.Coyote 992s # * ------------------------------------------------------------------------ 992s # */ 992s # 992s # /** 992s # * SECTION:ComAcmeCoyote 992s # * @title: ComAcmeCoyote 992s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 992s # * 992s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 992s # */ 992s # 992s # enum 992s # { 992s # _COM_ACME_COYOTE_SURPRISED, 992s # }; 992s # 992s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 992s # 992s # /* ---- Introspection data for com.acme.Coyote ---- */ 992s # 992s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 992s # { 992s # { 992s # -1, 992s # (gchar *) "Run", 992s # NULL, 992s # NULL, 992s # NULL 992s # }, 992s # "handle-run", 992s # FALSE 992s # }; 992s # 992s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 992s # { 992s # { 992s # -1, 992s # (gchar *) "Sleep", 992s # NULL, 992s # NULL, 992s # NULL 992s # }, 992s # "handle-sleep", 992s # FALSE 992s # }; 992s # 992s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 992s # { 992s # { 992s # -1, 992s # (gchar *) "Attack", 992s # NULL, 992s # NULL, 992s # NULL 992s # }, 992s # "handle-attack", 992s # FALSE 992s # }; 992s # 992s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 992s # { 992s # &_com_acme_coyote_method_info_run.parent_struct, 992s # &_com_acme_coyote_method_info_sleep.parent_struct, 992s # &_com_acme_coyote_method_info_attack.parent_struct, 992s # NULL 992s # }; 992s # 992s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 992s # { 992s # { 992s # -1, 992s # (gchar *) "Surprised", 992s # NULL, 992s # NULL 992s # }, 992s # "surprised" 992s # }; 992s # 992s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 992s # { 992s # &_com_acme_coyote_signal_info_surprised.parent_struct, 992s # NULL 992s # }; 992s # 992s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 992s # { 992s # { 992s # -1, 992s # (gchar *) "Mood", 992s # (gchar *) "s", 992s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 992s # NULL 992s # }, 992s # "mood", 992s # FALSE, 992s # TRUE 992s # }; 992s # 992s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 992s # { 992s # &_com_acme_coyote_property_info_mood.parent_struct, 992s # NULL 992s # }; 992s # 992s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 992s # { 992s # { 992s # -1, 992s # (gchar *) "com.acme.Coyote", 992s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 992s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 992s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 992s # NULL 992s # }, 992s # "com-acme-coyote", 992s # }; 992s # 992s # 992s # /** 992s # * com_acme_coyote_interface_info: 992s # * 992s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 992s # * 992s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 992s # */ 992s # GDBusInterfaceInfo * 992s # com_acme_coyote_interface_info (void) 992s # { 992s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_override_properties: 992s # * @klass: The class structure for a #GObject derived class. 992s # * @property_id_begin: The property id to assign to the first overridden property. 992s # * 992s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 992s # * The properties are overridden in the order they are defined. 992s # * 992s # * Returns: The last property id. 992s # */ 992s # guint 992s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 992s # { 992s # g_object_class_override_property (klass, property_id_begin++, "mood"); 992s # return property_id_begin - 1; 992s # } 992s # 992s # 992s # inline static void 992s # com_acme_coyote_signal_marshal_surprised ( 992s # GClosure *closure, 992s # GValue *return_value, 992s # unsigned int n_param_values, 992s # const GValue *param_values, 992s # void *invocation_hint, 992s # void *marshal_data) 992s # { 992s # g_cclosure_marshal_VOID__VOID (closure, 992s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 992s # } 992s # 992s # inline static void 992s # com_acme_coyote_method_marshal_run ( 992s # GClosure *closure, 992s # GValue *return_value, 992s # unsigned int n_param_values, 992s # const GValue *param_values, 992s # void *invocation_hint, 992s # void *marshal_data) 992s # { 992s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 992s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 992s # } 992s # 992s # inline static void 992s # com_acme_coyote_method_marshal_sleep ( 992s # GClosure *closure, 992s # GValue *return_value, 992s # unsigned int n_param_values, 992s # const GValue *param_values, 992s # void *invocation_hint, 992s # void *marshal_data) 992s # { 992s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 992s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 992s # } 992s # 992s # inline static void 992s # com_acme_coyote_method_marshal_attack ( 992s # GClosure *closure, 992s # GValue *return_value, 992s # unsigned int n_param_values, 992s # const GValue *param_values, 992s # void *invocation_hint, 992s # void *marshal_data) 992s # { 992s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 992s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 992s # } 992s # 992s # 992s # /** 992s # * ComAcmeCoyote: 992s # * 992s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 992s # */ 992s # 992s # /** 992s # * ComAcmeCoyoteIface: 992s # * @parent_iface: The parent interface. 992s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 992s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 992s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 992s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 992s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 992s # * 992s # * Virtual table for the D-Bus interface com.acme.Coyote. 992s # */ 992s # 992s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 992s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 992s # 992s # static void 992s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 992s # { 992s # /* GObject signals for incoming D-Bus method calls: */ 992s # /** 992s # * ComAcmeCoyote::handle-run: 992s # * @object: A #ComAcmeCoyote. 992s # * @invocation: A #GDBusMethodInvocation. 992s # * 992s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 992s # * 992s # * 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. 992s # * 992s # * 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. 992s # */ 992s # g_signal_new ("handle-run", 992s # G_TYPE_FROM_INTERFACE (iface), 992s # G_SIGNAL_RUN_LAST, 992s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 992s # g_signal_accumulator_true_handled, 992s # NULL, 992s # com_acme_coyote_method_marshal_run, 992s # G_TYPE_BOOLEAN, 992s # 1, 992s # G_TYPE_DBUS_METHOD_INVOCATION); 992s # 992s # /** 992s # * ComAcmeCoyote::handle-sleep: 992s # * @object: A #ComAcmeCoyote. 992s # * @invocation: A #GDBusMethodInvocation. 992s # * 992s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 992s # * 992s # * 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. 992s # * 992s # * 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. 992s # */ 992s # g_signal_new ("handle-sleep", 992s # G_TYPE_FROM_INTERFACE (iface), 992s # G_SIGNAL_RUN_LAST, 992s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 992s # g_signal_accumulator_true_handled, 992s # NULL, 992s # com_acme_coyote_method_marshal_sleep, 992s # G_TYPE_BOOLEAN, 992s # 1, 992s # G_TYPE_DBUS_METHOD_INVOCATION); 992s # 992s # /** 992s # * ComAcmeCoyote::handle-attack: 992s # * @object: A #ComAcmeCoyote. 992s # * @invocation: A #GDBusMethodInvocation. 992s # * 992s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 992s # * 992s # * 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. 992s # * 992s # * 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. 992s # */ 992s # g_signal_new ("handle-attack", 992s # G_TYPE_FROM_INTERFACE (iface), 992s # G_SIGNAL_RUN_LAST, 992s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 992s # g_signal_accumulator_true_handled, 992s # NULL, 992s # com_acme_coyote_method_marshal_attack, 992s # G_TYPE_BOOLEAN, 992s # 1, 992s # G_TYPE_DBUS_METHOD_INVOCATION); 992s # 992s # /* GObject signals for received D-Bus signals: */ 992s # /** 992s # * ComAcmeCoyote::surprised: 992s # * @object: A #ComAcmeCoyote. 992s # * 992s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 992s # * 992s # * 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. 992s # */ 992s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 992s # g_signal_new ("surprised", 992s # G_TYPE_FROM_INTERFACE (iface), 992s # G_SIGNAL_RUN_LAST, 992s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 992s # NULL, 992s # NULL, 992s # com_acme_coyote_signal_marshal_surprised, 992s # G_TYPE_NONE, 992s # 0); 992s # 992s # /* GObject properties for D-Bus properties: */ 992s # /** 992s # * ComAcmeCoyote:mood: 992s # * 992s # * Represents the D-Bus property "Mood". 992s # * 992s # * 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. 992s # */ 992s # g_object_interface_install_property (iface, 992s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_get_mood: (skip) 992s # * @object: A #ComAcmeCoyote. 992s # * 992s # * Gets the value of the "Mood" D-Bus property. 992s # * 992s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 992s # * 992s # * 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. 992s # * 992s # * 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. 992s # */ 992s # const gchar * 992s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 992s # { 992s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 992s # 992s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_dup_mood: (skip) 992s # * @object: A #ComAcmeCoyote. 992s # * 992s # * Gets a copy of the "Mood" D-Bus property. 992s # * 992s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 992s # * 992s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 992s # */ 992s # gchar * 992s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 992s # { 992s # gchar *value; 992s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 992s # return value; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_set_mood: (skip) 992s # * @object: A #ComAcmeCoyote. 992s # * @value: The value to set. 992s # * 992s # * Sets the "Mood" D-Bus property to @value. 992s # * 992s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 992s # */ 992s # void 992s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 992s # { 992s # g_object_set (G_OBJECT (object), "mood", value, NULL); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_emit_surprised: 992s # * @object: A #ComAcmeCoyote. 992s # * 992s # * Emits the "Surprised" D-Bus signal. 992s # */ 992s # void 992s # com_acme_coyote_emit_surprised ( 992s # ComAcmeCoyote *object) 992s # { 992s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_run: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Asynchronously invokes the Run() D-Bus method on @proxy. 992s # * 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()). 992s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 992s # * 992s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 992s # */ 992s # void 992s # com_acme_coyote_call_run ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 992s # "Run", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # callback, 992s # user_data); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_run_finish: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Finishes an operation started with com_acme_coyote_call_run(). 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # com_acme_coyote_call_run_finish ( 992s # ComAcmeCoyote *proxy, 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_run_sync: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 992s # * 992s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # com_acme_coyote_call_run_sync ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 992s # "Run", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_sleep: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 992s # * 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()). 992s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 992s # * 992s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 992s # */ 992s # void 992s # com_acme_coyote_call_sleep ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 992s # "Sleep", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # callback, 992s # user_data); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_sleep_finish: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Finishes an operation started with com_acme_coyote_call_sleep(). 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # com_acme_coyote_call_sleep_finish ( 992s # ComAcmeCoyote *proxy, 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_sleep_sync: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 992s # * 992s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # com_acme_coyote_call_sleep_sync ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 992s # "Sleep", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_attack: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 992s # * 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()). 992s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 992s # * 992s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 992s # */ 992s # void 992s # com_acme_coyote_call_attack ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 992s # "Attack", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # callback, 992s # user_data); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_attack_finish: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Finishes an operation started with com_acme_coyote_call_attack(). 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # com_acme_coyote_call_attack_finish ( 992s # ComAcmeCoyote *proxy, 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_call_attack_sync: 992s # * @proxy: A #ComAcmeCoyoteProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 992s # * 992s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # com_acme_coyote_call_attack_sync ( 992s # ComAcmeCoyote *proxy, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 992s # "Attack", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_complete_run: 992s # * @object: A #ComAcmeCoyote. 992s # * @invocation: (transfer full): A #GDBusMethodInvocation. 992s # * 992s # * 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. 992s # * 992s # * This method will free @invocation, you cannot use it afterwards. 992s # */ 992s # void 992s # com_acme_coyote_complete_run ( 992s # ComAcmeCoyote *object G_GNUC_UNUSED, 992s # GDBusMethodInvocation *invocation) 992s # { 992s # g_dbus_method_invocation_return_value (invocation, 992s # g_variant_new ("()")); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_complete_sleep: 992s # * @object: A #ComAcmeCoyote. 992s # * @invocation: (transfer full): A #GDBusMethodInvocation. 992s # * 992s # * 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. 992s # * 992s # * This method will free @invocation, you cannot use it afterwards. 992s # */ 992s # void 992s # com_acme_coyote_complete_sleep ( 992s # ComAcmeCoyote *object G_GNUC_UNUSED, 992s # GDBusMethodInvocation *invocation) 992s # { 992s # g_dbus_method_invocation_return_value (invocation, 992s # g_variant_new ("()")); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_complete_attack: 992s # * @object: A #ComAcmeCoyote. 992s # * @invocation: (transfer full): A #GDBusMethodInvocation. 992s # * 992s # * 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. 992s # * 992s # * This method will free @invocation, you cannot use it afterwards. 992s # */ 992s # void 992s # com_acme_coyote_complete_attack ( 992s # ComAcmeCoyote *object G_GNUC_UNUSED, 992s # GDBusMethodInvocation *invocation) 992s # { 992s # g_dbus_method_invocation_return_value (invocation, 992s # g_variant_new ("()")); 992s # } 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # 992s # /** 992s # * ComAcmeCoyoteProxy: 992s # * 992s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 992s # */ 992s # 992s # /** 992s # * ComAcmeCoyoteProxyClass: 992s # * @parent_class: The parent class. 992s # * 992s # * Class structure for #ComAcmeCoyoteProxy. 992s # */ 992s # 992s # struct _ComAcmeCoyoteProxyPrivate 992s # { 992s # GData *qdata; 992s # }; 992s # 992s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 992s # 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 992s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 992s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 992s # 992s # #else 992s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 992s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 992s # 992s # #endif 992s # static void 992s # com_acme_coyote_proxy_finalize (GObject *object) 992s # { 992s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 992s # g_datalist_clear (&proxy->priv->qdata); 992s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_get_property (GObject *object, 992s # guint prop_id, 992s # GValue *value, 992s # GParamSpec *pspec G_GNUC_UNUSED) 992s # { 992s # const _ExtendedGDBusPropertyInfo *info; 992s # GVariant *variant; 992s # g_assert (prop_id != 0 && prop_id - 1 < 1); 992s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 992s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 992s # if (info->use_gvariant) 992s # { 992s # g_value_set_variant (value, variant); 992s # } 992s # else 992s # { 992s # if (variant != NULL) 992s # g_dbus_gvariant_to_gvalue (variant, value); 992s # } 992s # if (variant != NULL) 992s # g_variant_unref (variant); 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 992s # GAsyncResult *res, 992s # gpointer user_data) 992s # { 992s # const _ExtendedGDBusPropertyInfo *info = user_data; 992s # GError *error; 992s # GVariant *_ret; 992s # error = NULL; 992s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 992s # if (!_ret) 992s # { 992s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 992s # info->parent_struct.name, 992s # error->message, g_quark_to_string (error->domain), error->code); 992s # g_error_free (error); 992s # } 992s # else 992s # { 992s # g_variant_unref (_ret); 992s # } 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_set_property (GObject *object, 992s # guint prop_id, 992s # const GValue *value, 992s # GParamSpec *pspec G_GNUC_UNUSED) 992s # { 992s # const _ExtendedGDBusPropertyInfo *info; 992s # GVariant *variant; 992s # g_assert (prop_id != 0 && prop_id - 1 < 1); 992s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 992s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 992s # g_dbus_proxy_call (G_DBUS_PROXY (object), 992s # "org.freedesktop.DBus.Properties.Set", 992s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 992s # g_variant_unref (variant); 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 992s # const gchar *sender_name G_GNUC_UNUSED, 992s # const gchar *signal_name, 992s # GVariant *parameters) 992s # { 992s # _ExtendedGDBusSignalInfo *info; 992s # GVariantIter iter; 992s # GVariant *child; 992s # GValue *paramv; 992s # gsize num_params; 992s # gsize n; 992s # guint signal_id; 992s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 992s # if (info == NULL) 992s # return; 992s # num_params = g_variant_n_children (parameters); 992s # paramv = g_new0 (GValue, num_params + 1); 992s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 992s # g_value_set_object (¶mv[0], proxy); 992s # g_variant_iter_init (&iter, parameters); 992s # n = 1; 992s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 992s # { 992s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 992s # if (arg_info->use_gvariant) 992s # { 992s # g_value_init (¶mv[n], G_TYPE_VARIANT); 992s # g_value_set_variant (¶mv[n], child); 992s # n++; 992s # } 992s # else 992s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 992s # g_variant_unref (child); 992s # } 992s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 992s # g_signal_emitv (paramv, signal_id, 0, NULL); 992s # for (n = 0; n < num_params + 1; n++) 992s # g_value_unset (¶mv[n]); 992s # g_free (paramv); 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 992s # GVariant *changed_properties, 992s # const gchar *const *invalidated_properties) 992s # { 992s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 992s # guint n; 992s # const gchar *key; 992s # GVariantIter *iter; 992s # _ExtendedGDBusPropertyInfo *info; 992s # g_variant_get (changed_properties, "a{sv}", &iter); 992s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 992s # { 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 992s # g_datalist_remove_data (&proxy->priv->qdata, key); 992s # if (info != NULL) 992s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 992s # } 992s # g_variant_iter_free (iter); 992s # for (n = 0; invalidated_properties[n] != NULL; n++) 992s # { 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 992s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 992s # if (info != NULL) 992s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 992s # } 992s # } 992s # 992s # static const gchar * 992s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 992s # { 992s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 992s # GVariant *variant; 992s # const gchar *value = NULL; 992s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 992s # if (variant != NULL) 992s # { 992s # value = g_variant_get_string (variant, NULL); 992s # g_variant_unref (variant); 992s # } 992s # return value; 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 992s # { 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 992s # #else 992s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 992s # #endif 992s # 992s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 992s # { 992s # GObjectClass *gobject_class; 992s # GDBusProxyClass *proxy_class; 992s # 992s # gobject_class = G_OBJECT_CLASS (klass); 992s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 992s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 992s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 992s # 992s # proxy_class = G_DBUS_PROXY_CLASS (klass); 992s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 992s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 992s # 992s # com_acme_coyote_override_properties (gobject_class, 1); 992s # 992s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 992s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 992s # #endif 992s # } 992s # 992s # static void 992s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 992s # { 992s # iface->get_mood = com_acme_coyote_proxy_get_mood; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_proxy_new: 992s # * @connection: A #GDBusConnection. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 992s # * 992s # * 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()). 992s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 992s # * 992s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 992s # */ 992s # void 992s # com_acme_coyote_proxy_new ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # 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); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_proxy_new_finish: 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 992s # * @error: Return location for error or %NULL 992s # * 992s # * Finishes an operation started with com_acme_coyote_proxy_new(). 992s # * 992s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # ComAcmeCoyote * 992s # com_acme_coyote_proxy_new_finish ( 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GObject *ret; 992s # GObject *source_object; 992s # source_object = g_async_result_get_source_object (res); 992s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 992s # g_object_unref (source_object); 992s # if (ret != NULL) 992s # return COM_ACME_COYOTE (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_proxy_new_sync: 992s # * @connection: A #GDBusConnection. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL 992s # * 992s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 992s # * 992s # * The calling thread is blocked until a reply is received. 992s # * 992s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 992s # * 992s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # ComAcmeCoyote * 992s # com_acme_coyote_proxy_new_sync ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GInitable *ret; 992s # 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); 992s # if (ret != NULL) 992s # return COM_ACME_COYOTE (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # 992s # /** 992s # * com_acme_coyote_proxy_new_for_bus: 992s # * @bus_type: A #GBusType. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: A bus name (well-known or unique). 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 992s # * 992s # * 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()). 992s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 992s # * 992s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 992s # */ 992s # void 992s # com_acme_coyote_proxy_new_for_bus ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # 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); 992s # } 992s # 992s # /** 992s # * com_acme_coyote_proxy_new_for_bus_finish: 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 992s # * @error: Return location for error or %NULL 992s # * 992s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 992s # * 992s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # ComAcmeCoyote * 992s # com_acme_coyote_proxy_new_for_bus_finish ( 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GObject *ret; 992s # GObject *source_object; 992s # source_object = g_async_result_get_source_object (res); 992s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 992s # g_object_unref (source_object); 992s # if (ret != NULL) 992s # return COM_ACME_COYOTE (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_proxy_new_for_bus_sync: 992s # * @bus_type: A #GBusType. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: A bus name (well-known or unique). 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL 992s # * 992s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 992s # * 992s # * The calling thread is blocked until a reply is received. 992s # * 992s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 992s # * 992s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # ComAcmeCoyote * 992s # com_acme_coyote_proxy_new_for_bus_sync ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GInitable *ret; 992s # 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); 992s # if (ret != NULL) 992s # return COM_ACME_COYOTE (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # 992s # /** 992s # * ComAcmeCoyoteSkeleton: 992s # * 992s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 992s # */ 992s # 992s # /** 992s # * ComAcmeCoyoteSkeletonClass: 992s # * @parent_class: The parent class. 992s # * 992s # * Class structure for #ComAcmeCoyoteSkeleton. 992s # */ 992s # 992s # struct _ComAcmeCoyoteSkeletonPrivate 992s # { 992s # GValue *properties; 992s # GList *changed_properties; 992s # GSource *changed_properties_idle_source; 992s # GMainContext *context; 992s # GMutex lock; 992s # }; 992s # 992s # static void 992s # _com_acme_coyote_skeleton_handle_method_call ( 992s # GDBusConnection *connection G_GNUC_UNUSED, 992s # const gchar *sender G_GNUC_UNUSED, 992s # const gchar *object_path G_GNUC_UNUSED, 992s # const gchar *interface_name, 992s # const gchar *method_name, 992s # GVariant *parameters, 992s # GDBusMethodInvocation *invocation, 992s # gpointer user_data) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 992s # _ExtendedGDBusMethodInfo *info; 992s # GVariantIter iter; 992s # GVariant *child; 992s # GValue *paramv; 992s # gsize num_params; 992s # guint num_extra; 992s # gsize n; 992s # guint signal_id; 992s # GValue return_value = G_VALUE_INIT; 992s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 992s # g_assert (info != NULL); 992s # num_params = g_variant_n_children (parameters); 992s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 992s # n = 0; 992s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 992s # g_value_set_object (¶mv[n++], skeleton); 992s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 992s # g_value_set_object (¶mv[n++], invocation); 992s # if (info->pass_fdlist) 992s # { 992s # #ifdef G_OS_UNIX 992s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 992s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 992s # #else 992s # g_assert_not_reached (); 992s # #endif 992s # } 992s # g_variant_iter_init (&iter, parameters); 992s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 992s # { 992s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 992s # if (arg_info->use_gvariant) 992s # { 992s # g_value_init (¶mv[n], G_TYPE_VARIANT); 992s # g_value_set_variant (¶mv[n], child); 992s # n++; 992s # } 992s # else 992s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 992s # g_variant_unref (child); 992s # } 992s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 992s # g_value_init (&return_value, G_TYPE_BOOLEAN); 992s # g_signal_emitv (paramv, signal_id, 0, &return_value); 992s # if (!g_value_get_boolean (&return_value)) 992s # 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); 992s # g_value_unset (&return_value); 992s # for (n = 0; n < num_params + num_extra; n++) 992s # g_value_unset (¶mv[n]); 992s # g_free (paramv); 992s # } 992s # 992s # static GVariant * 992s # _com_acme_coyote_skeleton_handle_get_property ( 992s # GDBusConnection *connection G_GNUC_UNUSED, 992s # const gchar *sender G_GNUC_UNUSED, 992s # const gchar *object_path G_GNUC_UNUSED, 992s # const gchar *interface_name G_GNUC_UNUSED, 992s # const gchar *property_name, 992s # GError **error, 992s # gpointer user_data) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 992s # GValue value = G_VALUE_INIT; 992s # GParamSpec *pspec; 992s # _ExtendedGDBusPropertyInfo *info; 992s # GVariant *ret; 992s # ret = NULL; 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 992s # g_assert (info != NULL); 992s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 992s # if (pspec == NULL) 992s # { 992s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 992s # } 992s # else 992s # { 992s # g_value_init (&value, pspec->value_type); 992s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 992s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 992s # g_value_unset (&value); 992s # } 992s # return ret; 992s # } 992s # 992s # static gboolean 992s # _com_acme_coyote_skeleton_handle_set_property ( 992s # GDBusConnection *connection G_GNUC_UNUSED, 992s # const gchar *sender G_GNUC_UNUSED, 992s # const gchar *object_path G_GNUC_UNUSED, 992s # const gchar *interface_name G_GNUC_UNUSED, 992s # const gchar *property_name, 992s # GVariant *variant, 992s # GError **error, 992s # gpointer user_data) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 992s # GValue value = G_VALUE_INIT; 992s # GParamSpec *pspec; 992s # _ExtendedGDBusPropertyInfo *info; 992s # gboolean ret; 992s # ret = FALSE; 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 992s # g_assert (info != NULL); 992s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 992s # if (pspec == NULL) 992s # { 992s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 992s # } 992s # else 992s # { 992s # if (info->use_gvariant) 992s # g_value_set_variant (&value, variant); 992s # else 992s # g_dbus_gvariant_to_gvalue (variant, &value); 992s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 992s # g_value_unset (&value); 992s # ret = TRUE; 992s # } 992s # return ret; 992s # } 992s # 992s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 992s # { 992s # _com_acme_coyote_skeleton_handle_method_call, 992s # _com_acme_coyote_skeleton_handle_get_property, 992s # _com_acme_coyote_skeleton_handle_set_property, 992s # {NULL} 992s # }; 992s # 992s # static GDBusInterfaceInfo * 992s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 992s # { 992s # return com_acme_coyote_interface_info (); 992s # } 992s # 992s # static GDBusInterfaceVTable * 992s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 992s # { 992s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 992s # } 992s # 992s # static GVariant * 992s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 992s # 992s # GVariantBuilder builder; 992s # guint n; 992s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 992s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 992s # goto out; 992s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 992s # { 992s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 992s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 992s # { 992s # GVariant *value; 992s # 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); 992s # if (value != NULL) 992s # { 992s # g_variant_take_ref (value); 992s # g_variant_builder_add (&builder, "{sv}", info->name, value); 992s # g_variant_unref (value); 992s # } 992s # } 992s # } 992s # out: 992s # return g_variant_builder_end (&builder); 992s # } 992s # 992s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 992s # 992s # static void 992s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 992s # gboolean emit_changed = FALSE; 992s # 992s # g_mutex_lock (&skeleton->priv->lock); 992s # if (skeleton->priv->changed_properties_idle_source != NULL) 992s # { 992s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 992s # skeleton->priv->changed_properties_idle_source = NULL; 992s # emit_changed = TRUE; 992s # } 992s # g_mutex_unlock (&skeleton->priv->lock); 992s # 992s # if (emit_changed) 992s # _com_acme_coyote_emit_changed (skeleton); 992s # } 992s # 992s # static void 992s # _com_acme_coyote_on_signal_surprised ( 992s # ComAcmeCoyote *object) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 992s # 992s # GList *connections, *l; 992s # GVariant *signal_variant; 992s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 992s # 992s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 992s # for (l = connections; l != NULL; l = l->next) 992s # { 992s # GDBusConnection *connection = l->data; 992s # g_dbus_connection_emit_signal (connection, 992s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 992s # signal_variant, NULL); 992s # } 992s # g_variant_unref (signal_variant); 992s # g_list_free_full (connections, g_object_unref); 992s # } 992s # 992s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 992s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 992s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 992s # 992s # #else 992s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 992s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 992s # 992s # #endif 992s # static void 992s # com_acme_coyote_skeleton_finalize (GObject *object) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 992s # guint n; 992s # for (n = 0; n < 1; n++) 992s # g_value_unset (&skeleton->priv->properties[n]); 992s # g_free (skeleton->priv->properties); 992s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 992s # if (skeleton->priv->changed_properties_idle_source != NULL) 992s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 992s # g_main_context_unref (skeleton->priv->context); 992s # g_mutex_clear (&skeleton->priv->lock); 992s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 992s # } 992s # 992s # static void 992s # com_acme_coyote_skeleton_get_property (GObject *object, 992s # guint prop_id, 992s # GValue *value, 992s # GParamSpec *pspec G_GNUC_UNUSED) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 992s # g_assert (prop_id != 0 && prop_id - 1 < 1); 992s # g_mutex_lock (&skeleton->priv->lock); 992s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 992s # g_mutex_unlock (&skeleton->priv->lock); 992s # } 992s # 992s # static gboolean 992s # _com_acme_coyote_emit_changed (gpointer user_data) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 992s # GList *l; 992s # GVariantBuilder builder; 992s # GVariantBuilder invalidated_builder; 992s # guint num_changes; 992s # 992s # g_mutex_lock (&skeleton->priv->lock); 992s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 992s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 992s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 992s # { 992s # ChangedProperty *cp = l->data; 992s # GVariant *variant; 992s # const GValue *cur_value; 992s # 992s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 992s # if (!_g_value_equal (cur_value, &cp->orig_value)) 992s # { 992s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 992s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 992s # g_variant_unref (variant); 992s # num_changes++; 992s # } 992s # } 992s # if (num_changes > 0) 992s # { 992s # GList *connections, *ll; 992s # GVariant *signal_variant; 992s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 992s # &builder, &invalidated_builder)); 992s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 992s # for (ll = connections; ll != NULL; ll = ll->next) 992s # { 992s # GDBusConnection *connection = ll->data; 992s # 992s # g_dbus_connection_emit_signal (connection, 992s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 992s # "org.freedesktop.DBus.Properties", 992s # "PropertiesChanged", 992s # signal_variant, 992s # NULL); 992s # } 992s # g_variant_unref (signal_variant); 992s # g_list_free_full (connections, g_object_unref); 992s # } 992s # else 992s # { 992s # g_variant_builder_clear (&builder); 992s # g_variant_builder_clear (&invalidated_builder); 992s # } 992s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 992s # skeleton->priv->changed_properties = NULL; 992s # skeleton->priv->changed_properties_idle_source = NULL; 992s # g_mutex_unlock (&skeleton->priv->lock); 992s # return FALSE; 992s # } 992s # 992s # static void 992s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 992s # { 992s # ChangedProperty *cp; 992s # GList *l; 992s # cp = NULL; 992s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 992s # { 992s # ChangedProperty *i_cp = l->data; 992s # if (i_cp->info == info) 992s # { 992s # cp = i_cp; 992s # break; 992s # } 992s # } 992s # if (cp == NULL) 992s # { 992s # cp = g_new0 (ChangedProperty, 1); 992s # cp->prop_id = prop_id; 992s # cp->info = info; 992s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 992s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 992s # g_value_copy (orig_value, &cp->orig_value); 992s # } 992s # } 992s # 992s # static void 992s # com_acme_coyote_skeleton_notify (GObject *object, 992s # GParamSpec *pspec G_GNUC_UNUSED) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 992s # g_mutex_lock (&skeleton->priv->lock); 992s # if (skeleton->priv->changed_properties != NULL && 992s # skeleton->priv->changed_properties_idle_source == NULL) 992s # { 992s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 992s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 992s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 992s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 992s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 992s # g_source_unref (skeleton->priv->changed_properties_idle_source); 992s # } 992s # g_mutex_unlock (&skeleton->priv->lock); 992s # } 992s # 992s # static void 992s # com_acme_coyote_skeleton_set_property (GObject *object, 992s # guint prop_id, 992s # const GValue *value, 992s # GParamSpec *pspec) 992s # { 992s # const _ExtendedGDBusPropertyInfo *info; 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 992s # g_assert (prop_id != 0 && prop_id - 1 < 1); 992s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 992s # g_mutex_lock (&skeleton->priv->lock); 992s # g_object_freeze_notify (object); 992s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 992s # { 992s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 992s # info->emits_changed_signal) 992s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 992s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 992s # g_object_notify_by_pspec (object, pspec); 992s # } 992s # g_mutex_unlock (&skeleton->priv->lock); 992s # g_object_thaw_notify (object); 992s # } 992s # 992s # static void 992s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 992s # { 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 992s # #else 992s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 992s # #endif 992s # 992s # g_mutex_init (&skeleton->priv->lock); 992s # skeleton->priv->context = g_main_context_ref_thread_default (); 992s # skeleton->priv->properties = g_new0 (GValue, 1); 992s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 992s # } 992s # 992s # static const gchar * 992s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 992s # { 992s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 992s # const gchar *value; 992s # g_mutex_lock (&skeleton->priv->lock); 992s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 992s # g_mutex_unlock (&skeleton->priv->lock); 992s # return value; 992s # } 992s # 992s # static void 992s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 992s # { 992s # GObjectClass *gobject_class; 992s # GDBusInterfaceSkeletonClass *skeleton_class; 992s # 992s # gobject_class = G_OBJECT_CLASS (klass); 992s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 992s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 992s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 992s # gobject_class->notify = com_acme_coyote_skeleton_notify; 992s # 992s # 992s # com_acme_coyote_override_properties (gobject_class, 1); 992s # 992s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 992s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 992s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 992s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 992s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 992s # 992s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 992s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 992s # #endif 992s # } 992s # 992s # static void 992s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 992s # { 992s # iface->surprised = _com_acme_coyote_on_signal_surprised; 992s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 992s # } 992s # 992s # /** 992s # * com_acme_coyote_skeleton_new: 992s # * 992s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 992s # * 992s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 992s # */ 992s # ComAcmeCoyote * 992s # com_acme_coyote_skeleton_new (void) 992s # { 992s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 992s # } 992s # 992s # /* ------------------------------------------------------------------------ 992s # * Code for interface org.project.Bar.Frobnicator 992s # * ------------------------------------------------------------------------ 992s # */ 992s # 992s # /** 992s # * SECTION:OrgProjectBarFrobnicator 992s # * @title: OrgProjectBarFrobnicator 992s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 992s # * 992s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 992s # */ 992s # 992s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 992s # 992s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 992s # { 992s # { 992s # -1, 992s # (gchar *) "RandomMethod", 992s # NULL, 992s # NULL, 992s # NULL 992s # }, 992s # "handle-random-method", 992s # FALSE 992s # }; 992s # 992s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 992s # { 992s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 992s # NULL 992s # }; 992s # 992s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 992s # { 992s # { 992s # -1, 992s # (gchar *) "org.project.Bar.Frobnicator", 992s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 992s # NULL, 992s # NULL, 992s # NULL 992s # }, 992s # "org-project-bar-frobnicator", 992s # }; 992s # 992s # 992s # /** 992s # * org_project_bar_frobnicator_interface_info: 992s # * 992s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 992s # * 992s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 992s # */ 992s # GDBusInterfaceInfo * 992s # org_project_bar_frobnicator_interface_info (void) 992s # { 992s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_override_properties: 992s # * @klass: The class structure for a #GObject derived class. 992s # * @property_id_begin: The property id to assign to the first overridden property. 992s # * 992s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 992s # * The properties are overridden in the order they are defined. 992s # * 992s # * Returns: The last property id. 992s # */ 992s # guint 992s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 992s # { 992s # return property_id_begin - 1; 992s # } 992s # 992s # 992s # inline static void 992s # org_project_bar_frobnicator_method_marshal_random_method ( 992s # GClosure *closure, 992s # GValue *return_value, 992s # unsigned int n_param_values, 992s # const GValue *param_values, 992s # void *invocation_hint, 992s # void *marshal_data) 992s # { 992s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 992s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 992s # } 992s # 992s # 992s # /** 992s # * OrgProjectBarFrobnicator: 992s # * 992s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 992s # */ 992s # 992s # /** 992s # * OrgProjectBarFrobnicatorIface: 992s # * @parent_iface: The parent interface. 992s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 992s # * 992s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 992s # */ 992s # 992s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 992s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 992s # 992s # static void 992s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 992s # { 992s # /* GObject signals for incoming D-Bus method calls: */ 992s # /** 992s # * OrgProjectBarFrobnicator::handle-random-method: 992s # * @object: A #OrgProjectBarFrobnicator. 992s # * @invocation: A #GDBusMethodInvocation. 992s # * 992s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 992s # * 992s # * 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. 992s # * 992s # * 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. 992s # */ 992s # g_signal_new ("handle-random-method", 992s # G_TYPE_FROM_INTERFACE (iface), 992s # G_SIGNAL_RUN_LAST, 992s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 992s # g_signal_accumulator_true_handled, 992s # NULL, 992s # org_project_bar_frobnicator_method_marshal_random_method, 992s # G_TYPE_BOOLEAN, 992s # 1, 992s # G_TYPE_DBUS_METHOD_INVOCATION); 992s # 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_call_random_method: 992s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 992s # * 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()). 992s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 992s # * 992s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 992s # */ 992s # void 992s # org_project_bar_frobnicator_call_random_method ( 992s # OrgProjectBarFrobnicator *proxy, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 992s # "RandomMethod", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # callback, 992s # user_data); 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_call_random_method_finish: 992s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # org_project_bar_frobnicator_call_random_method_finish ( 992s # OrgProjectBarFrobnicator *proxy, 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_call_random_method_sync: 992s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL. 992s # * 992s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 992s # * 992s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 992s # * 992s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 992s # */ 992s # gboolean 992s # org_project_bar_frobnicator_call_random_method_sync ( 992s # OrgProjectBarFrobnicator *proxy, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GVariant *_ret; 992s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 992s # "RandomMethod", 992s # g_variant_new ("()"), 992s # G_DBUS_CALL_FLAGS_NONE, 992s # -1, 992s # cancellable, 992s # error); 992s # if (_ret == NULL) 992s # goto _out; 992s # g_variant_get (_ret, 992s # "()"); 992s # g_variant_unref (_ret); 992s # _out: 992s # return _ret != NULL; 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_complete_random_method: 992s # * @object: A #OrgProjectBarFrobnicator. 992s # * @invocation: (transfer full): A #GDBusMethodInvocation. 992s # * 992s # * 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. 992s # * 992s # * This method will free @invocation, you cannot use it afterwards. 992s # */ 992s # void 992s # org_project_bar_frobnicator_complete_random_method ( 992s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 992s # GDBusMethodInvocation *invocation) 992s # { 992s # g_dbus_method_invocation_return_value (invocation, 992s # g_variant_new ("()")); 992s # } 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # 992s # /** 992s # * OrgProjectBarFrobnicatorProxy: 992s # * 992s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 992s # */ 992s # 992s # /** 992s # * OrgProjectBarFrobnicatorProxyClass: 992s # * @parent_class: The parent class. 992s # * 992s # * Class structure for #OrgProjectBarFrobnicatorProxy. 992s # */ 992s # 992s # struct _OrgProjectBarFrobnicatorProxyPrivate 992s # { 992s # GData *qdata; 992s # }; 992s # 992s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 992s # 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 992s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 992s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 992s # 992s # #else 992s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 992s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 992s # 992s # #endif 992s # static void 992s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 992s # { 992s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 992s # g_datalist_clear (&proxy->priv->qdata); 992s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 992s # guint prop_id G_GNUC_UNUSED, 992s # GValue *value G_GNUC_UNUSED, 992s # GParamSpec *pspec G_GNUC_UNUSED) 992s # { 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 992s # guint prop_id G_GNUC_UNUSED, 992s # const GValue *value G_GNUC_UNUSED, 992s # GParamSpec *pspec G_GNUC_UNUSED) 992s # { 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 992s # const gchar *sender_name G_GNUC_UNUSED, 992s # const gchar *signal_name, 992s # GVariant *parameters) 992s # { 992s # _ExtendedGDBusSignalInfo *info; 992s # GVariantIter iter; 992s # GVariant *child; 992s # GValue *paramv; 992s # gsize num_params; 992s # gsize n; 992s # guint signal_id; 992s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 992s # if (info == NULL) 992s # return; 992s # num_params = g_variant_n_children (parameters); 992s # paramv = g_new0 (GValue, num_params + 1); 992s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 992s # g_value_set_object (¶mv[0], proxy); 992s # g_variant_iter_init (&iter, parameters); 992s # n = 1; 992s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 992s # { 992s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 992s # if (arg_info->use_gvariant) 992s # { 992s # g_value_init (¶mv[n], G_TYPE_VARIANT); 992s # g_value_set_variant (¶mv[n], child); 992s # n++; 992s # } 992s # else 992s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 992s # g_variant_unref (child); 992s # } 992s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 992s # g_signal_emitv (paramv, signal_id, 0, NULL); 992s # for (n = 0; n < num_params + 1; n++) 992s # g_value_unset (¶mv[n]); 992s # g_free (paramv); 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 992s # GVariant *changed_properties, 992s # const gchar *const *invalidated_properties) 992s # { 992s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 992s # guint n; 992s # const gchar *key; 992s # GVariantIter *iter; 992s # _ExtendedGDBusPropertyInfo *info; 992s # g_variant_get (changed_properties, "a{sv}", &iter); 992s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 992s # { 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 992s # g_datalist_remove_data (&proxy->priv->qdata, key); 992s # if (info != NULL) 992s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 992s # } 992s # g_variant_iter_free (iter); 992s # for (n = 0; invalidated_properties[n] != NULL; n++) 992s # { 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 992s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 992s # if (info != NULL) 992s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 992s # } 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 992s # { 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 992s # #else 992s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 992s # #endif 992s # 992s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 992s # { 992s # GObjectClass *gobject_class; 992s # GDBusProxyClass *proxy_class; 992s # 992s # gobject_class = G_OBJECT_CLASS (klass); 992s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 992s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 992s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 992s # 992s # proxy_class = G_DBUS_PROXY_CLASS (klass); 992s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 992s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 992s # 992s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 992s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 992s # #endif 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 992s # { 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_proxy_new: 992s # * @connection: A #GDBusConnection. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 992s # * 992s # * 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()). 992s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 992s # * 992s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 992s # */ 992s # void 992s # org_project_bar_frobnicator_proxy_new ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # 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); 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_proxy_new_finish: 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 992s # * @error: Return location for error or %NULL 992s # * 992s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 992s # * 992s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # OrgProjectBarFrobnicator * 992s # org_project_bar_frobnicator_proxy_new_finish ( 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GObject *ret; 992s # GObject *source_object; 992s # source_object = g_async_result_get_source_object (res); 992s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 992s # g_object_unref (source_object); 992s # if (ret != NULL) 992s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_proxy_new_sync: 992s # * @connection: A #GDBusConnection. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL 992s # * 992s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 992s # * 992s # * The calling thread is blocked until a reply is received. 992s # * 992s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 992s # * 992s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # OrgProjectBarFrobnicator * 992s # org_project_bar_frobnicator_proxy_new_sync ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GInitable *ret; 992s # 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); 992s # if (ret != NULL) 992s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # 992s # /** 992s # * org_project_bar_frobnicator_proxy_new_for_bus: 992s # * @bus_type: A #GBusType. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: A bus name (well-known or unique). 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 992s # * @user_data: User data to pass to @callback. 992s # * 992s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 992s # * 992s # * 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()). 992s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 992s # * 992s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 992s # */ 992s # void 992s # org_project_bar_frobnicator_proxy_new_for_bus ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data) 992s # { 992s # 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); 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 992s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 992s # * @error: Return location for error or %NULL 992s # * 992s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 992s # * 992s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # OrgProjectBarFrobnicator * 992s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 992s # GAsyncResult *res, 992s # GError **error) 992s # { 992s # GObject *ret; 992s # GObject *source_object; 992s # source_object = g_async_result_get_source_object (res); 992s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 992s # g_object_unref (source_object); 992s # if (ret != NULL) 992s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 992s # * @bus_type: A #GBusType. 992s # * @flags: Flags from the #GDBusProxyFlags enumeration. 992s # * @name: A bus name (well-known or unique). 992s # * @object_path: An object path. 992s # * @cancellable: (nullable): A #GCancellable or %NULL. 992s # * @error: Return location for error or %NULL 992s # * 992s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 992s # * 992s # * The calling thread is blocked until a reply is received. 992s # * 992s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 992s # * 992s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 992s # */ 992s # OrgProjectBarFrobnicator * 992s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error) 992s # { 992s # GInitable *ret; 992s # 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); 992s # if (ret != NULL) 992s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 992s # else 992s # return NULL; 992s # } 992s # 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # 992s # /** 992s # * OrgProjectBarFrobnicatorSkeleton: 992s # * 992s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 992s # */ 992s # 992s # /** 992s # * OrgProjectBarFrobnicatorSkeletonClass: 992s # * @parent_class: The parent class. 992s # * 992s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 992s # */ 992s # 992s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 992s # { 992s # GValue *properties; 992s # GList *changed_properties; 992s # GSource *changed_properties_idle_source; 992s # GMainContext *context; 992s # GMutex lock; 992s # }; 992s # 992s # static void 992s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 992s # GDBusConnection *connection G_GNUC_UNUSED, 992s # const gchar *sender G_GNUC_UNUSED, 992s # const gchar *object_path G_GNUC_UNUSED, 992s # const gchar *interface_name, 992s # const gchar *method_name, 992s # GVariant *parameters, 992s # GDBusMethodInvocation *invocation, 992s # gpointer user_data) 992s # { 992s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 992s # _ExtendedGDBusMethodInfo *info; 992s # GVariantIter iter; 992s # GVariant *child; 992s # GValue *paramv; 992s # gsize num_params; 992s # guint num_extra; 992s # gsize n; 992s # guint signal_id; 992s # GValue return_value = G_VALUE_INIT; 992s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 992s # g_assert (info != NULL); 992s # num_params = g_variant_n_children (parameters); 992s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 992s # n = 0; 992s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 992s # g_value_set_object (¶mv[n++], skeleton); 992s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 992s # g_value_set_object (¶mv[n++], invocation); 992s # if (info->pass_fdlist) 992s # { 992s # #ifdef G_OS_UNIX 992s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 992s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 992s # #else 992s # g_assert_not_reached (); 992s # #endif 992s # } 992s # g_variant_iter_init (&iter, parameters); 992s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 992s # { 992s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 992s # if (arg_info->use_gvariant) 992s # { 992s # g_value_init (¶mv[n], G_TYPE_VARIANT); 992s # g_value_set_variant (¶mv[n], child); 992s # n++; 992s # } 992s # else 992s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 992s # g_variant_unref (child); 992s # } 992s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 992s # g_value_init (&return_value, G_TYPE_BOOLEAN); 992s # g_signal_emitv (paramv, signal_id, 0, &return_value); 992s # if (!g_value_get_boolean (&return_value)) 992s # 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); 992s # g_value_unset (&return_value); 992s # for (n = 0; n < num_params + num_extra; n++) 992s # g_value_unset (¶mv[n]); 992s # g_free (paramv); 992s # } 992s # 992s # static GVariant * 992s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 992s # GDBusConnection *connection G_GNUC_UNUSED, 992s # const gchar *sender G_GNUC_UNUSED, 992s # const gchar *object_path G_GNUC_UNUSED, 992s # const gchar *interface_name G_GNUC_UNUSED, 992s # const gchar *property_name, 992s # GError **error, 992s # gpointer user_data) 992s # { 992s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 992s # GValue value = G_VALUE_INIT; 992s # GParamSpec *pspec; 992s # _ExtendedGDBusPropertyInfo *info; 992s # GVariant *ret; 992s # ret = NULL; 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 992s # g_assert (info != NULL); 992s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 992s # if (pspec == NULL) 992s # { 992s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 992s # } 992s # else 992s # { 992s # g_value_init (&value, pspec->value_type); 992s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 992s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 992s # g_value_unset (&value); 992s # } 992s # return ret; 992s # } 992s # 992s # static gboolean 992s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 992s # GDBusConnection *connection G_GNUC_UNUSED, 992s # const gchar *sender G_GNUC_UNUSED, 992s # const gchar *object_path G_GNUC_UNUSED, 992s # const gchar *interface_name G_GNUC_UNUSED, 992s # const gchar *property_name, 992s # GVariant *variant, 992s # GError **error, 992s # gpointer user_data) 992s # { 992s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 992s # GValue value = G_VALUE_INIT; 992s # GParamSpec *pspec; 992s # _ExtendedGDBusPropertyInfo *info; 992s # gboolean ret; 992s # ret = FALSE; 992s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 992s # g_assert (info != NULL); 992s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 992s # if (pspec == NULL) 992s # { 992s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 992s # } 992s # else 992s # { 992s # if (info->use_gvariant) 992s # g_value_set_variant (&value, variant); 992s # else 992s # g_dbus_gvariant_to_gvalue (variant, &value); 992s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 992s # g_value_unset (&value); 992s # ret = TRUE; 992s # } 992s # return ret; 992s # } 992s # 992s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 992s # { 992s # _org_project_bar_frobnicator_skeleton_handle_method_call, 992s # _org_project_bar_frobnicator_skeleton_handle_get_property, 992s # _org_project_bar_frobnicator_skeleton_handle_set_property, 992s # {NULL} 992s # }; 992s # 992s # static GDBusInterfaceInfo * 992s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 992s # { 992s # return org_project_bar_frobnicator_interface_info (); 992s # } 992s # 992s # static GDBusInterfaceVTable * 992s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 992s # { 992s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 992s # } 992s # 992s # static GVariant * 992s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 992s # { 992s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 992s # 992s # GVariantBuilder builder; 992s # guint n; 992s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 992s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 992s # goto out; 992s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 992s # { 992s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 992s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 992s # { 992s # GVariant *value; 992s # 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); 992s # if (value != NULL) 992s # { 992s # g_variant_take_ref (value); 992s # g_variant_builder_add (&builder, "{sv}", info->name, value); 992s # g_variant_unref (value); 992s # } 992s # } 992s # } 992s # out: 992s # return g_variant_builder_end (&builder); 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 992s # { 992s # } 992s # 992s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 992s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 992s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 992s # 992s # #else 992s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 992s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 992s # 992s # #endif 992s # static void 992s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 992s # { 992s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 992s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 992s # if (skeleton->priv->changed_properties_idle_source != NULL) 992s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 992s # g_main_context_unref (skeleton->priv->context); 992s # g_mutex_clear (&skeleton->priv->lock); 992s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 992s # { 992s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 992s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 992s # #else 992s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 992s # #endif 992s # 992s # g_mutex_init (&skeleton->priv->lock); 992s # skeleton->priv->context = g_main_context_ref_thread_default (); 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 992s # { 992s # GObjectClass *gobject_class; 992s # GDBusInterfaceSkeletonClass *skeleton_class; 992s # 992s # gobject_class = G_OBJECT_CLASS (klass); 992s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 992s # 992s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 992s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 992s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 992s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 992s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 992s # 992s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 992s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 992s # #endif 992s # } 992s # 992s # static void 992s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 992s # { 992s # } 992s # 992s # /** 992s # * org_project_bar_frobnicator_skeleton_new: 992s # * 992s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 992s # * 992s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 992s # */ 992s # OrgProjectBarFrobnicator * 992s # org_project_bar_frobnicator_skeleton_new (void) 992s # { 992s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 992s # } 992s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 992s # tmpdir: /tmp/tmp8z311dio 992s # codegen: /usr/bin/gdbus-codegen 992s # /tmp/tmp8z311dio/tmpzzkaltwj.xml: 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8z311dio/tmpzzkaltwj.xml', '--output', '-', '--header'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Output: /* 992s # * This file is generated by gdbus-codegen, do not modify it. 992s # * 992s # * The license of this code is the same as for the D-Bus interface description 992s # * it was derived from. Note that it links to GLib, so must comply with the 992s # * LGPL linking clauses. 992s # */ 992s # 992s # #ifndef __STDOUT__ 992s # #define __STDOUT__ 992s # 992s # #include 992s # 992s # G_BEGIN_DECLS 992s # 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # /* Declarations for FDPassing */ 992s # 992s # #define TYPE_FDPASSING (fdpassing_get_type ()) 992s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 992s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 992s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 992s # 992s # struct _FDPassing; 992s # typedef struct _FDPassing FDPassing; 992s # typedef struct _FDPassingIface FDPassingIface; 992s # 992s # struct _FDPassingIface 992s # { 992s # GTypeInterface parent_iface; 992s # 992s # gboolean (*handle_hello_fd) ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GUnixFDList *fd_list, 992s # const gchar *arg_greeting); 992s # 992s # gboolean (*handle_no_annotation) ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GVariant *arg_greeting, 992s # const gchar *arg_greeting_locale); 992s # 992s # gboolean (*handle_no_annotation_nested) ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GVariant *arg_files); 992s # 992s # }; 992s # 992s # GType fdpassing_get_type (void) G_GNUC_CONST; 992s # 992s # GDBusInterfaceInfo *fdpassing_interface_info (void); 992s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 992s # 992s # 992s # /* D-Bus method call completion functions: */ 992s # void fdpassing_complete_hello_fd ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GUnixFDList *fd_list, 992s # const gchar *response); 992s # 992s # void fdpassing_complete_no_annotation ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GVariant *response, 992s # const gchar *response_locale); 992s # 992s # void fdpassing_complete_no_annotation_nested ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # 992s # 992s # /* D-Bus method calls: */ 992s # void fdpassing_call_hello_fd ( 992s # FDPassing *proxy, 992s # const gchar *arg_greeting, 992s # GUnixFDList *fd_list, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean fdpassing_call_hello_fd_finish ( 992s # FDPassing *proxy, 992s # gchar **out_response, 992s # GUnixFDList **out_fd_list, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean fdpassing_call_hello_fd_sync ( 992s # FDPassing *proxy, 992s # const gchar *arg_greeting, 992s # GUnixFDList *fd_list, 992s # gchar **out_response, 992s # GUnixFDList **out_fd_list, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void fdpassing_call_no_annotation ( 992s # FDPassing *proxy, 992s # GVariant *arg_greeting, 992s # const gchar *arg_greeting_locale, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean fdpassing_call_no_annotation_finish ( 992s # FDPassing *proxy, 992s # GVariant **out_response, 992s # gchar **out_response_locale, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean fdpassing_call_no_annotation_sync ( 992s # FDPassing *proxy, 992s # GVariant *arg_greeting, 992s # const gchar *arg_greeting_locale, 992s # GVariant **out_response, 992s # gchar **out_response_locale, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void fdpassing_call_no_annotation_nested ( 992s # FDPassing *proxy, 992s # GVariant *arg_files, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean fdpassing_call_no_annotation_nested_finish ( 992s # FDPassing *proxy, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean fdpassing_call_no_annotation_nested_sync ( 992s # FDPassing *proxy, 992s # GVariant *arg_files, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 992s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 992s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 992s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 992s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 992s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 992s # 992s # typedef struct _FDPassingProxy FDPassingProxy; 992s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 992s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 992s # 992s # struct _FDPassingProxy 992s # { 992s # /*< private >*/ 992s # GDBusProxy parent_instance; 992s # FDPassingProxyPrivate *priv; 992s # }; 992s # 992s # struct _FDPassingProxyClass 992s # { 992s # GDBusProxyClass parent_class; 992s # }; 992s # 992s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 992s # #endif 992s # 992s # void fdpassing_proxy_new ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # FDPassing *fdpassing_proxy_new_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # FDPassing *fdpassing_proxy_new_sync ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void fdpassing_proxy_new_for_bus ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 992s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 992s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 992s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 992s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 992s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 992s # 992s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 992s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 992s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 992s # 992s # struct _FDPassingSkeleton 992s # { 992s # /*< private >*/ 992s # GDBusInterfaceSkeleton parent_instance; 992s # FDPassingSkeletonPrivate *priv; 992s # }; 992s # 992s # struct _FDPassingSkeletonClass 992s # { 992s # GDBusInterfaceSkeletonClass parent_class; 992s # }; 992s # 992s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 992s # #endif 992s # 992s # FDPassing *fdpassing_skeleton_new (void); 992s # 992s # 992s # G_END_DECLS 992s # 992s # #endif /* __STDOUT__ */ 992s # /tmp/tmp8z311dio/tmpdavrr1mw.xml: 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8z311dio/tmpdavrr1mw.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Output: /* 992s # * This file is generated by gdbus-codegen, do not modify it. 992s # * 992s # * The license of this code is the same as for the D-Bus interface description 992s # * it was derived from. Note that it links to GLib, so must comply with the 992s # * LGPL linking clauses. 992s # */ 992s # 992s # #ifndef __STDOUT__ 992s # #define __STDOUT__ 992s # 992s # #include 992s # 992s # G_BEGIN_DECLS 992s # 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # /* Declarations for FDPassing */ 992s # 992s # #define TYPE_FDPASSING (fdpassing_get_type ()) 992s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 992s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 992s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 992s # 992s # struct _FDPassing; 992s # typedef struct _FDPassing FDPassing; 992s # typedef struct _FDPassingIface FDPassingIface; 992s # 992s # struct _FDPassingIface 992s # { 992s # GTypeInterface parent_iface; 992s # 992s # gboolean (*handle_hello_fd) ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GUnixFDList *fd_list, 992s # const gchar *arg_greeting); 992s # 992s # gboolean (*handle_no_annotation) ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GVariant *arg_greeting, 992s # const gchar *arg_greeting_locale); 992s # 992s # gboolean (*handle_no_annotation_nested) ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GVariant *arg_files); 992s # 992s # }; 992s # 992s # GType fdpassing_get_type (void) G_GNUC_CONST; 992s # 992s # GDBusInterfaceInfo *fdpassing_interface_info (void); 992s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 992s # 992s # 992s # /* D-Bus method call completion functions: */ 992s # void fdpassing_complete_hello_fd ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GUnixFDList *fd_list, 992s # const gchar *response); 992s # 992s # void fdpassing_complete_no_annotation ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GVariant *response, 992s # const gchar *response_locale); 992s # 992s # void fdpassing_complete_no_annotation_nested ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation); 992s # 992s # 992s # 992s # /* D-Bus method calls: */ 992s # void fdpassing_call_hello_fd ( 992s # FDPassing *proxy, 992s # const gchar *arg_greeting, 992s # GUnixFDList *fd_list, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean fdpassing_call_hello_fd_finish ( 992s # FDPassing *proxy, 992s # gchar **out_response, 992s # GUnixFDList **out_fd_list, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean fdpassing_call_hello_fd_sync ( 992s # FDPassing *proxy, 992s # const gchar *arg_greeting, 992s # GUnixFDList *fd_list, 992s # gchar **out_response, 992s # GUnixFDList **out_fd_list, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void fdpassing_call_no_annotation ( 992s # FDPassing *proxy, 992s # GVariant *arg_greeting, 992s # const gchar *arg_greeting_locale, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean fdpassing_call_no_annotation_finish ( 992s # FDPassing *proxy, 992s # GVariant **out_response, 992s # gchar **out_response_locale, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean fdpassing_call_no_annotation_sync ( 992s # FDPassing *proxy, 992s # GVariant *arg_greeting, 992s # const gchar *arg_greeting_locale, 992s # GVariant **out_response, 992s # gchar **out_response_locale, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void fdpassing_call_no_annotation_nested ( 992s # FDPassing *proxy, 992s # GVariant *arg_files, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean fdpassing_call_no_annotation_nested_finish ( 992s # FDPassing *proxy, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean fdpassing_call_no_annotation_nested_sync ( 992s # FDPassing *proxy, 992s # GVariant *arg_files, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 992s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 992s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 992s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 992s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 992s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 992s # 992s # typedef struct _FDPassingProxy FDPassingProxy; 992s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 992s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 992s # 992s # struct _FDPassingProxy 992s # { 992s # /*< private >*/ 992s # GDBusProxy parent_instance; 992s # FDPassingProxyPrivate *priv; 992s # }; 992s # 992s # struct _FDPassingProxyClass 992s # { 992s # GDBusProxyClass parent_class; 992s # }; 992s # 992s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 992s # #endif 992s # 992s # void fdpassing_proxy_new ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # FDPassing *fdpassing_proxy_new_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # FDPassing *fdpassing_proxy_new_sync ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void fdpassing_proxy_new_for_bus ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 992s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 992s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 992s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 992s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 992s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 992s # 992s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 992s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 992s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 992s # 992s # struct _FDPassingSkeleton 992s # { 992s # /*< private >*/ 992s # GDBusInterfaceSkeleton parent_instance; 992s # FDPassingSkeletonPrivate *priv; 992s # }; 992s # 992s # struct _FDPassingSkeletonClass 992s # { 992s # GDBusInterfaceSkeletonClass parent_class; 992s # }; 992s # 992s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 992s # #endif 992s # 992s # FDPassing *fdpassing_skeleton_new (void); 992s # 992s # 992s # G_END_DECLS 992s # 992s # #endif /* __STDOUT__ */ 992s # /tmp/tmp8z311dio/tmpaj9x6bdw.xml: 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # 992s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8z311dio/tmpaj9x6bdw.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 992s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 992s # Output: /* 992s # * This file is generated by gdbus-codegen, do not modify it. 992s # * 992s # * The license of this code is the same as for the D-Bus interface description 992s # * it was derived from. Note that it links to GLib, so must comply with the 992s # * LGPL linking clauses. 992s # */ 992s # 992s # #ifndef __STDOUT__ 992s # #define __STDOUT__ 992s # 992s # #include 992s # 992s # G_BEGIN_DECLS 992s # 992s # 992s # /* ------------------------------------------------------------------------ */ 992s # /* Declarations for FDPassing */ 992s # 992s # #define TYPE_FDPASSING (fdpassing_get_type ()) 992s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 992s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 992s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 992s # 992s # struct _FDPassing; 992s # typedef struct _FDPassing FDPassing; 992s # typedef struct _FDPassingIface FDPassingIface; 992s # 992s # struct _FDPassingIface 992s # { 992s # GTypeInterface parent_iface; 992s # 992s # gboolean (*handle_hello_fd) ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GUnixFDList *fd_list, 992s # const gchar *arg_greeting); 992s # 992s # gboolean (*handle_no_annotation) ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GUnixFDList *fd_list, 992s # GVariant *arg_greeting, 992s # const gchar *arg_greeting_locale); 992s # 992s # gboolean (*handle_no_annotation_nested) ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GUnixFDList *fd_list, 992s # GVariant *arg_files); 992s # 992s # }; 992s # 992s # GType fdpassing_get_type (void) G_GNUC_CONST; 992s # 992s # GDBusInterfaceInfo *fdpassing_interface_info (void); 992s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 992s # 992s # 992s # /* D-Bus method call completion functions: */ 992s # void fdpassing_complete_hello_fd ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GUnixFDList *fd_list, 992s # const gchar *response); 992s # 992s # void fdpassing_complete_no_annotation ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GUnixFDList *fd_list, 992s # GVariant *response, 992s # const gchar *response_locale); 992s # 992s # void fdpassing_complete_no_annotation_nested ( 992s # FDPassing *object, 992s # GDBusMethodInvocation *invocation, 992s # GUnixFDList *fd_list); 992s # 992s # 992s # 992s # /* D-Bus method calls: */ 992s # void fdpassing_call_hello_fd ( 992s # FDPassing *proxy, 992s # const gchar *arg_greeting, 992s # GDBusCallFlags call_flags, 992s # gint timeout_msec, 992s # GUnixFDList *fd_list, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean fdpassing_call_hello_fd_finish ( 992s # FDPassing *proxy, 992s # gchar **out_response, 992s # GUnixFDList **out_fd_list, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean fdpassing_call_hello_fd_sync ( 992s # FDPassing *proxy, 992s # const gchar *arg_greeting, 992s # GDBusCallFlags call_flags, 992s # gint timeout_msec, 992s # GUnixFDList *fd_list, 992s # gchar **out_response, 992s # GUnixFDList **out_fd_list, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void fdpassing_call_no_annotation ( 992s # FDPassing *proxy, 992s # GVariant *arg_greeting, 992s # const gchar *arg_greeting_locale, 992s # GDBusCallFlags call_flags, 992s # gint timeout_msec, 992s # GUnixFDList *fd_list, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean fdpassing_call_no_annotation_finish ( 992s # FDPassing *proxy, 992s # GVariant **out_response, 992s # gchar **out_response_locale, 992s # GUnixFDList **out_fd_list, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean fdpassing_call_no_annotation_sync ( 992s # FDPassing *proxy, 992s # GVariant *arg_greeting, 992s # const gchar *arg_greeting_locale, 992s # GDBusCallFlags call_flags, 992s # gint timeout_msec, 992s # GUnixFDList *fd_list, 992s # GVariant **out_response, 992s # gchar **out_response_locale, 992s # GUnixFDList **out_fd_list, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void fdpassing_call_no_annotation_nested ( 992s # FDPassing *proxy, 992s # GVariant *arg_files, 992s # GDBusCallFlags call_flags, 992s # gint timeout_msec, 992s # GUnixFDList *fd_list, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # 992s # gboolean fdpassing_call_no_annotation_nested_finish ( 992s # FDPassing *proxy, 992s # GUnixFDList **out_fd_list, 992s # GAsyncResult *res, 992s # GError **error); 992s # 992s # gboolean fdpassing_call_no_annotation_nested_sync ( 992s # FDPassing *proxy, 992s # GVariant *arg_files, 992s # GDBusCallFlags call_flags, 992s # gint timeout_msec, 992s # GUnixFDList *fd_list, 992s # GUnixFDList **out_fd_list, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 992s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 992s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 992s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 992s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 992s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 992s # 992s # typedef struct _FDPassingProxy FDPassingProxy; 992s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 992s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 992s # 992s # struct _FDPassingProxy 992s # { 992s # /*< private >*/ 992s # GDBusProxy parent_instance; 992s # FDPassingProxyPrivate *priv; 992s # }; 992s # 992s # struct _FDPassingProxyClass 992s # { 992s # GDBusProxyClass parent_class; 992s # }; 992s # 992s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 992s # #endif 992s # 992s # void fdpassing_proxy_new ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # FDPassing *fdpassing_proxy_new_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # FDPassing *fdpassing_proxy_new_sync ( 992s # GDBusConnection *connection, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # void fdpassing_proxy_new_for_bus ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GAsyncReadyCallback callback, 992s # gpointer user_data); 992s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 992s # GAsyncResult *res, 992s # GError **error); 992s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 992s # GBusType bus_type, 992s # GDBusProxyFlags flags, 992s # const gchar *name, 992s # const gchar *object_path, 992s # GCancellable *cancellable, 992s # GError **error); 992s # 992s # 992s # /* ---- */ 992s # 992s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 992s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 992s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 992s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 992s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 992s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 992s # 992s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 992s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 992s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 992s # 992s # struct _FDPassingSkeleton 992s # { 992s # /*< private >*/ 992s # GDBusInterfaceSkeleton parent_instance; 992s # FDPassingSkeletonPrivate *priv; 992s # }; 992s # 992s # struct _FDPassingSkeletonClass 992s # { 992s # GDBusInterfaceSkeletonClass parent_class; 992s # }; 992s # 992s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 992s # 992s # #if GLIB_CHECK_VERSION(2, 44, 0) 992s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 992s # #endif 992s # 992s # FDPassing *fdpassing_skeleton_new (void); 992s # 992s # 992s # G_END_DECLS 992s # 992s # #endif /* __STDOUT__ */ 992s 1..39 992s ok - glib/codegen.py.test 992s # Running test: glib/memory-monitor-dbus.test 992s TAP version 13 992s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 992s 1..1 992s ok - glib/memory-monitor-dbus.test 992s # Running test: glib/file.test 992s TAP version 14 992s # random seed: R02Se268364f23ef33f2ee7ba7c5355a9509 992s 1..55 992s # Start of file tests 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/basic/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/basic/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/basic/.dirs/system-config1:/tmp/test_file_7T5OX2/file/basic/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/basic/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/basic/.dirs/system-data1:/tmp/test_file_7T5OX2/file/basic/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/basic/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/basic/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/basic/.dirs/runtime 992s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 992s ok 1 /file/basic 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/build-filename/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/build-filename/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/build-filename/.dirs/system-config1:/tmp/test_file_7T5OX2/file/build-filename/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/build-filename/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/build-filename/.dirs/system-data1:/tmp/test_file_7T5OX2/file/build-filename/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/build-filename/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/build-filename/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/build-filename/.dirs/runtime 992s ok 2 /file/build-filename 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/build-filenamev/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/build-filenamev/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_7T5OX2/file/build-filenamev/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/build-filenamev/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_7T5OX2/file/build-filenamev/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/build-filenamev/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/build-filenamev/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/build-filenamev/.dirs/runtime 992s ok 3 /file/build-filenamev 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/parent/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/parent/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/parent/.dirs/system-config1:/tmp/test_file_7T5OX2/file/parent/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/parent/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/parent/.dirs/system-data1:/tmp/test_file_7T5OX2/file/parent/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/parent/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/parent/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/parent/.dirs/runtime 992s ok 4 /file/parent 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/child/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/child/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/child/.dirs/system-config1:/tmp/test_file_7T5OX2/file/child/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/child/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/child/.dirs/system-data1:/tmp/test_file_7T5OX2/file/child/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/child/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/child/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/child/.dirs/runtime 992s ok 5 /file/child 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/empty-path/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/empty-path/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/empty-path/.dirs/system-config1:/tmp/test_file_7T5OX2/file/empty-path/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/empty-path/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/empty-path/.dirs/system-data1:/tmp/test_file_7T5OX2/file/empty-path/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/empty-path/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/empty-path/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/empty-path/.dirs/runtime 992s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 992s # /file/empty-path summary: Check that creating a file with an empty path results in errors 992s ok 6 /file/empty-path 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/type/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/type/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/type/.dirs/system-config1:/tmp/test_file_7T5OX2/file/type/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/type/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/type/.dirs/system-data1:/tmp/test_file_7T5OX2/file/type/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/type/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/type/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/type/.dirs/runtime 992s ok 7 /file/type 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/parse-name/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/parse-name/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/parse-name/.dirs/system-config1:/tmp/test_file_7T5OX2/file/parse-name/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/parse-name/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/parse-name/.dirs/system-data1:/tmp/test_file_7T5OX2/file/parse-name/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/parse-name/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/parse-name/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/parse-name/.dirs/runtime 992s ok 8 /file/parse-name 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/replace-load/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/replace-load/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/replace-load/.dirs/system-config1:/tmp/test_file_7T5OX2/file/replace-load/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/replace-load/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/replace-load/.dirs/system-data1:/tmp/test_file_7T5OX2/file/replace-load/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/replace-load/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/replace-load/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/replace-load/.dirs/runtime 992s ok 9 /file/replace-load 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/replace-cancel/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/replace-cancel/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_7T5OX2/file/replace-cancel/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/replace-cancel/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_7T5OX2/file/replace-cancel/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/replace-cancel/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/replace-cancel/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/replace-cancel/.dirs/runtime 992s # Bug Reference: https://bugzilla.gnome.org/629301 992s ok 10 /file/replace-cancel 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/replace-symlink/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/replace-symlink/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_7T5OX2/file/replace-symlink/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/replace-symlink/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_7T5OX2/file/replace-symlink/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/replace-symlink/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/replace-symlink/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/replace-symlink/.dirs/runtime 992s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 992s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 992s # Using temporary directory /tmp/test_file_7T5OX2/g_file_replace_symlink_WY3NX2 992s ok 11 /file/replace-symlink 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/async-new-tmp/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/async-new-tmp/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_7T5OX2/file/async-new-tmp/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/async-new-tmp/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_7T5OX2/file/async-new-tmp/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/async-new-tmp/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/async-new-tmp/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/async-new-tmp/.dirs/runtime 992s ok 12 /file/async-new-tmp 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/async-new-tmp-dir/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/async-new-tmp-dir/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_7T5OX2/file/async-new-tmp-dir/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/async-new-tmp-dir/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_7T5OX2/file/async-new-tmp-dir/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/async-new-tmp-dir/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/async-new-tmp-dir/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/async-new-tmp-dir/.dirs/runtime 992s ok 13 /file/async-new-tmp-dir 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/async-delete/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/async-delete/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/async-delete/.dirs/system-config1:/tmp/test_file_7T5OX2/file/async-delete/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/async-delete/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/async-delete/.dirs/system-data1:/tmp/test_file_7T5OX2/file/async-delete/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/async-delete/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/async-delete/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/async-delete/.dirs/runtime 992s ok 14 /file/async-delete 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/async-make-symlink/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/async-make-symlink/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_7T5OX2/file/async-make-symlink/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/async-make-symlink/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_7T5OX2/file/async-make-symlink/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/async-make-symlink/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/async-make-symlink/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/async-make-symlink/.dirs/runtime 992s ok 15 /file/async-make-symlink 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/copy-preserve-mode/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/copy-preserve-mode/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_7T5OX2/file/copy-preserve-mode/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/copy-preserve-mode/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_7T5OX2/file/copy-preserve-mode/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/copy-preserve-mode/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/copy-preserve-mode/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/copy-preserve-mode/.dirs/runtime 992s # Current umask: 2 992s # Vector 0 992s # Vector 1 992s # Vector 2 992s # Vector 3 992s # Vector 4 992s # Vector 5 992s # Vector 6 992s # Vector 7 992s # Vector 8 992s # Vector 9 992s # Vector 10 992s ok 16 /file/copy-preserve-mode 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/copy-async-with-closures/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/copy-async-with-closures/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_7T5OX2/file/copy-async-with-closures/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/copy-async-with-closures/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_7T5OX2/file/copy-async-with-closures/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/copy-async-with-closures/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/copy-async-with-closures/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/copy-async-with-closures/.dirs/runtime 992s ok 17 /file/copy-async-with-closures 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/measure/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/measure/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/measure/.dirs/system-config1:/tmp/test_file_7T5OX2/file/measure/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/measure/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/measure/.dirs/system-data1:/tmp/test_file_7T5OX2/file/measure/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/measure/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/measure/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/measure/.dirs/runtime 992s ok 18 /file/measure 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/measure-async/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/measure-async/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/measure-async/.dirs/system-config1:/tmp/test_file_7T5OX2/file/measure-async/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/measure-async/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/measure-async/.dirs/system-data1:/tmp/test_file_7T5OX2/file/measure-async/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/measure-async/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/measure-async/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/measure-async/.dirs/runtime 992s ok 19 /file/measure-async 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/load-bytes/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/load-bytes/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/load-bytes/.dirs/system-config1:/tmp/test_file_7T5OX2/file/load-bytes/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/load-bytes/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/load-bytes/.dirs/system-data1:/tmp/test_file_7T5OX2/file/load-bytes/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/load-bytes/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/load-bytes/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/load-bytes/.dirs/runtime 992s ok 20 /file/load-bytes 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/load-bytes-async/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/load-bytes-async/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_7T5OX2/file/load-bytes-async/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/load-bytes-async/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_7T5OX2/file/load-bytes-async/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/load-bytes-async/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/load-bytes-async/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/load-bytes-async/.dirs/runtime 992s ok 21 /file/load-bytes-async 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/load-bytes-4gb/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/load-bytes-4gb/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_7T5OX2/file/load-bytes-4gb/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/load-bytes-4gb/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_7T5OX2/file/load-bytes-4gb/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/load-bytes-4gb/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/load-bytes-4gb/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/load-bytes-4gb/.dirs/runtime 992s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/load-contents-4gb/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/load-contents-4gb/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_7T5OX2/file/load-contents-4gb/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/load-contents-4gb/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_7T5OX2/file/load-contents-4gb/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/load-contents-4gb/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/load-contents-4gb/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/load-contents-4gb/.dirs/runtime 992s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/load-contents-4gb-async/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/load-contents-4gb-async/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_7T5OX2/file/load-contents-4gb-async/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/load-contents-4gb-async/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_7T5OX2/file/load-contents-4gb-async/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/load-contents-4gb-async/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/load-contents-4gb-async/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/load-contents-4gb-async/.dirs/runtime 992s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/writev/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/writev/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/writev/.dirs/system-config1:/tmp/test_file_7T5OX2/file/writev/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/writev/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/writev/.dirs/system-data1:/tmp/test_file_7T5OX2/file/writev/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/writev/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/writev/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/writev/.dirs/runtime 992s ok 25 /file/writev 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/build-attribute-list-for-copy/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/build-attribute-list-for-copy/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_7T5OX2/file/build-attribute-list-for-copy/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/build-attribute-list-for-copy/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_7T5OX2/file/build-attribute-list-for-copy/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/build-attribute-list-for-copy/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/build-attribute-list-for-copy/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/build-attribute-list-for-copy/.dirs/runtime 992s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 992s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 992s # 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::* 992s # 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::* 992s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 992s # Attributes for copy: standard::size,xattr::* 992s # Attributes for copy: standard::size,unix::mode,xattr::* 992s ok 26 /file/build-attribute-list-for-copy 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/move_async/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/move_async/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/move_async/.dirs/system-config1:/tmp/test_file_7T5OX2/file/move_async/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/move_async/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/move_async/.dirs/system-data1:/tmp/test_file_7T5OX2/file/move_async/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/move_async/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/move_async/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/move_async/.dirs/runtime 992s ok 27 /file/move_async 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/move-async-with-closures/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/move-async-with-closures/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_7T5OX2/file/move-async-with-closures/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/move-async-with-closures/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_7T5OX2/file/move-async-with-closures/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/move-async-with-closures/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/move-async-with-closures/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/move-async-with-closures/.dirs/runtime 992s ok 28 /file/move-async-with-closures 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/query-zero-length-content-type/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/query-zero-length-content-type/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_7T5OX2/file/query-zero-length-content-type/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/query-zero-length-content-type/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_7T5OX2/file/query-zero-length-content-type/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/query-zero-length-content-type/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/query-zero-length-content-type/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/query-zero-length-content-type/.dirs/runtime 992s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 992s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 992s ok 29 /file/query-zero-length-content-type 992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/home 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/cache 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/system-config2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/config 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/system-data2 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/data 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/state 992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/runtime 992s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/data/applications 992s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/config 992s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/config 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/config 993s ok 30 /file/query-default-handler-file 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/runtime 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/data/applications 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/config 993s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_7T5OX2/file/query-default-handler-file/.dirs/config to /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/config 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/config 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/config 993s ok 31 /file/query-default-handler-file-async 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/runtime 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/data/applications 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/config 993s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_7T5OX2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/config 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/config 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/config 993s ok 32 /file/query-default-handler-uri 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/runtime 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/data/applications 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/config 993s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_7T5OX2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/config 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/config 993s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7T5OX2/file/query-default-handler-uri-async/.dirs/config 993s ok 33 /file/query-default-handler-uri-async 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/enumerator-cancellation/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/enumerator-cancellation/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_7T5OX2/file/enumerator-cancellation/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/enumerator-cancellation/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_7T5OX2/file/enumerator-cancellation/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/enumerator-cancellation/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/enumerator-cancellation/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/enumerator-cancellation/.dirs/runtime 993s ok 34 /file/enumerator-cancellation 993s # Start of async-create-delete tests 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/async-create-delete/0/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/0/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_7T5OX2/file/async-create-delete/0/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/0/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_7T5OX2/file/async-create-delete/0/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/0/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/0/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/async-create-delete/0/.dirs/runtime 993s ok 35 /file/async-create-delete/0 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/async-create-delete/1/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/1/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_7T5OX2/file/async-create-delete/1/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/1/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_7T5OX2/file/async-create-delete/1/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/1/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/1/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/async-create-delete/1/.dirs/runtime 993s ok 36 /file/async-create-delete/1 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/async-create-delete/10/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/10/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_7T5OX2/file/async-create-delete/10/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/10/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_7T5OX2/file/async-create-delete/10/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/10/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/10/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/async-create-delete/10/.dirs/runtime 993s ok 37 /file/async-create-delete/10 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/async-create-delete/25/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/25/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_7T5OX2/file/async-create-delete/25/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/25/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_7T5OX2/file/async-create-delete/25/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/25/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/25/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/async-create-delete/25/.dirs/runtime 993s ok 38 /file/async-create-delete/25 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/async-create-delete/4096/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/4096/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_7T5OX2/file/async-create-delete/4096/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/4096/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_7T5OX2/file/async-create-delete/4096/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/4096/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/async-create-delete/4096/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/async-create-delete/4096/.dirs/runtime 993s ok 39 /file/async-create-delete/4096 993s # End of async-create-delete tests 993s # Start of replace-symlink tests 993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/replace-symlink/using-etag/.dirs/home 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/replace-symlink/using-etag/.dirs/cache 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_7T5OX2/file/replace-symlink/using-etag/.dirs/system-config2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/replace-symlink/using-etag/.dirs/config 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_7T5OX2/file/replace-symlink/using-etag/.dirs/system-data2 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/replace-symlink/using-etag/.dirs/data 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/replace-symlink/using-etag/.dirs/state 993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/replace-symlink/using-etag/.dirs/runtime 993s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 993s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 993s # Using temporary directory /tmp/test_file_7T5OX2/g_file_replace_symlink_using_etag_C470X2 995s ok 40 /file/replace-symlink/using-etag 995s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 995s # End of replace-symlink tests 995s # Start of replace tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/replace/write-only/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/replace/write-only/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_7T5OX2/file/replace/write-only/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/replace/write-only/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_7T5OX2/file/replace/write-only/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/replace/write-only/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/replace/write-only/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/replace/write-only/.dirs/runtime 995s # /file/replace/write-only summary: Test various situations for g_file_replace() 995s # Current umask: 2 995s # Test 0, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_9CQ1X2 995s # Test 1, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_2OR1X2 995s # Test 2, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_H6N1X2 995s # Test 3, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_VRI1X2 995s # Test 4, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_FMI1X2 995s # Test 5, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_PDI1X2 995s # Test 6, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_EYQ0X2 995s # Test 7, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_A9N0X2 995s # Test 8, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_JPN0X2 995s # Test 9, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_LTN0X2 995s # Test 10, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_CYL0X2 995s # Test 11, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_HRI0X2 995s # Test 12, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_W0G0X2 995s # Test 13, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_H6G0X2 995s # Test 14, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_9Z20X2 995s # Test 15, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_W9Z0X2 995s # Test 16, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_TZW0X2 995s # Test 17, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_RWR0X2 995s # Test 18, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_JJZZX2 995s # Test 19, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_YCWZX2 995s # Test 20, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_3BTZX2 995s # Test 21, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_QOSZX2 995s # Test 22, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_KMD0X2 995s # Test 23, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_0DD0X2 995s # Test 24, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_TDB0X2 995s # Test 25, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_3X7ZX2 995s # Test 26, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_OV7ZX2 995s # Test 27, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_615ZX2 995s # Test 28, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_2L4ZX2 995s # Test 29, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_Y7BZX2 995s # Test 30, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_4HAZX2 995s # Test 31, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_M89YX2 995s # Test 32, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_HM7YX2 995s # Test 33, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_GB6YX2 995s # Test 34, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_345YX2 995s # Test 35, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_2W5YX2 995s # Test 36, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_TX2YX2 995s # Test 37, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_W1MZX2 995s # Test 38, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_IZJZX2 995s # Test 39, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_78FZX2 995s # Test 40, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_MZDZX2 995s # Test 41, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_4LLYX2 995s # Test 42, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_VDIYX2 995s # Test 43, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_2JFYX2 995s # Test 44, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_EYDYX2 995s # Test 45, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_TQDYX2 995s # Test 46, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_TQZYX2 995s # Test 47, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_PVZYX2 995s # Test 48, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_4QWYX2 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s ok 41 /file/replace/write-only 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/replace/read-write/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/replace/read-write/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_7T5OX2/file/replace/read-write/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/replace/read-write/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_7T5OX2/file/replace/read-write/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/replace/read-write/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/replace/read-write/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/replace/read-write/.dirs/runtime 995s # /file/replace/read-write summary: Test various situations for g_file_replace() 995s # Current umask: 2 995s # Test 0, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_DSUYX2 995s # Test 1, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_PJUYX2 995s # Test 2, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_YLRYX2 995s # Test 3, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_Q6NYX2 995s # Test 4, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_VYNYX2 995s # Test 5, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_BQNYX2 995s # Test 6, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_6RWXX2 995s # Test 7, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_FDTXX2 995s # Test 8, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_A8SXX2 995s # Test 9, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_4YSXX2 995s # Test 10, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_CJNXX2 995s # Test 11, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_5N9XX2 995s # Test 12, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_Y1AYX2 995s # Test 13, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_RTAYX2 995s # Test 14, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_OM6XX2 995s # Test 15, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_HZ4XX2 995s # Test 16, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_FV1XX2 995s # Test 17, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_4ZZXX2 995s # Test 18, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_OJ7WX2 995s # Test 19, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_313WX2 995s # Test 20, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_G50WX2 995s # Test 21, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_3IWWX2 995s # Test 22, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_ALJXX2 995s # Test 23, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_GRHXX2 995s # Test 24, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_93FXX2 995s # Test 25, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_0SEXX2 995s # Test 26, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_G2CXX2 995s # Test 27, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_9SCXX2 995s # Test 28, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_8H9WX2 995s # Test 29, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_T4HWX2 995s # Test 30, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_ZZHWX2 995s # Test 31, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_CQHWX2 995s # Test 32, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_QYEWX2 995s # Test 33, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_XMBWX2 995s # Test 34, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_BHBWX2 995s # Test 35, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_O8AWX2 995s # Test 36, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_BD8VX2 995s # Test 37, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_9EUWX2 995s # Test 38, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_V9SWX2 995s # Test 39, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_F1OWX2 995s # Test 40, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_F1MWX2 995s # Test 41, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_C7TVX2 995s # Test 42, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_NZOVX2 995s # Test 43, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_STLVX2 995s # Test 44, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_6GIVX2 995s # Test 45, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_R8HVX2 995s # Test 46, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_5O4VX2 995s # Test 47, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_DH4VX2 995s # Test 48, using temporary directory /tmp/test_file_7T5OX2/g_file_replace_Z60VX2 995s # We do not have CAP_DAC_OVERRIDE or equivalent 995s ok 42 /file/replace/read-write 995s # End of replace tests 995s # Start of copy tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/copy/progress/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/copy/progress/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/copy/progress/.dirs/system-config1:/tmp/test_file_7T5OX2/file/copy/progress/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/copy/progress/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/copy/progress/.dirs/system-data1:/tmp/test_file_7T5OX2/file/copy/progress/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/copy/progress/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/copy/progress/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/copy/progress/.dirs/runtime 995s ok 43 /file/copy/progress 995s # End of copy tests 995s # Start of writev tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/writev/no-bytes-written/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/writev/no-bytes-written/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_7T5OX2/file/writev/no-bytes-written/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/writev/no-bytes-written/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_7T5OX2/file/writev/no-bytes-written/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/writev/no-bytes-written/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/writev/no-bytes-written/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/writev/no-bytes-written/.dirs/runtime 995s ok 44 /file/writev/no-bytes-written 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/writev/no-vectors/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/writev/no-vectors/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_7T5OX2/file/writev/no-vectors/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/writev/no-vectors/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_7T5OX2/file/writev/no-vectors/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/writev/no-vectors/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/writev/no-vectors/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/writev/no-vectors/.dirs/runtime 995s ok 45 /file/writev/no-vectors 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/writev/empty-vectors/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/writev/empty-vectors/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_7T5OX2/file/writev/empty-vectors/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/writev/empty-vectors/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_7T5OX2/file/writev/empty-vectors/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/writev/empty-vectors/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/writev/empty-vectors/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/writev/empty-vectors/.dirs/runtime 995s ok 46 /file/writev/empty-vectors 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/writev/too-big-vectors/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/writev/too-big-vectors/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_7T5OX2/file/writev/too-big-vectors/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/writev/too-big-vectors/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_7T5OX2/file/writev/too-big-vectors/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/writev/too-big-vectors/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/writev/too-big-vectors/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/writev/too-big-vectors/.dirs/runtime 995s ok 47 /file/writev/too-big-vectors 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/writev/async/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/writev/async/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/writev/async/.dirs/system-config1:/tmp/test_file_7T5OX2/file/writev/async/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/writev/async/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/writev/async/.dirs/system-data1:/tmp/test_file_7T5OX2/file/writev/async/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/writev/async/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/writev/async/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/writev/async/.dirs/runtime 995s ok 48 /file/writev/async 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/writev/async_all/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/writev/async_all/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_7T5OX2/file/writev/async_all/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/writev/async_all/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_7T5OX2/file/writev/async_all/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/writev/async_all/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/writev/async_all/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/writev/async_all/.dirs/runtime 995s ok 49 /file/writev/async_all 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/writev/async_all-empty-vectors/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-empty-vectors/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_7T5OX2/file/writev/async_all-empty-vectors/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-empty-vectors/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_7T5OX2/file/writev/async_all-empty-vectors/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-empty-vectors/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-empty-vectors/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/writev/async_all-empty-vectors/.dirs/runtime 995s ok 50 /file/writev/async_all-empty-vectors 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/writev/async_all-no-vectors/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-no-vectors/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_7T5OX2/file/writev/async_all-no-vectors/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-no-vectors/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_7T5OX2/file/writev/async_all-no-vectors/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-no-vectors/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-no-vectors/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/writev/async_all-no-vectors/.dirs/runtime 995s ok 51 /file/writev/async_all-no-vectors 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/writev/async_all-to-big-vectors/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-to-big-vectors/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_7T5OX2/file/writev/async_all-to-big-vectors/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-to-big-vectors/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_7T5OX2/file/writev/async_all-to-big-vectors/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-to-big-vectors/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-to-big-vectors/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/writev/async_all-to-big-vectors/.dirs/runtime 995s ok 52 /file/writev/async_all-to-big-vectors 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/writev/async_all-cancellation/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-cancellation/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_7T5OX2/file/writev/async_all-cancellation/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-cancellation/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_7T5OX2/file/writev/async_all-cancellation/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-cancellation/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/writev/async_all-cancellation/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/writev/async_all-cancellation/.dirs/runtime 995s ok 53 /file/writev/async_all-cancellation 995s # End of writev tests 995s # Start of from-uri tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/from-uri/ignores-query-string/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/from-uri/ignores-query-string/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_7T5OX2/file/from-uri/ignores-query-string/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/from-uri/ignores-query-string/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_7T5OX2/file/from-uri/ignores-query-string/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/from-uri/ignores-query-string/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/from-uri/ignores-query-string/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/from-uri/ignores-query-string/.dirs/runtime 995s ok 54 /file/from-uri/ignores-query-string 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7T5OX2/file/from-uri/ignores-fragment/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7T5OX2/file/from-uri/ignores-fragment/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7T5OX2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_7T5OX2/file/from-uri/ignores-fragment/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7T5OX2/file/from-uri/ignores-fragment/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7T5OX2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_7T5OX2/file/from-uri/ignores-fragment/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7T5OX2/file/from-uri/ignores-fragment/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7T5OX2/file/from-uri/ignores-fragment/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7T5OX2/file/from-uri/ignores-fragment/.dirs/runtime 995s ok 55 /file/from-uri/ignores-fragment 995s # End of from-uri tests 995s # End of file tests 995s ok - glib/file.test 995s # Running test: glib/642026-ec.test 995s TAP version 14 995s # random seed: R02S7fcdadc8a1ba85d5d9617d78aac75b8a 995s 1..1 995s # Start of glib tests 995s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 995s ok 1 /glib/642026 995s # End of glib tests 995s ok - glib/642026-ec.test 995s # Running test: glib/accumulator.test 995s TAP version 14 995s # random seed: R02S7508e703517ec7df5773e605477f9a51 995s 1..1 995s # Start of gobject tests 995s ok 1 /gobject/accumulator 995s # End of gobject tests 995s ok - glib/accumulator.test 995s # Running test: glib/gutils-user-database.test 995s TAP version 14 995s # random seed: R02S503f745163d540d90fbdd650585d46aa 995s 1..1 995s # Start of gutils tests 995s ok 1 /gutils/get_user_database_entry 995s # End of gutils tests 995s ok - glib/gutils-user-database.test 995s # Running test: glib/gobject-query.py.test 995s TAP version 13 995s ok 1 __main__.TestGobjectQuery.test_froots 995s # gobject-query: /usr/bin/gobject-query 995s # Running: ['/usr/bin/gobject-query', 'froots'] 995s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 995s # Output: ├void 995s # ├GInterface 995s # │ â””GTypePlugin 995s # ├gchar 995s # ├guchar 995s # ├gboolean 995s # ├gint 995s # ├guint 995s # ├glong 995s # ├gulong 995s # ├gint64 995s # ├guint64 995s # ├GEnum 995s # ├GFlags 995s # ├gfloat 995s # ├gdouble 995s # ├gchararray 995s # ├gpointer 995s # │ â””GType 995s # ├GBoxed 995s # │ â””GValueArray 995s # ├GParam 995s # │ ├GParamChar 995s # │ ├GParamUChar 995s # │ ├GParamBoolean 995s # │ ├GParamInt 995s # │ ├GParamUInt 995s # │ ├GParamLong 995s # │ ├GParamULong 995s # │ ├GParamInt64 995s # │ ├GParamUInt64 995s # │ ├GParamUnichar 995s # │ ├GParamEnum 995s # │ ├GParamFlags 995s # │ ├GParamFloat 995s # │ ├GParamDouble 995s # │ ├GParamString 995s # │ ├GParamParam 995s # │ ├GParamBoxed 995s # │ ├GParamPointer 995s # │ ├GParamValueArray 995s # │ ├GParamObject 995s # │ ├GParamOverride 995s # │ ├GParamGType 995s # │ â””GParamVariant 995s # ├GObject 995s # â””GVariant 995s ok 2 __main__.TestGobjectQuery.test_help 995s # gobject-query: /usr/bin/gobject-query 995s # Running: ['/usr/bin/gobject-query', '--help'] 995s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 995s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 995s # -r specify root type 995s # -n don't descend type tree 995s # -h show help 995s # -b specify indent string 995s # -i specify incremental indent string 995s # -s specify line spacing 995s # qualifiers: 995s # froots iterate over fundamental roots 995s # tree print type tree 995s ok 3 __main__.TestGobjectQuery.test_tree 995s # gobject-query: /usr/bin/gobject-query 995s # Running: ['/usr/bin/gobject-query', 'tree'] 995s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 995s # Output: GObject 995s ok 4 __main__.TestGobjectQuery.test_version 995s # gobject-query: /usr/bin/gobject-query 995s # Running: ['/usr/bin/gobject-query', '--version'] 995s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 995s # Output: 2.82.2 995s 1..4 995s ok - glib/gobject-query.py.test 995s # Running test: glib/pattern.test 995s TAP version 14 995s # random seed: R02S7714799c329d0a66cd25af4e894aff02 995s 1..90 995s # Start of pattern tests 995s # Start of compile tests 995s ok 1 /pattern/compile/0 995s ok 2 /pattern/compile/1 995s ok 3 /pattern/compile/2 995s ok 4 /pattern/compile/3 995s ok 5 /pattern/compile/4 995s ok 6 /pattern/compile/5 995s ok 7 /pattern/compile/6 995s ok 8 /pattern/compile/7 995s ok 9 /pattern/compile/8 995s ok 10 /pattern/compile/9 995s ok 11 /pattern/compile/10 995s ok 12 /pattern/compile/11 995s ok 13 /pattern/compile/12 995s ok 14 /pattern/compile/13 995s # End of compile tests 995s # Start of copy tests 995s ok 15 /pattern/copy/0 995s ok 16 /pattern/copy/1 995s ok 17 /pattern/copy/2 995s ok 18 /pattern/copy/3 995s ok 19 /pattern/copy/4 995s ok 20 /pattern/copy/5 995s ok 21 /pattern/copy/6 995s ok 22 /pattern/copy/7 995s ok 23 /pattern/copy/8 995s ok 24 /pattern/copy/9 995s ok 25 /pattern/copy/10 995s ok 26 /pattern/copy/11 995s ok 27 /pattern/copy/12 995s ok 28 /pattern/copy/13 995s # End of copy tests 995s # Start of match tests 995s ok 29 /pattern/match/0 995s ok 30 /pattern/match/1 995s ok 31 /pattern/match/2 995s ok 32 /pattern/match/3 995s ok 33 /pattern/match/4 995s ok 34 /pattern/match/5 995s ok 35 /pattern/match/6 995s ok 36 /pattern/match/7 995s ok 37 /pattern/match/8 995s ok 38 /pattern/match/9 995s ok 39 /pattern/match/10 995s ok 40 /pattern/match/11 995s ok 41 /pattern/match/12 995s ok 42 /pattern/match/13 995s ok 43 /pattern/match/14 995s ok 44 /pattern/match/15 995s ok 45 /pattern/match/16 995s ok 46 /pattern/match/17 995s ok 47 /pattern/match/18 995s ok 48 /pattern/match/19 995s ok 49 /pattern/match/20 995s ok 50 /pattern/match/21 995s ok 51 /pattern/match/22 995s ok 52 /pattern/match/23 995s ok 53 /pattern/match/24 995s ok 54 /pattern/match/25 995s ok 55 /pattern/match/26 995s ok 56 /pattern/match/27 995s ok 57 /pattern/match/28 995s ok 58 /pattern/match/29 995s ok 59 /pattern/match/30 995s ok 60 /pattern/match/31 995s ok 61 /pattern/match/32 995s ok 62 /pattern/match/33 995s ok 63 /pattern/match/34 995s ok 64 /pattern/match/35 995s ok 65 /pattern/match/36 995s ok 66 /pattern/match/37 995s ok 67 /pattern/match/38 995s ok 68 /pattern/match/39 995s ok 69 /pattern/match/40 995s ok 70 /pattern/match/41 995s ok 71 /pattern/match/42 995s ok 72 /pattern/match/43 995s ok 73 /pattern/match/44 995s ok 74 /pattern/match/45 995s ok 75 /pattern/match/46 995s ok 76 /pattern/match/47 995s ok 77 /pattern/match/48 995s ok 78 /pattern/match/49 995s ok 79 /pattern/match/50 995s # End of match tests 995s # Start of equal tests 995s ok 80 /pattern/equal/0 995s ok 81 /pattern/equal/1 995s ok 82 /pattern/equal/2 995s ok 83 /pattern/equal/3 995s ok 84 /pattern/equal/4 995s ok 85 /pattern/equal/5 995s ok 86 /pattern/equal/6 995s ok 87 /pattern/equal/7 995s ok 88 /pattern/equal/8 995s ok 89 /pattern/equal/9 995s ok 90 /pattern/equal/10 995s # End of equal tests 995s # End of pattern tests 995s ok - glib/pattern.test 995s # Running test: glib/ifaceproperties.test 995s TAP version 14 995s # random seed: R02S76fafd5701bb5f3b8dc17b892724d909 995s 1..7 995s # Start of interface tests 995s # Start of properties tests 995s ok 1 /interface/properties/set 995s ok 2 /interface/properties/notify 995s ok 3 /interface/properties/find-overridden 995s ok 4 /interface/properties/list-overridden 995s ok 5 /interface/properties/find-interface 995s ok 6 /interface/properties/list-interface 995s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 995s ok 7 /interface/properties/not-overridden 995s # End of properties tests 995s # End of interface tests 995s ok - glib/ifaceproperties.test 995s # Running test: glib/642026.test 995s TAP version 14 995s # random seed: R02Sf1fbb6d8412f08c81d0ed36bab4df227 995s 1..1 995s # Start of glib tests 995s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 995s ok 1 /glib/642026 995s # End of glib tests 995s ok - glib/642026.test 995s # Running test: glib/dir.test 995s TAP version 14 995s # random seed: R02S09cf898f7a91232496a207b6447c1823 995s 1..3 995s # Start of dir tests 995s ok 1 /dir/read 995s ok 2 /dir/nonexisting 995s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 995s ok 3 /dir/refcounting 995s # End of dir tests 995s ok - glib/dir.test 995s # Running test: glib/notify-init2.test 995s TAP version 14 995s # random seed: R02S77d5251acecd07ea055cf4a4571c3a22 995s 1..1 995s # Start of properties tests 995s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 995s ok 1 /properties/notify-in-init2 995s # End of properties tests 995s ok - glib/notify-init2.test 995s # Running test: glib/messages-low-memory.py.test 995s TAP version 13 995s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 995s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 995s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 995s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 995s # Return code: -6 995s # Output: 995s # Error: GLib-Message: 02:14:44.901: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 995s # GLib-Message: 02:14:44.901: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 995s # ../../../glib/gprintf.c:350: failed to allocate memory 995s 1..1 995s ok - glib/messages-low-memory.py.test 995s # Running test: glib/deprecated-properties.test 995s TAP version 14 995s # random seed: R02S5ee51384962436e2038ae3e43a95e3d1 995s 1..3 995s # Start of deprecated-properties tests 995s ok 1 /deprecated-properties/construct 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 995s ok 2 /deprecated-properties/default-construct 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 995s ok 3 /deprecated-properties/set 995s # End of deprecated-properties tests 995s ok - glib/deprecated-properties.test 995s # Running test: glib/properties.test 995s TAP version 14 995s # random seed: R02S9d8dbd73f3472a9f01ae40bcb6783383 995s 1..13 995s # Start of properties tests 995s ok 1 /properties/install 995s ok 2 /properties/install-many 995s ok 3 /properties/notify 995s ok 4 /properties/notify-queue 995s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 995s ok 5 /properties/construct 995s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 995s # Test g_object_get_property with an initialized value 995s # Test g_object_get_property with an uninitialized value 995s # Test g_object_get_property with a transformable value 995s ok 6 /properties/get-property 995s ok 7 /properties/testv_with_no_properties 995s ok 8 /properties/testv_with_valid_properties 995s ok 9 /properties/testv_with_invalid_property_type 995s ok 10 /properties/testv_with_invalid_property_names 995s ok 11 /properties/testv_getv 995s ok 12 /properties/testv_notify_queue 995s # Start of set-property tests 995s # Start of variant tests 995s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 995s ok 13 /properties/set-property/variant/floating 995s # End of variant tests 995s # End of set-property tests 995s # End of properties tests 995s ok - glib/properties.test 995s # Running test: glib/markup-parse.test 995s TAP version 14 995s # random seed: R02Sd56f801aaa80ee5690d05ecf6b923822 995s 1..71 995s # Start of markup tests 995s # Start of parse tests 995s ok 1 /markup/parse/valid-7.gmarkup 995s ok 2 /markup/parse/valid-12.gmarkup 995s ok 3 /markup/parse/fail-24.gmarkup 995s ok 4 /markup/parse/fail-3.gmarkup 995s ok 5 /markup/parse/fail-51.gmarkup 995s ok 6 /markup/parse/fail-16.gmarkup 995s ok 7 /markup/parse/valid-17.gmarkup 995s ok 8 /markup/parse/fail-38.gmarkup 995s ok 9 /markup/parse/fail-6.gmarkup 995s ok 10 /markup/parse/fail-44.gmarkup 995s ok 11 /markup/parse/fail-37.gmarkup 995s ok 12 /markup/parse/fail-5.gmarkup 995s ok 13 /markup/parse/fail-21.gmarkup 995s ok 14 /markup/parse/fail-28.gmarkup 995s ok 15 /markup/parse/fail-43.gmarkup 995s ok 16 /markup/parse/fail-20.gmarkup 995s ok 17 /markup/parse/fail-2.gmarkup 995s ok 18 /markup/parse/fail-50.gmarkup 995s ok 19 /markup/parse/fail-11.gmarkup 995s ok 20 /markup/parse/fail-12.gmarkup 995s ok 21 /markup/parse/fail-14.gmarkup 995s ok 22 /markup/parse/fail-26.gmarkup 995s ok 23 /markup/parse/valid-15.gmarkup 995s ok 24 /markup/parse/fail-42.gmarkup 995s ok 25 /markup/parse/fail-32.gmarkup 995s ok 26 /markup/parse/fail-13.gmarkup 995s ok 27 /markup/parse/fail-41.gmarkup 995s ok 28 /markup/parse/fail-40.gmarkup 995s ok 29 /markup/parse/valid-1.gmarkup 995s ok 30 /markup/parse/fail-30.gmarkup 995s ok 31 /markup/parse/valid-13.gmarkup 995s ok 32 /markup/parse/fail-22.gmarkup 995s ok 33 /markup/parse/fail-45.gmarkup 995s ok 34 /markup/parse/valid-11.gmarkup 995s ok 35 /markup/parse/fail-46.gmarkup 995s ok 36 /markup/parse/fail-8.gmarkup 995s ok 37 /markup/parse/fail-36.gmarkup 995s ok 38 /markup/parse/fail-49.gmarkup 995s ok 39 /markup/parse/fail-27.gmarkup 995s ok 40 /markup/parse/fail-10.gmarkup 995s ok 41 /markup/parse/fail-33.gmarkup 995s ok 42 /markup/parse/fail-19.gmarkup 995s ok 43 /markup/parse/valid-8.gmarkup 995s ok 44 /markup/parse/valid-16.gmarkup 995s ok 45 /markup/parse/fail-29.gmarkup 995s ok 46 /markup/parse/fail-25.gmarkup 995s ok 47 /markup/parse/valid-5.gmarkup 995s ok 48 /markup/parse/valid-9.gmarkup 995s ok 49 /markup/parse/fail-9.gmarkup 995s ok 50 /markup/parse/fail-53.gmarkup 995s ok 51 /markup/parse/fail-35.gmarkup 995s ok 52 /markup/parse/valid-3.gmarkup 995s ok 53 /markup/parse/fail-7.gmarkup 995s ok 54 /markup/parse/fail-39.gmarkup 995s ok 55 /markup/parse/fail-15.gmarkup 995s ok 56 /markup/parse/fail-23.gmarkup 995s ok 57 /markup/parse/fail-18.gmarkup 995s ok 58 /markup/parse/valid-10.gmarkup 995s ok 59 /markup/parse/fail-34.gmarkup 995s ok 60 /markup/parse/valid-2.gmarkup 995s ok 61 /markup/parse/fail-31.gmarkup 995s ok 62 /markup/parse/fail-52.gmarkup 995s ok 63 /markup/parse/fail-47.gmarkup 995s ok 64 /markup/parse/fail-48.gmarkup 995s ok 65 /markup/parse/valid-4.gmarkup 995s ok 66 /markup/parse/fail-54.gmarkup 995s ok 67 /markup/parse/valid-6.gmarkup 995s ok 68 /markup/parse/fail-1.gmarkup 995s ok 69 /markup/parse/valid-14.gmarkup 995s ok 70 /markup/parse/fail-17.gmarkup 995s ok 71 /markup/parse/fail-4.gmarkup 995s # End of parse tests 995s # End of markup tests 995s ok - glib/markup-parse.test 995s # Running test: glib/override.test 995s TAP version 14 995s # random seed: R02S5c4dfa74f7b69d2014367b8c95444b6b 995s 1..1 995s # Start of gobject tests 995s # *** emitting foo on a TestA instance 995s # Expecting: TestA::foo,TestI::foo 995s # Got: TestA::foo,TestI::foo 995s # *** emitting bar on a TestA instance 995s # Expecting: TestA::bar 995s # Got: TestA::bar 995s # *** emitting baz on a TestA instance 995s # Expecting: TestA::baz 995s # Got: TestA::baz 995s # *** emitting foo on a TestB instance 995s # Expecting: TestB::foo,TestA::foo,TestI::foo 995s # Got: TestB::foo,TestA::foo,TestI::foo 995s # *** emitting bar on a TestB instance 995s # Expecting: TestB::bar,TestA::bar 995s # Got: TestB::bar,TestA::bar 995s # *** emitting baz on a TestB instance 995s # Expecting: TestB::baz,TestA::baz 995s # Got: TestB::baz,TestA::baz 995s # *** emitting foo on a TestC instance 995s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 995s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 995s # *** emitting bar on a TestC instance 995s # Expecting: TestC::bar,TestB::bar,TestA::bar 995s # Got: TestC::bar,TestB::bar,TestA::bar 995s # *** emitting baz on a TestC instance 995s # Expecting: TestC::baz,TestB::baz,TestA::baz 995s # Got: TestC::baz,TestB::baz,TestA::baz 995s ok 1 /gobject/override 995s # End of gobject tests 995s ok - glib/override.test 995s # Running test: glib/fdo-notification-backend.test 995s TAP version 14 995s # random seed: R02Sff9d4a06813c3f71e475eb050e04f183 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 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 996s ok 2 /fdo-notification-backend/dbus/activate-action 996s # End of dbus tests 996s # End of fdo-notification-backend tests 996s ok - glib/fdo-notification-backend.test 996s # Running test: glib/mem-overflow.test 996s TAP version 14 996s # random seed: R02Sfb5820658c36dc48506bc1ab4d468f07 996s 1..2 996s # Start of mem tests 996s ok 1 /mem/overflow 996s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 996s ok 2 /mem/empty-alloc 996s # Start of overflow tests 996s # Start of subprocess tests 996s # End of subprocess tests 996s # End of overflow tests 996s # Start of empty-alloc tests 996s # End of empty-alloc tests 996s # End of mem tests 996s ok - glib/mem-overflow.test 996s # Running test: glib/application-command-line.test 996s TAP version 14 996s # random seed: R02S4a460d5fb9074a1fac9a3dbdb95b50de 996s 1..1 996s # Start of application-command-line tests 996s ok 1 /application-command-line/basic-properties 996s # End of application-command-line tests 996s ok - glib/application-command-line.test 996s # Running test: glib/cxx.test 996s TAP version 14 996s # random seed: R02S592aed51acc280b2202aa0f46d69d559 996s 1..2 996s # Start of gtask tests 996s # 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. 996s ok 1 /gtask/name 996s # Start of name tests 996s # 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. 996s ok 2 /gtask/name/macro-wrapper 996s # End of name tests 996s # End of gtask tests 996s ok - glib/cxx.test 996s # Running test: glib/async-splice-output-stream.test 996s TAP version 14 996s # random seed: R02S5ce5afaf043e2377d90fec3ac16dad8d 996s 1..5 996s # Start of async-splice tests 996s ok 1 /async-splice/copy-chunks 996s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 996s ok 2 /async-splice/copy-chunks-threaded-input 996s ok 3 /async-splice/copy-chunks-threaded-output 996s ok 4 /async-splice/copy-chunks-threaded 996s ok 5 /async-splice/cancelled 996s # End of async-splice tests 996s ok - glib/async-splice-output-stream.test 996s # Running test: glib/signals-refcount1.test 996s TAP version 14 996s # random seed: R02S0675790f6beb6bfe2523f4532e4cf1e7 996s 1..1 996s # Start of gobject tests 996s # Start of refcount tests 996s # init 0xc9c20d112430 996s # 996s # init 0xc9c20d1125d0 996s # 997s # Executing: glib/signals-refcount1.test 1001s # dispose 0xc9c20d112430! 1001s # 1001s # dispose 0xc9c20d1125d0! 1001s # 1001s ok 1 /gobject/refcount/signals 1001s # slow test /gobject/refcount/signals executed in 5.00 secs 1001s # End of refcount tests 1001s # End of gobject tests 1001s ok - glib/signals-refcount1.test 1001s # Running test: glib/memory-input-stream.test 1001s TAP version 14 1001s # random seed: R02S19dadc22a31992ed343df0e690bf2eb8 1001s 1..6 1001s # Start of memory-input-stream tests 1001s ok 1 /memory-input-stream/read-chunks 1001s ok 2 /memory-input-stream/async 1001s ok 3 /memory-input-stream/seek 1001s ok 4 /memory-input-stream/truncate 1001s ok 5 /memory-input-stream/read-bytes 1001s ok 6 /memory-input-stream/from-bytes 1001s # End of memory-input-stream tests 1001s ok - glib/memory-input-stream.test 1001s # Running test: glib/readwrite.test 1001s TAP version 14 1001s # random seed: R02Sf80d5f4e71181832fff66ad05f8f8ba7 1001s 1..3 1001s # Start of readwrite tests 1001s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1001s ok 1 /readwrite/test_g_file_open_readwrite 1001s ok 2 /readwrite/test_g_file_create_readwrite 1001s ok 3 /readwrite/test_g_file_replace_readwrite 1001s # End of readwrite tests 1001s ok - glib/readwrite.test 1001s # Running test: glib/bytes.test 1001s TAP version 14 1001s # random seed: R02Sf73b527b409a73a3788967d4177a420d 1001s 1..21 1001s # Start of bytes tests 1001s ok 1 /bytes/new 1001s ok 2 /bytes/new-take 1001s ok 3 /bytes/new-static 1001s ok 4 /bytes/new-with-free-func 1001s ok 5 /bytes/new-from-bytes 1001s ok 6 /bytes/new-from-bytes-slice 1001s ok 7 /bytes/new-from-bytes-shared-ref 1001s ok 8 /bytes/hash 1001s ok 9 /bytes/equal 1001s ok 10 /bytes/compare 1001s ok 11 /bytes/null 1001s ok 12 /bytes/get-region 1001s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1001s ok 13 /bytes/unref-null 1001s # Start of to-data tests 1001s ok 14 /bytes/to-data/transferred 1001s ok 15 /bytes/to-data/two-refs 1001s ok 16 /bytes/to-data/non-malloc 1001s ok 17 /bytes/to-data/different-free-func 1001s # End of to-data tests 1001s # Start of to-array tests 1001s ok 18 /bytes/to-array/transferred 1001s ok 19 /bytes/to-array/two-refs 1001s ok 20 /bytes/to-array/non-malloc 1001s # Start of transferred tests 1001s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1001s ok 21 /bytes/to-array/transferred/oversize 1001s # End of transferred tests 1001s # End of to-array tests 1001s # End of bytes tests 1001s ok - glib/bytes.test 1001s # Running test: glib/gdbus-threading.test 1001s TAP version 14 1001s # random seed: R02S3bd9f48c21517fe9b2546e9141cd0845 1001s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1001s ok - glib/gdbus-threading.test 1001s # Running test: glib/testing.test 1001s TAP version 14 1001s # random seed: R02S04680ea4fbc60ad4ed6c57a038b58965 1001s 1..1 1001s # Start of assert tests 1001s ok 1 /assert/finalize_object 1001s # Start of finalize_object tests 1001s # Start of subprocess tests 1001s # End of subprocess tests 1001s # End of finalize_object tests 1001s # End of assert tests 1001s ok - glib/testing.test 1001s # Running test: glib/cxx-11.test 1001s TAP version 14 1001s # random seed: R02S4cc6fd19ac99df218bb2f1d3fa98b8a4 1001s 1..2 1001s # Start of gtask tests 1001s # 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. 1001s ok 1 /gtask/name 1001s # Start of name tests 1001s # 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. 1001s ok 2 /gtask/name/macro-wrapper 1001s # End of name tests 1001s # End of gtask tests 1001s ok - glib/cxx-11.test 1001s # Running test: glib/dump.test 1001s TAP version 14 1001s # random seed: R02Scdf01b2698584412e79d6f84e6c60908 1001s 1..4 1001s # Start of dump tests 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_0L15X2/dump/empty-file/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_0L15X2/dump/empty-file/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_0L15X2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_0L15X2/dump/empty-file/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_0L15X2/dump/empty-file/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_0L15X2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_0L15X2/dump/empty-file/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_0L15X2/dump/empty-file/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_0L15X2/dump/empty-file/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_0L15X2/dump/empty-file/.dirs/runtime 1001s ok 1 /dump/empty-file 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_0L15X2/dump/missing-get-type/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_0L15X2/dump/missing-get-type/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_0L15X2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_0L15X2/dump/missing-get-type/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_0L15X2/dump/missing-get-type/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_0L15X2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_0L15X2/dump/missing-get-type/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_0L15X2/dump/missing-get-type/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_0L15X2/dump/missing-get-type/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_0L15X2/dump/missing-get-type/.dirs/runtime 1001s Invalid GType function: 'does_not_exist_get_type' 1001s ok 2 /dump/missing-get-type 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_0L15X2/dump/missing-quark/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_0L15X2/dump/missing-quark/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_0L15X2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_0L15X2/dump/missing-quark/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_0L15X2/dump/missing-quark/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_0L15X2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_0L15X2/dump/missing-quark/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_0L15X2/dump/missing-quark/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_0L15X2/dump/missing-quark/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_0L15X2/dump/missing-quark/.dirs/runtime 1001s Invalid error quark function: 'does_not_exist_error' 1001s ok 3 /dump/missing-quark 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_0L15X2/dump/basic/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_0L15X2/dump/basic/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_0L15X2/dump/basic/.dirs/system-config1:/tmp/test_dump_0L15X2/dump/basic/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_0L15X2/dump/basic/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_0L15X2/dump/basic/.dirs/system-data1:/tmp/test_dump_0L15X2/dump/basic/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_0L15X2/dump/basic/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_0L15X2/dump/basic/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_0L15X2/dump/basic/.dirs/runtime 1001s ok 4 /dump/basic 1001s # End of dump tests 1001s ok - glib/dump.test 1001s # Running test: glib/gdbus-proxy-unique-name.test 1001s TAP version 14 1001s # random seed: R02S47aad6c432d2c4669326d73336e5dea6 1001s 1..1 1001s # Start of gdbus tests 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_DRM6X2/gdbus/proxy-unique-name/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_DRM6X2/gdbus/proxy-unique-name/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_DRM6X2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_DRM6X2/gdbus/proxy-unique-name/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_DRM6X2/gdbus/proxy-unique-name/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_DRM6X2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_DRM6X2/gdbus/proxy-unique-name/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_DRM6X2/gdbus/proxy-unique-name/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_DRM6X2/gdbus/proxy-unique-name/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_DRM6X2/gdbus/proxy-unique-name/.dirs/runtime 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s ok 1 /gdbus/proxy-unique-name 1001s # End of gdbus tests 1001s ok - glib/gdbus-proxy-unique-name.test 1001s # Running test: glib/gdbus-message.test 1001s TAP version 14 1001s # random seed: R02Sb17cc6b0d104d5b65333c870f0a2bad6 1001s 1..3 1001s # Start of gdbus tests 1001s # Start of message tests 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/lock/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/lock/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_8PD5X2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_8PD5X2/gdbus/message/lock/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/lock/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_8PD5X2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_8PD5X2/gdbus/message/lock/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/lock/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/lock/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_8PD5X2/gdbus/message/lock/.dirs/runtime 1001s ok 1 /gdbus/message/lock 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/copy/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/copy/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_8PD5X2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_8PD5X2/gdbus/message/copy/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/copy/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_8PD5X2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_8PD5X2/gdbus/message/copy/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/copy/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/copy/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_8PD5X2/gdbus/message/copy/.dirs/runtime 1001s ok 2 /gdbus/message/copy 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/bytes-needed/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/bytes-needed/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_8PD5X2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_8PD5X2/gdbus/message/bytes-needed/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/bytes-needed/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_8PD5X2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_8PD5X2/gdbus/message/bytes-needed/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/bytes-needed/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_8PD5X2/gdbus/message/bytes-needed/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_8PD5X2/gdbus/message/bytes-needed/.dirs/runtime 1001s # Vector: 0 1001s # Vector: 1 1001s # Vector: 2 1001s # Vector: 3 1001s # Vector: 4 1001s # Vector: 5 1001s ok 3 /gdbus/message/bytes-needed 1001s # End of message tests 1001s # End of gdbus tests 1001s ok - glib/gdbus-message.test 1001s # Running test: glib/module-test-library.test 1001s TAP version 14 1001s # random seed: R02S55758a58a6921dd885fad91eee46296a 1001s 1..3 1001s # Start of module tests 1001s ok 1 /module/basics 1001s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1001s ok 2 /module/invalid-libtool-archive 1001s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1001s ok 3 /module/local-binding 1001s # End of module tests 1001s ok - glib/module-test-library.test 1001s # Running test: glib/spawn-singlethread.test 1001s TAP version 14 1001s # random seed: R02Sb8c0889a274473005b8058849cf68616 1001s 1..9 1001s # Start of gthread tests 1001s ok 1 /gthread/spawn-single-sync 1001s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1001s ok 2 /gthread/spawn-stderr-socket 1001s ok 3 /gthread/spawn-single-async 1001s # thread 1 1001s # thread 1 1001s ok 4 /gthread/spawn-single-async-with-fds 1001s ok 5 /gthread/spawn-async-with-invalid-fds 1001s ok 6 /gthread/spawn-script 1001s ok 7 /gthread/spawn-posix-spawn 1001s # Start of spawn tests 1001s ok 8 /gthread/spawn/nonexistent 1001s # FD map: 1001s # • 5 → 15 1001s # • 6 → 16 1001s # • 7 → 17 1001s # • 8 → 18 1001s # • 9 → 19 1001s # • 10 → 20 1001s # • 11 → 21 1001s # • 12 → 22 1001s # • 13 → 23 1001s # • 3 → 13 1001s ok 9 /gthread/spawn/fd-assignment-clash 1001s # End of spawn tests 1001s # End of gthread tests 1001s ok - glib/spawn-singlethread.test 1001s # Running test: glib/gsocketclient-slow.test 1001s TAP version 14 1001s # random seed: R02Sd475ee1f813ae4489394ea214f112762 1001s 1..4 1001s # Start of socket-client tests 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1001s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1001s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb28cb31392a0 and GSocketClientAsyncConnectData 0xb28cb3131ba0 1001s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1001s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1001s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb28cb313b180 for GSocketClientAsyncConnectData 0xb28cb3131ba0 1001s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1001s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1001s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1001s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1001s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1001s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1001s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb28cb313c2e0 for GSocketClientAsyncConnectData 0xb28cb3131ba0 1001s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1002s # Executing: glib/gsocketclient-slow.test 1002s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1002s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1002s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1002s ok 1 /socket-client/connection-fail 1002s # slow test /socket-client/connection-fail executed in 1.20 secs 1002s # Start of happy-eyeballs tests 1002s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb28cb313ed60 and GSocketClientAsyncConnectData 0xb28cb313cee0 1002s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1002s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1002s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb28cb313f600 for GSocketClientAsyncConnectData 0xb28cb313cee0 1002s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1003s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1003s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1003s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1003s ok 2 /socket-client/happy-eyeballs/slow 1003s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1003s # Start of cancellation tests 1003s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb28cb3140250 and GSocketClientAsyncConnectData 0xb28cb313f290 1003s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1003s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1003s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb28cb313eca0 and GSocketClientAsyncConnectData 0xb28cb3140500 1003s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1003s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb28cb3140d90 for GSocketClientAsyncConnectData 0xb28cb3140500 1003s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1003s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1003s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1003s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1003s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1003s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1003s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1003s # End of cancellation tests 1003s # End of happy-eyeballs tests 1003s # End of socket-client tests 1003s ok - glib/gsocketclient-slow.test 1003s # Running test: glib/gdbus-error.test 1003s TAP version 14 1003s # random seed: R02Sd8baccf483ab630c6cfe2aaef2d1e05f 1003s 1..4 1003s # Start of gdbus tests 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_96TVX2/gdbus/registered-errors/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/registered-errors/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_96TVX2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_96TVX2/gdbus/registered-errors/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/registered-errors/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_96TVX2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_96TVX2/gdbus/registered-errors/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/registered-errors/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/registered-errors/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_96TVX2/gdbus/registered-errors/.dirs/runtime 1003s ok 1 /gdbus/registered-errors 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_96TVX2/gdbus/unregistered-errors/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/unregistered-errors/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_96TVX2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_96TVX2/gdbus/unregistered-errors/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/unregistered-errors/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_96TVX2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_96TVX2/gdbus/unregistered-errors/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/unregistered-errors/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/unregistered-errors/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_96TVX2/gdbus/unregistered-errors/.dirs/runtime 1003s ok 2 /gdbus/unregistered-errors 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_96TVX2/gdbus/transparent-gerror/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/transparent-gerror/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_96TVX2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_96TVX2/gdbus/transparent-gerror/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/transparent-gerror/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_96TVX2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_96TVX2/gdbus/transparent-gerror/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/transparent-gerror/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/transparent-gerror/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_96TVX2/gdbus/transparent-gerror/.dirs/runtime 1003s ok 3 /gdbus/transparent-gerror 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_96TVX2/gdbus/register-error/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/register-error/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_96TVX2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_96TVX2/gdbus/register-error/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/register-error/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_96TVX2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_96TVX2/gdbus/register-error/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/register-error/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_96TVX2/gdbus/register-error/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_96TVX2/gdbus/register-error/.dirs/runtime 1003s ok 4 /gdbus/register-error 1003s # End of gdbus tests 1003s ok - glib/gdbus-error.test 1003s # Running test: glib/hook.test 1003s TAP version 14 1003s # random seed: R02S913242640d91b3d748e4ae2c97f1436e 1003s 1..2 1003s # Start of hook tests 1003s ok 1 /hook/basics 1003s ok 2 /hook/corner-cases 1003s # End of hook tests 1003s ok - glib/hook.test 1003s # Running test: glib/portal-support-flatpak-full.test 1003s TAP version 14 1003s # random seed: R02Sa214c474a9996f9130bf2a457da3b471 1003s 1..1 1003s # Start of portal-support tests 1003s # Start of flatpak tests 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_KYJVX2/portal-support/flatpak/full/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_KYJVX2/portal-support/flatpak/full/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_KYJVX2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_KYJVX2/portal-support/flatpak/full/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_KYJVX2/portal-support/flatpak/full/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_KYJVX2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_KYJVX2/portal-support/flatpak/full/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_KYJVX2/portal-support/flatpak/full/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_KYJVX2/portal-support/flatpak/full/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_KYJVX2/portal-support/flatpak/full/.dirs/runtime 1003s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_KYJVX2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1003s ok 1 /portal-support/flatpak/full 1003s # End of flatpak tests 1003s # End of portal-support tests 1003s ok - glib/portal-support-flatpak-full.test 1003s # Running test: glib/gobject-private.test 1003s TAP version 14 1003s # random seed: R02S430ee6c9f53af1e8a762a8e890b36164 1003s 1..3 1003s # Start of private tests 1003s ok 1 /private/instance 1003s ok 2 /private/derived-instance 1003s ok 3 /private/mixed-derived-instance 1003s # End of private tests 1003s ok - glib/gobject-private.test 1003s # Running test: glib/protocol.test 1003s TAP version 14 1003s # random seed: R02S17cb23cc4cb49f06bb8a8186e9b101ae 1003s 1..9 1003s # Start of glib tests 1003s # Start of testing tests 1003s # Start of protocol tests 1003s ok 1 /glib/testing/protocol/debug 1003s ok 2 /glib/testing/protocol/info 1003s ok 3 /glib/testing/protocol/message 1003s ok 4 /glib/testing/protocol/warning 1003s ok 5 /glib/testing/protocol/critical 1003s ok 6 /glib/testing/protocol/error 1003s ok 7 /glib/testing/protocol/gtest-message 1003s ok 8 /glib/testing/protocol/test-message 1003s ok 9 /glib/testing/protocol/test-error 1003s # End of protocol tests 1003s # End of testing tests 1003s # End of glib tests 1003s ok - glib/protocol.test 1003s # Running test: glib/types.test 1003s TAP version 14 1003s # random seed: R02Sa36bcebf55f8e949e78d9dd7f30af021 1003s 1..1 1003s # Start of types tests 1003s ok 1 /types/basic_types 1003s # End of types tests 1003s ok - glib/types.test 1003s # Running test: glib/spawn-path-search.test 1003s TAP version 14 1003s # random seed: R02Sbe7440c01d0029a7c74db719638f79e5 1003s 1..7 1003s # Start of spawn tests 1003s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1003s # 1003s # this is spawn-test-helper from glib/tests 1003s # 1003s ok 1 /spawn/do-not-search 1003s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1003s # 1003s # this is spawn-test-helper from path-test-subdir 1003s # 1003s ok 2 /spawn/search-path 1003s # /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. 1003s # 1003s # this is spawn-test-helper from path-test-subdir 1003s # 1003s ok 3 /spawn/search-path-from-envp 1003s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1003s # 1003s # this is spawn-test-helper from path-test-subdir 1003s # 1003s ok 4 /spawn/search-path-ambiguous 1003s # 1003s # this is spawn-test-helper from path-test-subdir 1003s # 1003s ok 5 /spawn/search-path-heap-allocation 1003s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1003s # 1003s # this is spawn-test-helper from glib/tests 1003s # 1003s ok 6 /spawn/search-path-fallback-in-environ 1003s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1003s # 1003s # this is spawn-test-helper from glib/tests 1003s # 1003s ok 7 /spawn/search-path-fallback-in-envp 1003s # End of spawn tests 1003s ok - glib/spawn-path-search.test 1003s # Running test: glib/reference.test 1003s TAP version 14 1003s # random seed: R02S4d7e030629f6e5afb3234c72d1c2e449 1003s 1..29 1003s # Start of type tests 1003s ok 1 /type/fundamentals 1003s ok 2 /type/qdata 1003s ok 3 /type/query 1003s ok 4 /type/class-private 1003s # End of type tests 1003s # Start of object tests 1003s ok 5 /object/clear 1003s ok 6 /object/clear-function 1003s ok 7 /object/set 1003s ok 8 /object/set-function 1003s ok 9 /object/value 1003s ok 10 /object/initially-unowned 1003s ok 11 /object/weak-pointer 1003s ok 12 /object/weak-ref 1003s ok 13 /object/toggle-ref 1003s ok 14 /object/qdata 1003s ok 15 /object/qdata2 1003s # Start of set tests 1003s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1003s ok 16 /object/set/derived-type 1003s # End of set tests 1003s # Start of weak-pointer tests 1003s ok 17 /object/weak-pointer/clear 1003s ok 18 /object/weak-pointer/clear-function 1003s ok 19 /object/weak-pointer/set 1003s ok 20 /object/weak-pointer/set-function 1003s # End of weak-pointer tests 1003s # Start of weak-ref tests 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1003s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1003s ok 21 /object/weak-ref/on-dispose 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1003s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1003s ok 22 /object/weak-ref/on-run-dispose 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1003s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1003s ok 23 /object/weak-ref/on-toggle-notify 1003s ok 24 /object/weak-ref/in-toggle-notify 1003s ok 25 /object/weak-ref/many 1003s # Start of concurrent tests 1003s ok 26 /object/weak-ref/concurrent/0 1003s ok 27 /object/weak-ref/concurrent/1 1003s # End of concurrent tests 1003s # End of weak-ref tests 1003s # Start of toggle-ref tests 1003s ok 28 /object/toggle-ref/ref-on-dispose 1003s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1003s # End of toggle-ref tests 1003s # End of object tests 1003s ok - glib/reference.test 1003s # Running test: glib/once.test 1003s TAP version 14 1003s # random seed: R02Se04ece585776f92cbae441a8d4d77064 1003s 1..5 1003s # Start of once tests 1003s # /once/single-threaded summary: Test g_once() usage from a single thread 1003s ok 1 /once/single-threaded 1003s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1003s ok 2 /once/multi-threaded 1003s # End of once tests 1003s # Start of once-init tests 1003s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1003s ok 3 /once-init/single-threaded 1003s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1003s ok 4 /once-init/multi-threaded 1003s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1003s ok 5 /once-init/string 1003s # End of once-init tests 1003s ok - glib/once.test 1003s # Running test: glib/sandbox.test 1003s TAP version 14 1003s # random seed: R02Sf53353475fbc111d1df6e67d3edd402f 1003s 1..4 1003s # Start of sandbox tests 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MROTX2/sandbox/none/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MROTX2/sandbox/none/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MROTX2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_MROTX2/sandbox/none/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MROTX2/sandbox/none/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MROTX2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_MROTX2/sandbox/none/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MROTX2/sandbox/none/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MROTX2/sandbox/none/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MROTX2/sandbox/none/.dirs/runtime 1003s ok 1 /sandbox/none 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MROTX2/sandbox/snap/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MROTX2/sandbox/snap/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MROTX2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_MROTX2/sandbox/snap/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MROTX2/sandbox/snap/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MROTX2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_MROTX2/sandbox/snap/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MROTX2/sandbox/snap/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MROTX2/sandbox/snap/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MROTX2/sandbox/snap/.dirs/runtime 1003s # Created snap.yaml in /tmp/test_sandbox_MROTX2/snap/current/meta/snap.yaml 1003s ok 2 /sandbox/snap 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MROTX2/sandbox/classic-snap/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MROTX2/sandbox/classic-snap/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MROTX2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_MROTX2/sandbox/classic-snap/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MROTX2/sandbox/classic-snap/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MROTX2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_MROTX2/sandbox/classic-snap/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MROTX2/sandbox/classic-snap/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MROTX2/sandbox/classic-snap/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MROTX2/sandbox/classic-snap/.dirs/runtime 1003s # Created snap.yaml in /tmp/test_sandbox_MROTX2/snap/current/meta/snap.yaml 1003s ok 3 /sandbox/classic-snap 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MROTX2/sandbox/flatpak/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MROTX2/sandbox/flatpak/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MROTX2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_MROTX2/sandbox/flatpak/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MROTX2/sandbox/flatpak/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MROTX2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_MROTX2/sandbox/flatpak/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MROTX2/sandbox/flatpak/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MROTX2/sandbox/flatpak/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MROTX2/sandbox/flatpak/.dirs/runtime 1003s # Creating .flatpak-info in /tmp/test_sandbox_MROTX2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1003s ok 4 /sandbox/flatpak 1003s # End of sandbox tests 1003s ok - glib/sandbox.test 1003s # Running test: glib/macros-c-17.test 1003s TAP version 14 1003s # random seed: R02S580456bb06dd53cb741f9955026263af 1003s 1..4 1003s # Start of C tests 1003s ok 1 /C/standard-17 1003s # End of C tests 1003s # Start of alignof tests 1003s ok 2 /alignof/fallback 1003s # End of alignof tests 1003s # Start of assert tests 1003s ok 3 /assert/static 1003s # End of assert tests 1003s # Start of struct tests 1003s ok 4 /struct/sizeof_member 1003s # End of struct tests 1003s ok - glib/macros-c-17.test 1003s # Running test: glib/gdbus-connection-slow.test 1003s TAP version 14 1003s # random seed: R02S8f23f9c889f7bc9f01b5346c0b1509e3 1003s 1..2 1003s # Start of gdbus tests 1003s # Start of connection tests 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/flush/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/flush/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/flush/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/flush/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/flush/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/flush/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/flush/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/flush/.dirs/runtime 1003s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1003s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1003s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1003s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1003s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1003s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1003s ok 1 /gdbus/connection/flush 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/large_message/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/large_message/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/large_message/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/large_message/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/large_message/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/large_message/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/large_message/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_C7YTX2/gdbus/connection/large_message/.dirs/runtime 1004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1004s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1004s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1004s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1004s ok 2 /gdbus/connection/large_message 1004s # End of connection tests 1004s # End of gdbus tests 1004s ok - glib/gdbus-connection-slow.test 1004s # Running test: glib/io-stream.test 1004s TAP version 14 1004s # random seed: R02S508ad7a419f1020099d8aa7f2eca307a 1004s 1..3 1004s # Start of io-stream tests 1004s ok 1 /io-stream/copy-chunks 1004s # Start of close tests 1004s # Start of async tests 1004s ok 2 /io-stream/close/async/memory 1004s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1004s ok 3 /io-stream/close/async/file 1004s # End of async tests 1004s # End of close tests 1004s # End of io-stream tests 1004s ok - glib/io-stream.test 1004s # Running test: glib/list.test 1004s TAP version 14 1004s # random seed: R02S272415b43683280570201d692ec62994 1004s 1..20 1004s # Start of list tests 1004s ok 1 /list/sort 1004s ok 2 /list/sort-with-data 1004s ok 3 /list/insert-before-link 1004s ok 4 /list/insert-sorted 1004s ok 5 /list/insert-sorted-with-data 1004s ok 6 /list/reverse 1004s ok 7 /list/nth 1004s ok 8 /list/concat 1004s ok 9 /list/remove 1004s ok 10 /list/remove-all 1004s ok 11 /list/first-last 1004s ok 12 /list/insert 1004s ok 13 /list/free-full 1004s ok 14 /list/copy 1004s ok 15 /list/copy-deep 1004s ok 16 /list/delete-link 1004s ok 17 /list/prepend 1004s ok 18 /list/position 1004s ok 19 /list/double-free 1004s # Start of sort tests 1004s ok 20 /list/sort/stable 1004s # End of sort tests 1004s # End of list tests 1004s ok - glib/list.test 1004s # Running test: glib/strfuncs.test 1004s TAP version 14 1004s # random seed: R02S9210826f389628f77f1e26c33af96f01 1004s 1..50 1004s # Start of strfuncs tests 1004s ok 1 /strfuncs/ascii-strcasecmp 1004s ok 2 /strfuncs/ascii_strdown 1004s ok 3 /strfuncs/ascii_strdup 1004s ok 4 /strfuncs/ascii_strtod 1004s ok 5 /strfuncs/bounds-check 1004s ok 6 /strfuncs/has-prefix 1004s ok 7 /strfuncs/has-prefix-macro 1004s ok 8 /strfuncs/has-suffix 1004s ok 9 /strfuncs/has-suffix-macro 1004s ok 10 /strfuncs/memdup 1004s ok 11 /strfuncs/memdup2 1004s ok 12 /strfuncs/set_str 1004s ok 13 /strfuncs/stpcpy 1004s ok 14 /strfuncs/str_match_string 1004s ok 15 /strfuncs/str_tokenize_and_fold 1004s ok 16 /strfuncs/strcanon 1004s ok 17 /strfuncs/strchomp 1004s ok 18 /strfuncs/strchug 1004s ok 19 /strfuncs/strcompress-strescape 1004s ok 20 /strfuncs/strconcat 1004s ok 21 /strfuncs/strdelimit 1004s ok 22 /strfuncs/strdup 1004s ok 23 /strfuncs/strdup-printf 1004s ok 24 /strfuncs/strdupv 1004s ok 25 /strfuncs/strerror 1004s ok 26 /strfuncs/strip-context 1004s ok 27 /strfuncs/strjoin 1004s ok 28 /strfuncs/strjoinv 1004s ok 29 /strfuncs/strlcat 1004s ok 30 /strfuncs/strlcpy 1004s ok 31 /strfuncs/strncasecmp 1004s ok 32 /strfuncs/strndup 1004s ok 33 /strfuncs/strnfill 1004s ok 34 /strfuncs/strreverse 1004s ok 35 /strfuncs/strsignal 1004s ok 36 /strfuncs/strsplit 1004s ok 37 /strfuncs/strsplit-set 1004s ok 38 /strfuncs/strstr 1004s ok 39 /strfuncs/strtod 1004s ok 40 /strfuncs/strtoull-strtoll 1004s ok 41 /strfuncs/strup 1004s ok 42 /strfuncs/strv-contains 1004s ok 43 /strfuncs/strv-equal 1004s ok 44 /strfuncs/strv-length 1004s ok 45 /strfuncs/test-is-to-digit 1004s ok 46 /strfuncs/transliteration 1004s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1004s ok 47 /strfuncs/str-equal 1004s # Start of ascii-string-to-num tests 1004s ok 48 /strfuncs/ascii-string-to-num/pathological 1004s ok 49 /strfuncs/ascii-string-to-num/usual 1004s # End of ascii-string-to-num tests 1004s # Start of strdup tests 1004s ok 50 /strfuncs/strdup/inline 1004s # End of strdup tests 1004s # End of strfuncs tests 1004s ok - glib/strfuncs.test 1004s # Running test: glib/g-icon.test 1004s TAP version 14 1004s # random seed: R02Safe3a171ea71bdfab2608f7249c2a3d8 1004s 1..6 1004s # Start of icons tests 1004s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1004s ok 1 /icons/to-string 1004s ok 2 /icons/serialize 1004s ok 3 /icons/themed 1004s ok 4 /icons/emblemed 1004s ok 5 /icons/file 1004s ok 6 /icons/bytes 1004s # End of icons tests 1004s ok - glib/g-icon.test 1004s # Running test: glib/1bit-mutex.test 1004s TAP version 14 1004s # random seed: R02S95abb930e2cbc13da03fcab2f2bb6a2a 1004s 1..2 1004s # Start of glib tests 1004s # Start of 1bit-mutex tests 1007s # Executing: glib/1bit-mutex.test 1007s ok 1 /glib/1bit-mutex/int 1007s # slow test /glib/1bit-mutex/int executed in 3.51 secs 1011s ok 2 /glib/1bit-mutex/pointer 1011s # slow test /glib/1bit-mutex/pointer executed in 3.41 secs 1011s # End of 1bit-mutex tests 1011s # End of glib tests 1011s ok - glib/1bit-mutex.test 1011s # Running test: glib/gmenumodel.test 1011s TAP version 14 1011s # random seed: R02S0a01f4a49a4679587ef1ea291bc1d091 1011s 1..15 1011s # Start of gmenu tests 1012s ok 1 /gmenu/equality 1012s # slow test /gmenu/equality executed in 0.63 secs 1012s # Executing: glib/gmenumodel.test 1012s ok 2 /gmenu/random 1012s # slow test /gmenu/random executed in 0.65 secs 1012s ok 3 /gmenu/attributes 1012s ok 4 /gmenu/links 1012s ok 5 /gmenu/mutable 1012s ok 6 /gmenu/convenience 1012s ok 7 /gmenu/menuitem 1012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1012s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1012s ok 8 /gmenu/input-validation 1012s # Start of dbus tests 1012s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s ok 9 /gmenu/dbus/roundtrip 1013s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1014s ok 10 /gmenu/dbus/subscriptions 1015s ok 11 /gmenu/dbus/threaded 1015s # slow test /gmenu/dbus/threaded executed in 0.81 secs 1015s # Start of peer tests 1016s ok 12 /gmenu/dbus/peer/roundtrip 1016s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1016s ok 13 /gmenu/dbus/peer/subscriptions 1016s # End of peer tests 1016s # Start of export tests 1016s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1016s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1016s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1016s ok 14 /gmenu/dbus/export/error-handling 1016s # End of export tests 1016s # End of dbus tests 1016s # Start of attributes tests 1016s ok 15 /gmenu/attributes/iterate 1016s # End of attributes tests 1016s # End of gmenu tests 1016s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1016s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1016s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1016s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1016s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1016s ok - glib/gmenumodel.test 1016s # Running test: glib/contexts.test 1016s TAP version 14 1016s # random seed: R02S9e04827bad9894674579cd60c7a6f205 1016s 1..5 1016s # Start of gio tests 1016s # Start of contexts tests 1016s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1016s ok 1 /gio/contexts/thread-independence 1016s ok 2 /gio/contexts/context-independence 1016s # Start of context-specific tests 1016s ok 3 /gio/contexts/context-specific/identity 1016s ok 4 /gio/contexts/context-specific/emit 1016s ok 5 /gio/contexts/context-specific/emit-and-unref 1016s # End of context-specific tests 1016s # End of contexts tests 1016s # End of gio tests 1016s ok - glib/contexts.test 1016s # Running test: glib/cxx-20.test 1016s TAP version 14 1016s # random seed: R02S70661955f1c917ddc52f1a541f29992b 1016s 1..2 1016s # Start of gtask tests 1016s # 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. 1016s ok 1 /gtask/name 1016s # Start of name tests 1016s # 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. 1016s ok 2 /gtask/name/macro-wrapper 1016s # End of name tests 1016s # End of gtask tests 1016s ok - glib/cxx-20.test 1016s # Running test: glib/io-channel-basic.test 1016s TAP version 14 1016s # random seed: R02S733d1c41b9ff93de5beb045270684709 1016s 1..1 1016s # Start of gio tests 1016s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1016s # random seed: R02Sba36f9ae6d991c71f22ef847691d09e3 1016s # GLib-DEBUG: io-channel-basic: child writing 8+2574 bytes to 6 1016s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 5: 2574 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+2488 bytes to 6 1017s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 5: 2488 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+2228 bytes to 6 1017s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 5: 2228 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1017s # Executing: glib/io-channel-basic.test 1017s # GLib-DEBUG: io-channel-basic: child writing 8+1203 bytes to 6 1017s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 5: 1203 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+1473 bytes to 6 1017s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 5: 1473 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+3971 bytes to 6 1018s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 5: 3971 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+3493 bytes to 6 1018s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 5: 3493 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+113 bytes to 6 1018s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 5: 113 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+4395 bytes to 6 1018s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 5: 4395 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+4180 bytes to 6 1019s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 5: 4180 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+2984 bytes to 6 1019s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 5: 2984 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+4932 bytes to 6 1019s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 5: 4932 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+4248 bytes to 6 1019s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 5: 4248 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1020s # GLib-DEBUG: io-channel-basic: child writing 8+3628 bytes to 6 1020s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 5: 3628 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1020s # GLib-DEBUG: io-channel-basic: child writing 8+926 bytes to 6 1020s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 5: 926 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1020s # GLib-DEBUG: io-channel-basic: child writing 8+451 bytes to 6 1020s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 5: 451 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1020s # GLib-DEBUG: io-channel-basic: child writing 8+4986 bytes to 6 1020s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 5: 4986 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+3006 bytes to 6 1021s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 5: 3006 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+1739 bytes to 6 1021s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 5: 1739 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+2413 bytes to 6 1021s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 5: 2413 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1021s # GLib-DEBUG: io-channel-basic: child writing 8+1224 bytes to 6 1021s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 5: 1224 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+4602 bytes to 6 1022s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1022s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1022s # GLib-DEBUG: io-channel-basic: ...from 5: 4602 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1022s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1022s # random seed: R02Sdbb0e6f8a274b69479b9cdceed4c8c53 1022s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1022s # random seed: R02Sd3d93eb36446584e16fe487521360aff 1022s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1022s # random seed: R02S53ec7b61d509bcebb57fc71ef9f572c5 1022s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1022s # random seed: R02S1a083f72cbf317b269ddb8a2c211ed93 1022s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1022s # random seed: R02S0665ab85e8a9a510e3ed8f77b25ef1d1 1022s # Executing: glib/io-channel-basic.test 1022s # GLib-DEBUG: io-channel-basic: child writing 8+3361 bytes to 13 1022s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 12: 3361 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+3460 bytes to 9 1022s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 8: 3460 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+2587 bytes to 17 1022s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 16: 2587 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+4578 bytes to 15 1022s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 14: 4578 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+2623 bytes to 11 1022s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 10: 2623 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+99 bytes to 9 1022s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 8: 99 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+4555 bytes to 13 1022s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 12: 4555 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+548 bytes to 17 1022s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 16: 548 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+2091 bytes to 11 1022s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 10: 2091 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+2210 bytes to 15 1022s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 14: 2210 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1022s # GLib-DEBUG: io-channel-basic: child writing 8+2589 bytes to 9 1022s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 8: 2589 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+755 bytes to 13 1023s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 12: 755 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+32 bytes to 17 1023s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 16: 32 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+1004 bytes to 11 1023s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 10: 1004 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+2165 bytes to 15 1023s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 14: 2165 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+1327 bytes to 9 1023s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 8: 1327 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+2642 bytes to 13 1023s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 12: 2642 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+4672 bytes to 17 1023s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 16: 4672 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+3079 bytes to 11 1023s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 10: 3079 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+2575 bytes to 15 1023s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 14: 2575 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+2297 bytes to 9 1023s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 8: 2297 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+1731 bytes to 13 1023s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 12: 1731 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+2121 bytes to 17 1023s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 16: 2121 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+1550 bytes to 11 1023s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 10: 1550 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+1407 bytes to 15 1023s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 14: 1407 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+1207 bytes to 9 1023s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 8: 1207 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+2986 bytes to 13 1023s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 12: 2986 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+3597 bytes to 11 1023s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 10: 3597 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+3176 bytes to 17 1023s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 16: 3176 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1023s # GLib-DEBUG: io-channel-basic: child writing 8+2988 bytes to 15 1023s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 14: 2988 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+163 bytes to 9 1024s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 8: 163 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+1552 bytes to 13 1024s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 12: 1552 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+2733 bytes to 11 1024s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 10: 2733 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+592 bytes to 15 1024s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 14: 592 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+2650 bytes to 17 1024s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 16: 2650 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+4209 bytes to 9 1024s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 8: 4209 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+3256 bytes to 13 1024s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 12: 3256 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+1774 bytes to 11 1024s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 10: 1774 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+3152 bytes to 15 1024s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 14: 3152 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+3174 bytes to 17 1024s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 16: 3174 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+2907 bytes to 9 1024s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 8: 2907 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+289 bytes to 13 1024s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 12: 289 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+1307 bytes to 11 1024s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 10: 1307 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+2137 bytes to 17 1024s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 16: 2137 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+2847 bytes to 15 1024s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 14: 2847 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+1159 bytes to 13 1024s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 12: 1159 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+293 bytes to 9 1024s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 8: 293 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+3573 bytes to 11 1024s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 10: 3573 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+1519 bytes to 15 1024s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 14: 1519 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1024s # GLib-DEBUG: io-channel-basic: child writing 8+4068 bytes to 17 1024s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 16: 4068 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+4659 bytes to 13 1025s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 12: 4659 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+1484 bytes to 9 1025s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 8: 1484 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+1345 bytes to 11 1025s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 10: 1345 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+4873 bytes to 15 1025s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 14: 4873 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+3911 bytes to 17 1025s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 16: 3911 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+4644 bytes to 13 1025s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 12: 4644 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+774 bytes to 9 1025s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 8: 774 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+4214 bytes to 15 1025s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 14: 4214 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+4217 bytes to 11 1025s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 10: 4217 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+4286 bytes to 17 1025s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 16: 4286 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+200 bytes to 13 1025s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 12: 200 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+2698 bytes to 9 1025s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 8: 2698 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+2932 bytes to 11 1025s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 10: 2932 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+1844 bytes to 15 1025s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 14: 1844 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+1224 bytes to 17 1025s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 16: 1224 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+1041 bytes to 13 1025s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 12: 1041 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+2861 bytes to 9 1025s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 8: 2861 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+3570 bytes to 11 1025s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 10: 3570 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+4321 bytes to 15 1025s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 14: 4321 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1025s # GLib-DEBUG: io-channel-basic: child writing 8+4037 bytes to 17 1025s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 16: 4037 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3335 bytes to 13 1026s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 12: 3335 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+1372 bytes to 9 1026s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 8: 1372 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+4712 bytes to 11 1026s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 10: 4712 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+994 bytes to 15 1026s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 14: 994 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+1785 bytes to 17 1026s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 16: 1785 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+4228 bytes to 13 1026s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 12: 4228 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3064 bytes to 9 1026s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 8: 3064 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3226 bytes to 11 1026s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 10: 3226 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+382 bytes to 17 1026s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 16: 382 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+1365 bytes to 15 1026s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 14: 1365 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3430 bytes to 13 1026s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 12: 3430 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+522 bytes to 9 1026s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 8: 522 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+4499 bytes to 11 1026s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 10: 4499 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+2315 bytes to 15 1026s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 14: 2315 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+4713 bytes to 17 1026s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 16: 4713 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3506 bytes to 13 1026s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 12: 3506 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+1181 bytes to 9 1026s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 8: 1181 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3597 bytes to 11 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3443 bytes to 15 1026s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 14: 3443 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1026s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 10: 3597 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1026s # GLib-DEBUG: io-channel-basic: child writing 8+3417 bytes to 17 1026s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 16: 3417 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+575 bytes to 13 1027s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 12: 575 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+4280 bytes to 9 1027s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 8: 4280 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+443 bytes to 11 1027s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 10: 443 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+686 bytes to 15 1027s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 14: 686 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+1697 bytes to 17 1027s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 16: 1697 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+3126 bytes to 13 1027s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 12: 3126 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1027s # Executing: glib/io-channel-basic.test 1027s # GLib-DEBUG: io-channel-basic: child writing 8+3571 bytes to 9 1027s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 8: 3571 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+4836 bytes to 11 1027s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 10: 4836 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+512 bytes to 15 1027s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 14: 512 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+2997 bytes to 17 1027s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 16: 2997 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+333 bytes to 13 1027s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 12: 333 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+1218 bytes to 9 1027s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 8: 1218 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+1957 bytes to 15 1027s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 14: 1957 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+1315 bytes to 17 1027s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 16: 1315 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+2045 bytes to 11 1027s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 10: 2045 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+4267 bytes to 13 1027s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 12: 4267 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1027s # GLib-DEBUG: io-channel-basic: child writing 8+4172 bytes to 9 1027s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 8: 4172 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1028s # GLib-DEBUG: io-channel-basic: child writing 8+1083 bytes to 15 1028s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 14: 1083 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1028s # GLib-DEBUG: io-channel-basic: child writing 8+4171 bytes to 17 1028s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 16: 4171 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1028s # GLib-DEBUG: io-channel-basic: child writing 8+3873 bytes to 11 1028s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1028s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1028s # GLib-DEBUG: io-channel-basic: ...from 10: 3873 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1028s # GLib-DEBUG: io-channel-basic: child writing 8+3150 bytes to 13 1028s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 12: 3150 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1028s # GLib-DEBUG: io-channel-basic: child writing 8+4247 bytes to 9 1028s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1028s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1028s # GLib-DEBUG: io-channel-basic: ...from 8: 4247 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1028s # GLib-DEBUG: io-channel-basic: child writing 8+305 bytes to 15 1028s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 14: 305 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1028s # GLib-DEBUG: io-channel-basic: child writing 8+4918 bytes to 17 1028s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 16: 4918 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1028s # GLib-DEBUG: io-channel-basic: child writing 8+2876 bytes to 13 1028s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1028s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1028s # GLib-DEBUG: io-channel-basic: ...from 12: 2876 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1028s # GLib-DEBUG: io-channel-basic: child writing 8+136 bytes to 15 1028s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1028s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1028s # GLib-DEBUG: io-channel-basic: ...from 14: 136 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1028s # GLib-DEBUG: io-channel-basic: child writing 8+2666 bytes to 17 1028s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 16: 2666 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1028s # GLib-DEBUG: io-channel-basic: child writing 8+913 bytes to 17 1028s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1028s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1028s # GLib-DEBUG: io-channel-basic: ...from 16: 913 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1028s ok 1 /gio/io-basics 1028s # slow test /gio/io-basics executed in 12.27 secs 1028s # End of gio tests 1028s ok - glib/io-channel-basic.test 1028s # Running test: glib/gdbus-method-invocation.test 1028s TAP version 14 1028s # random seed: R02S04098e762d5a43d28a63686c251544a7 1028s 1..1 1028s # Start of gdbus tests 1028s # Start of method-invocation tests 1028s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_AFERX2/gdbus/method-invocation/return/.dirs/home 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_AFERX2/gdbus/method-invocation/return/.dirs/cache 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_AFERX2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_AFERX2/gdbus/method-invocation/return/.dirs/system-config2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_AFERX2/gdbus/method-invocation/return/.dirs/config 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_AFERX2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_AFERX2/gdbus/method-invocation/return/.dirs/system-data2 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_AFERX2/gdbus/method-invocation/return/.dirs/data 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_AFERX2/gdbus/method-invocation/return/.dirs/state 1028s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_AFERX2/gdbus/method-invocation/return/.dirs/runtime 1028s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1028s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1028s # Calling org.freedesktop.DBus.Properties.Get 1028s # Calling org.freedesktop.DBus.Properties.Get 1028s # Calling org.freedesktop.DBus.Properties.Get 1028s # Calling org.freedesktop.DBus.Properties.Set 1028s # Calling org.freedesktop.DBus.Properties.GetAll 1028s # Calling org.example.Foo.WrongReturnType 1028s # Calling org.example.Foo.GetFDs 1028s # Calling org.example.Foo.GetFDs 1028s # Calling org.example.Foo.ReturnError 1028s # Calling org.example.Foo.CloseBeforeReturning 1028s ok 1 /gdbus/method-invocation/return 1028s # End of method-invocation tests 1028s # End of gdbus tests 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1028s ok - glib/gdbus-method-invocation.test 1028s # Running test: glib/properties-refcount3.test 1028s TAP version 14 1028s # random seed: R02S6b21b5bc74a54e0d828b24ffbf1339cf 1028s 1..1 1028s # Start of gobject tests 1028s # Start of refcount tests 1032s # Executing: glib/properties-refcount3.test 1037s # Executing: glib/properties-refcount3.test 1042s # Executing: glib/properties-refcount3.test 1047s # Executing: glib/properties-refcount3.test 1052s # Executing: glib/properties-refcount3.test 1057s # Executing: glib/properties-refcount3.test 1058s # 1058s # stopping 1058s # 1058s # stopped 1058s # 1058s # 28627687 243963 1058s # 1058s ok 1 /gobject/refcount/properties-3 1058s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1058s # End of refcount tests 1058s # End of gobject tests 1058s ok - glib/properties-refcount3.test 1058s # Running test: glib/memchunk.test 1058s TAP version 14 1058s # random seed: R02S5f20e1d6c349a256a8e16e2d5ec4efea 1058s 1..1 1058s # Start of memchunk tests 1058s ok 1 /memchunk/basic 1058s # End of memchunk tests 1058s ok - glib/memchunk.test 1058s # Running test: glib/fileutils.test 1058s TAP version 14 1058s # random seed: R02S222ccc1e283d1b2eb328a60412528c0e 1058s 1..27 1058s # Start of fileutils tests 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/paths/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/paths/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/paths/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/paths/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/paths/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/paths/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/paths/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/paths/.dirs/runtime 1058s ok 1 /fileutils/paths 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-path/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-path/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/build-path/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-path/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/build-path/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-path/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-path/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/build-path/.dirs/runtime 1058s ok 2 /fileutils/build-path 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-pathv/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-pathv/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/build-pathv/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-pathv/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/build-pathv/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-pathv/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-pathv/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/build-pathv/.dirs/runtime 1058s ok 3 /fileutils/build-pathv 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-filename/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-filename/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/build-filename/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-filename/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/build-filename/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-filename/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-filename/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/build-filename/.dirs/runtime 1058s ok 4 /fileutils/build-filename 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-filenamev/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-filenamev/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/build-filenamev/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-filenamev/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/build-filenamev/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-filenamev/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/build-filenamev/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/build-filenamev/.dirs/runtime 1058s ok 5 /fileutils/build-filenamev 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents/.dirs/runtime 1058s # We do not have CAP_DAC_OVERRIDE or equivalent 1058s ok 6 /fileutils/mkdir-with-parents 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents-permission/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents-permission/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents-permission/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents-permission/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents-permission/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1058s # We do not have CAP_DAC_OVERRIDE or equivalent 1058s ok 7 /fileutils/mkdir-with-parents-permission 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/format-size-for-display/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/format-size-for-display/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/format-size-for-display/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/format-size-for-display/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/format-size-for-display/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/format-size-for-display/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/format-size-for-display/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/format-size-for-display/.dirs/runtime 1058s ok 8 /fileutils/format-size-for-display 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/errors/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/errors/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/errors/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/errors/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/errors/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/errors/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/errors/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/errors/.dirs/runtime 1058s ok 9 /fileutils/errors 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/basename/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/basename/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/basename/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/basename/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/basename/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/basename/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/basename/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/basename/.dirs/runtime 1058s ok 10 /fileutils/basename 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-basename/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-basename/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/get-basename/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-basename/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/get-basename/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-basename/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-basename/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/get-basename/.dirs/runtime 1058s ok 11 /fileutils/get-basename 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/dirname/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/dirname/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/dirname/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/dirname/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/dirname/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/dirname/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/dirname/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/dirname/.dirs/runtime 1058s ok 12 /fileutils/dirname 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/dir-make-tmp/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/dir-make-tmp/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/dir-make-tmp/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/dir-make-tmp/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/dir-make-tmp/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/dir-make-tmp/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/dir-make-tmp/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/dir-make-tmp/.dirs/runtime 1058s ok 13 /fileutils/dir-make-tmp 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/file-open-tmp/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/file-open-tmp/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/file-open-tmp/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/file-open-tmp/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/file-open-tmp/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/file-open-tmp/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/file-open-tmp/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/file-open-tmp/.dirs/runtime 1058s ok 14 /fileutils/file-open-tmp 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/file-test/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/file-test/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/file-test/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/file-test/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/file-test/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/file-test/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/file-test/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/file-test/.dirs/runtime 1058s ok 15 /fileutils/file-test 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkstemp/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkstemp/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/mkstemp/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkstemp/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/mkstemp/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkstemp/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkstemp/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/mkstemp/.dirs/runtime 1058s ok 16 /fileutils/mkstemp 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdtemp/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdtemp/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/mkdtemp/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdtemp/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/mkdtemp/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdtemp/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/mkdtemp/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/mkdtemp/.dirs/runtime 1058s ok 17 /fileutils/mkdtemp 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-contents/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-contents/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/get-contents/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-contents/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/get-contents/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-contents/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-contents/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/get-contents/.dirs/runtime 1058s ok 18 /fileutils/get-contents 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-contents-large-file/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-contents-large-file/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/get-contents-large-file/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-contents-large-file/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/get-contents-large-file/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-contents-large-file/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/get-contents-large-file/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/get-contents-large-file/.dirs/runtime 1058s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/set-contents/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/set-contents/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/set-contents/.dirs/runtime 1058s ok 20 /fileutils/set-contents 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/.dirs/runtime 1058s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1058s # Flags 0 and test 0 1058s # Flags 0 and test 1 1058s # Flags 0 and test 2 1058s # Flags 0 and test 3 1058s # Flags 0 and test 4 1058s # Flags 0 and test 5 1058s # Flags 1 and test 0 1058s # Flags 1 and test 1 1058s # Flags 1 and test 2 1058s # Flags 1 and test 3 1058s # Flags 1 and test 4 1058s # Flags 1 and test 5 1058s # Flags 2 and test 0 1058s # Flags 2 and test 1 1058s # Flags 2 and test 2 1058s # Flags 2 and test 3 1058s # Flags 2 and test 4 1058s # Flags 2 and test 5 1058s # Flags 3 and test 0 1058s # Flags 3 and test 1 1058s # Flags 3 and test 2 1058s # Flags 3 and test 3 1058s # Flags 3 and test 4 1058s # Flags 3 and test 5 1058s # Flags 4 and test 0 1058s # Flags 4 and test 1 1058s # Flags 4 and test 2 1058s # Flags 4 and test 3 1058s # Flags 4 and test 4 1058s # Flags 4 and test 5 1058s # Flags 5 and test 0 1058s # Flags 5 and test 1 1058s # Flags 5 and test 2 1058s # Flags 5 and test 3 1058s # Flags 5 and test 4 1058s # Flags 5 and test 5 1058s # Flags 6 and test 0 1058s # Flags 6 and test 1 1058s # Flags 6 and test 2 1058s # Flags 6 and test 3 1058s # Flags 6 and test 4 1058s # Flags 6 and test 5 1058s ok 21 /fileutils/set-contents-full 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/read-link/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/read-link/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/read-link/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/read-link/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/read-link/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/read-link/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/read-link/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/read-link/.dirs/runtime 1058s ok 22 /fileutils/read-link 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/stdio-wrappers/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/stdio-wrappers/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/stdio-wrappers/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/stdio-wrappers/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/stdio-wrappers/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/stdio-wrappers/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/stdio-wrappers/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/stdio-wrappers/.dirs/runtime 1058s # We do not have CAP_DAC_OVERRIDE or equivalent 1058s ok 23 /fileutils/stdio-wrappers 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/fopen-modes/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/fopen-modes/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/fopen-modes/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/fopen-modes/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/fopen-modes/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/fopen-modes/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/fopen-modes/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/fopen-modes/.dirs/runtime 1058s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1058s # Testing fopen() mode 'w' 1058s # Testing fopen() mode 'r' 1058s # Testing fopen() mode 'a' 1058s # Testing fopen() mode 'w+' 1058s # Testing fopen() mode 'r+' 1058s # Testing fopen() mode 'a+' 1058s # Testing fopen() mode 'wb' 1058s # Testing fopen() mode 'rb' 1058s # Testing fopen() mode 'ab' 1058s # Testing fopen() mode 'w+b' 1058s # Testing fopen() mode 'r+b' 1058s # Testing fopen() mode 'a+b' 1058s # Testing fopen() mode 'wb+' 1058s # Testing fopen() mode 'rb+' 1058s # Testing fopen() mode 'ab+' 1058s ok 24 /fileutils/fopen-modes 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/clear-fd/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/clear-fd/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/clear-fd/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/clear-fd/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/clear-fd/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/clear-fd/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/clear-fd/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/clear-fd/.dirs/runtime 1058s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1058s # Will be closed by autocleanup: 3, -42 1058s # Testing error handling 1058s ok 25 /fileutils/clear-fd 1058s # Start of set-contents-full tests 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-file/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-file/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-file/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-file/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-file/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1058s # We do not have CAP_DAC_OVERRIDE or equivalent 1058s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1059s ok 26 /fileutils/set-contents-full/read-only-file 1059s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-directory/.dirs/home 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-directory/.dirs/config 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-directory/.dirs/data 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-directory/.dirs/state 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HX7QX2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1059s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1059s # Flags 0 1059s # We do not have CAP_DAC_OVERRIDE or equivalent 1059s # Flags 1 1059s # We do not have CAP_DAC_OVERRIDE or equivalent 1059s # Flags 2 1059s # We do not have CAP_DAC_OVERRIDE or equivalent 1059s # Flags 3 1059s # We do not have CAP_DAC_OVERRIDE or equivalent 1059s # Flags 4 1059s # We do not have CAP_DAC_OVERRIDE or equivalent 1059s # Flags 5 1059s # We do not have CAP_DAC_OVERRIDE or equivalent 1059s # Flags 6 1059s # We do not have CAP_DAC_OVERRIDE or equivalent 1059s ok 27 /fileutils/set-contents-full/read-only-directory 1059s # End of set-contents-full tests 1059s # Start of clear-fd tests 1059s # Start of subprocess tests 1059s # End of subprocess tests 1059s # End of clear-fd tests 1059s # End of fileutils tests 1059s Unable to clean up temporary directory /tmp/test_fileutils_HX7QX2/glib-file-set-contents-full-rodir-7LCNX2: Directory not empty 1059s Unable to clean up temporary directory /tmp/test_fileutils_HX7QX2/glib-file-set-contents-full-rodir-7YE8X2: Directory not empty 1059s Unable to clean up temporary directory /tmp/test_fileutils_HX7QX2/glib-file-set-contents-full-rodir-A87MX2: Directory not empty 1059s Unable to clean up temporary directory /tmp/test_fileutils_HX7QX2/glib-file-set-contents-full-rodir-GJBNX2: Directory not empty 1059s Unable to clean up temporary directory /tmp/test_fileutils_HX7QX2/glib-file-set-contents-full-rodir-9I7MX2: Directory not empty 1059s Unable to clean up temporary directory /tmp/test_fileutils_HX7QX2/glib-file-set-contents-full-rodir-HRQNX2: Directory not empty 1059s Unable to clean up temporary directory /tmp/test_fileutils_HX7QX2/glib-file-set-contents-full-rodir-WB4MX2: Directory not empty 1059s Unable to clean up temporary directory /tmp/test_fileutils_HX7QX2: Directory not empty 1059s ok - glib/fileutils.test 1059s # Running test: glib/mainloop.test 1059s TAP version 14 1059s # random seed: R02S38e8213604fa1fa1745577f53147f516 1059s 1..45 1059s # Start of maincontext tests 1059s ok 1 /maincontext/basic 1059s # Add same-priority sources: 21 1059s # Find each source: 2 1059s # Remove in random order: 38 1059s ok 2 /maincontext/nsources_same_priority 1059s # Add different-priority sources: 18 1059s # Find each source: 2 1059s # Remove in random order: 43 1059s ok 3 /maincontext/nsources_different_priority 1059s # Add sources from threads: 92 1059s # Remove sources from threads: 43 1059s ok 4 /maincontext/nsources_threadpool 1059s ok 5 /maincontext/source_finalization 1059s # /maincontext/idle-once summary: Test g_idle_add_once() works 1059s ok 6 /maincontext/idle-once 1059s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1059s ok 7 /maincontext/timeout-once 1059s # Start of source_finalization_from_source tests 1059s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1059s ok 8 /maincontext/source_finalization_from_source/0 1059s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1059s ok 9 /maincontext/source_finalization_from_source/1 1059s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1059s ok 10 /maincontext/source_finalization_from_source/2 1059s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1059s ok 11 /maincontext/source_finalization_from_source/3 1059s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1059s ok 12 /maincontext/source_finalization_from_source/4 1059s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1059s ok 13 /maincontext/source_finalization_from_source/5 1059s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1059s ok 14 /maincontext/source_finalization_from_source/6 1059s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1059s ok 15 /maincontext/source_finalization_from_source/7 1059s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1059s ok 16 /maincontext/source_finalization_from_source/8 1059s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1059s ok 17 /maincontext/source_finalization_from_source/9 1059s # End of source_finalization_from_source tests 1059s # Start of source_finalization_from_dispatch tests 1059s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1059s ok 18 /maincontext/source_finalization_from_dispatch/0 1059s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1059s ok 19 /maincontext/source_finalization_from_dispatch/1 1059s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1059s ok 20 /maincontext/source_finalization_from_dispatch/2 1059s # End of source_finalization_from_dispatch tests 1059s # End of maincontext tests 1059s # Start of mainloop tests 1059s ok 21 /mainloop/basic 1059s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1059s ok 23 /mainloop/priorities 1060s ok 24 /mainloop/invoke 1060s # slow test /mainloop/invoke executed in 0.50 secs 1061s ok 25 /mainloop/child_sources 1061s # slow test /mainloop/child_sources executed in 1.18 secs 1062s # Executing: glib/mainloop.test 1063s ok 26 /mainloop/recursive_child_sources 1063s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 1063s ok 27 /mainloop/recursive_loop_child_sources 1063s ok 28 /mainloop/swapping_child_sources 1063s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1063s ok 29 /mainloop/blocked_child_sources 1064s ok 30 /mainloop/source_time 1064s # slow test /mainloop/source_time executed in 1.00 secs 1064s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1064s ok 31 /mainloop/overflow 1064s ok 32 /mainloop/ready-time 1064s # slow test /mainloop/ready-time executed in 0.50 secs 1064s ok 33 /mainloop/wakeup 1064s ok 34 /mainloop/remove-invalid 1064s ok 35 /mainloop/unref-while-pending 1065s ok 36 /mainloop/unix-fd 1065s # slow test /mainloop/unix-fd executed in 0.57 secs 1065s ok 37 /mainloop/unix-fd-source 1065s ok 38 /mainloop/source-unix-fd-api 1065s ok 39 /mainloop/wait 1065s ok 40 /mainloop/unix-file-poll 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1065s ok 41 /mainloop/unix-fd-priority 1065s ok 42 /mainloop/nfds 1065s ok 43 /mainloop/steal-fd 1065s # Start of ownerless-polling tests 1065s ok 44 /mainloop/ownerless-polling/attach-first 1065s ok 45 /mainloop/ownerless-polling/pop-first 1065s # End of ownerless-polling tests 1065s # End of mainloop tests 1065s ok - glib/mainloop.test 1065s # Running test: glib/boxed.test 1065s TAP version 14 1065s # random seed: R02S5a778666b5c4ef90edf7ac21fe9c4d2b 1065s 1..27 1065s # Start of boxed tests 1065s ok 1 /boxed/define 1065s ok 2 /boxed/ownership 1065s ok 3 /boxed/closure 1065s ok 4 /boxed/date 1065s ok 5 /boxed/value 1065s ok 6 /boxed/string 1065s ok 7 /boxed/hashtable 1065s ok 8 /boxed/array 1065s ok 9 /boxed/ptrarray 1065s ok 10 /boxed/regex 1065s ok 11 /boxed/varianttype 1065s ok 12 /boxed/error 1065s ok 13 /boxed/datetime 1065s ok 14 /boxed/matchinfo 1065s ok 15 /boxed/keyfile 1065s ok 16 /boxed/mainloop 1065s ok 17 /boxed/maincontext 1065s ok 18 /boxed/source 1065s ok 19 /boxed/variantbuilder 1065s ok 20 /boxed/timezone 1065s ok 21 /boxed/pollfd 1065s ok 22 /boxed/markup 1065s ok 23 /boxed/thread 1065s ok 24 /boxed/checksum 1065s ok 25 /boxed/tree 1065s ok 26 /boxed/patternspec 1065s ok 27 /boxed/rand 1065s # End of boxed tests 1065s ok - glib/boxed.test 1065s # Running test: glib/thread-pool-slow.test 1065s TAP version 14 1065s # random seed: R02S937b9045787db304c354128d14b013b9 1065s 1..7 1065s # Start of threadpool tests 1065s ok 1 /threadpool/functions 1066s ok 2 /threadpool/stop-unused 1066s # slow test /threadpool/stop-unused executed in 0.51 secs 1066s ok 3 /threadpool/pools 1066s # [unsorted] ===> pushed new thread with id:61, number of threads:1, unprocessed:1 1066s # [unsorted] ===> pushed new thread with id:22, number of threads:2, unprocessed:2 1066s # [unsorted] ===> pushed new thread with id:81, number of threads:3, unprocessed:3 1066s # [unsorted] ===> pushed new thread with id:68, number of threads:4, unprocessed:4 1066s # [unsorted] ===> pushed new thread with id:46, number of threads:5, unprocessed:5 1066s # [unsorted] ===> pushed new thread with id:24, number of threads:6, unprocessed:2 1066s # [unsorted] ===> pushed new thread with id:44, number of threads:7, unprocessed:1 1066s # [unsorted] ===> pushed new thread with id:92, number of threads:8, unprocessed:2 1066s # [unsorted] ===> pushed new thread with id:67, number of threads:9, unprocessed:3 1066s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:2 1066s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:1 1066s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:2 1066s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:3 1066s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:4 1066s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:5 1066s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:6 1066s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:7 1066s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:8 1066s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:9 1066s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:10 1066s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:11 1066s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:12 1066s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:13 1066s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:14 1066s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:15 1066s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:16 1066s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:17 1066s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:18 1066s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:19 1066s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:20 1066s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:21 1066s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:22 1066s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:23 1066s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:24 1066s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:25 1066s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:26 1066s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:27 1066s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:28 1066s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:29 1066s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:30 1066s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:31 1066s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:32 1066s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:33 1066s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:34 1066s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:35 1066s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:36 1066s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:37 1066s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:38 1066s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:39 1066s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:40 1066s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:41 1066s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:42 1066s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:43 1066s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:44 1066s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:45 1066s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:46 1066s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:47 1066s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:48 1066s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:49 1066s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:50 1066s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:51 1066s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:52 1066s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:53 1066s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:54 1066s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:55 1066s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:56 1066s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:57 1066s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:58 1066s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:59 1066s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:60 1066s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:61 1066s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:62 1066s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:63 1066s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:64 1066s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:65 1066s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:66 1066s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:67 1066s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:68 1066s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:69 1066s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:70 1066s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:71 1066s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:72 1066s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:73 1066s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:74 1066s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:75 1066s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:76 1066s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:77 1066s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:78 1066s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:79 1066s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:80 1066s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:81 1066s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:82 1066s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:83 1066s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:84 1066s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:85 1066s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:86 1066s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:87 1066s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:88 1066s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:89 1066s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:90 1066s ok 4 /threadpool/no-sort 1066s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:1 1066s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:2 1066s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:3 1066s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:4 1066s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:5 1066s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:6 1066s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:7 1066s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:8 1066s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:9 1066s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:10 1066s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:11 1066s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:12 1066s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:13 1066s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:14 1066s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:15 1066s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:16 1066s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:17 1066s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:18 1066s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:19 1066s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:20 1066s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:21 1066s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:22 1066s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:23 1066s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:24 1066s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:25 1066s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:26 1066s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:27 1066s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:28 1066s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:29 1066s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:30 1066s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:31 1066s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:32 1066s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:33 1066s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:34 1066s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:35 1066s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:36 1066s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:37 1066s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:38 1066s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:39 1066s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:40 1066s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:41 1066s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:42 1066s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:43 1066s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:44 1066s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:45 1066s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:46 1066s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:47 1066s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:48 1066s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:49 1066s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:50 1066s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:51 1066s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:52 1066s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:53 1066s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:54 1066s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:55 1066s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:56 1066s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:57 1066s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:58 1066s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:59 1066s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:60 1066s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:61 1066s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:62 1066s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:63 1066s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:64 1066s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:65 1066s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:66 1066s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:67 1066s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:68 1066s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:69 1066s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:70 1066s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:71 1066s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:72 1066s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:73 1066s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:74 1066s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:75 1066s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:76 1066s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:77 1066s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:78 1066s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:79 1066s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:80 1066s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:81 1066s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:82 1066s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:83 1066s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:84 1066s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:85 1066s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:86 1066s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:87 1066s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:88 1066s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:89 1066s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:90 1066s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:91 1066s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:92 1066s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:93 1066s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:94 1066s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:95 1066s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:96 1066s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:97 1066s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:98 1066s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:99 1066s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:100 1066s # Starting thread pool processing 1066s ok 5 /threadpool/sort 1066s ok 6 /threadpool/stop-unused-multiple 1066s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1066s # Pool idle thread count: 0, unprocessed jobs: 40 1067s # Pool idle thread count: 0, unprocessed jobs: 0 1067s # Pool idle thread count: 0, unprocessed jobs: 0 1067s # Executing: glib/thread-pool-slow.test 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1067s # Pool idle thread count: 10, unprocessed jobs: 0 1068s # Pool idle thread count: 10, unprocessed jobs: 0 1068s # Pool idle thread count: 10, unprocessed jobs: 0 1068s # Pool idle thread count: 10, unprocessed jobs: 0 1068s # Pool idle thread count: 10, unprocessed jobs: 0 1069s # Pool idle thread count: 10, unprocessed jobs: 0 1069s # Pool idle thread count: 10, unprocessed jobs: 0 1069s # Pool idle thread count: 10, unprocessed jobs: 0 1069s # Pool idle thread count: 10, unprocessed jobs: 0 1070s # Pool idle thread count: 10, unprocessed jobs: 0 1070s # Pool idle thread count: 10, unprocessed jobs: 0 1070s # Pool idle thread count: 10, unprocessed jobs: 0 1070s # Pool idle thread count: 10, unprocessed jobs: 0 1071s # Pool idle thread count: 10, unprocessed jobs: 0 1071s # Pool idle thread count: 10, unprocessed jobs: 0 1071s # Pool idle thread count: 10, unprocessed jobs: 0 1071s # Pool idle thread count: 10, unprocessed jobs: 0 1072s # Pool idle thread count: 10, unprocessed jobs: 0 1072s # Pool idle thread count: 10, unprocessed jobs: 0 1072s # Executing: glib/thread-pool-slow.test 1072s # Pool idle thread count: 10, unprocessed jobs: 0 1072s # Pool idle thread count: 10, unprocessed jobs: 0 1073s # Pool idle thread count: 10, unprocessed jobs: 0 1073s # Pool idle thread count: 10, unprocessed jobs: 0 1073s # Pool idle thread count: 10, unprocessed jobs: 0 1073s # Pool idle thread count: 10, unprocessed jobs: 0 1074s # Pool idle thread count: 10, unprocessed jobs: 0 1074s # Pool idle thread count: 10, unprocessed jobs: 0 1074s # Pool idle thread count: 10, unprocessed jobs: 0 1074s # Pool idle thread count: 10, unprocessed jobs: 0 1075s # Pool idle thread count: 10, unprocessed jobs: 0 1075s # Pool idle thread count: 10, unprocessed jobs: 0 1075s # Pool idle thread count: 10, unprocessed jobs: 2 1075s # Pool idle thread count: 8, unprocessed jobs: 0 1075s # Pool idle thread count: 8, unprocessed jobs: 0 1075s # Pool idle thread count: 8, unprocessed jobs: 0 1076s # Pool idle thread count: 10, unprocessed jobs: 0 1076s # Pool idle thread count: 10, unprocessed jobs: 0 1076s # Pool idle thread count: 10, unprocessed jobs: 0 1076s # Pool idle thread count: 10, unprocessed jobs: 0 1077s # Pool idle thread count: 10, unprocessed jobs: 0 1077s # Pool idle thread count: 10, unprocessed jobs: 0 1077s # Executing: glib/thread-pool-slow.test 1077s # Pool idle thread count: 2, unprocessed jobs: 0 1077s # Pool idle thread count: 2, unprocessed jobs: 0 1078s # Pool idle thread count: 2, unprocessed jobs: 0 1078s # Pool idle thread count: 2, unprocessed jobs: 0 1078s # Pool idle thread count: 2, unprocessed jobs: 0 1078s # Pool idle thread count: 2, unprocessed jobs: 0 1079s # Pool idle thread count: 2, unprocessed jobs: 0 1079s # Pool idle thread count: 2, unprocessed jobs: 0 1079s # Pool idle thread count: 2, unprocessed jobs: 0 1079s # Pool idle thread count: 2, unprocessed jobs: 0 1080s # Pool idle thread count: 2, unprocessed jobs: 0 1080s # Pool idle thread count: 2, unprocessed jobs: 0 1080s # Pool idle thread count: 2, unprocessed jobs: 0 1080s # Pool idle thread count: 2, unprocessed jobs: 0 1081s # Pool idle thread count: 2, unprocessed jobs: 0 1081s # Pool idle thread count: 2, unprocessed jobs: 0 1081s # Pool idle thread count: 2, unprocessed jobs: 0 1081s # Pool idle thread count: 2, unprocessed jobs: 0 1082s # Pool idle thread count: 2, unprocessed jobs: 0 1082s # Pool idle thread count: 2, unprocessed jobs: 0 1082s # Executing: glib/thread-pool-slow.test 1082s # Pool idle thread count: 2, unprocessed jobs: 0 1082s # Pool idle thread count: 2, unprocessed jobs: 0 1083s # Pool idle thread count: 2, unprocessed jobs: 0 1083s # Pool idle thread count: 2, unprocessed jobs: 0 1083s # Pool idle thread count: 2, unprocessed jobs: 0 1083s # Pool idle thread count: 2, unprocessed jobs: 0 1084s # Pool idle thread count: 2, unprocessed jobs: 0 1084s # Pool idle thread count: 2, unprocessed jobs: 0 1084s # Pool idle thread count: 2, unprocessed jobs: 0 1084s # Pool idle thread count: 2, unprocessed jobs: 0 1085s # Pool idle thread count: 2, unprocessed jobs: 0 1085s # Pool idle thread count: 2, unprocessed jobs: 0 1085s # Pool idle thread count: 2, unprocessed jobs: 0 1085s # Pool idle thread count: 2, unprocessed jobs: 0 1086s ok 7 /threadpool/idle-time 1086s # slow test /threadpool/idle-time executed in 19.53 secs 1086s # End of threadpool tests 1086s ok - glib/thread-pool-slow.test 1086s # Running test: glib/utils-c-11.test 1086s TAP version 14 1086s # random seed: R02S970dd39bf7bbdb2e8a14ce45b2d11455 1086s 1..40 1086s # Start of utils tests 1086s ok 1 /utils/language-names 1086s ok 2 /utils/locale-variants 1086s ok 3 /utils/version 1086s ok 4 /utils/appname 1086s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1086s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1086s ok 5 /utils/prgname-thread-safety 1086s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1086s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1086s ok 6 /utils/tmpdir 1086s ok 7 /utils/basic_bits 1086s ok 8 /utils/bits 1086s ok 9 /utils/swap 1086s ok 10 /utils/find-program 1086s ok 11 /utils/find-program-for-path 1086s ok 12 /utils/debug 1086s ok 13 /utils/codeset 1086s ok 14 /utils/codeset2 1086s ok 15 /utils/console-charset 1086s ok 16 /utils/gettext 1086s ok 17 /utils/username 1086s ok 18 /utils/realname 1086s ok 19 /utils/hostname 1086s ok 20 /utils/xdgdirs 1086s ok 21 /utils/specialdir 1086s # NAME: Ubuntu 1086s ok 22 /utils/os-info 1086s ok 23 /utils/clear-pointer 1086s ok 24 /utils/clear-pointer-cast 1086s ok 25 /utils/take-pointer 1086s ok 26 /utils/clear-source 1086s ok 27 /utils/misc-mem 1086s # /utils/aligned-mem summary: Aligned memory allocator 1086s # Alignment must not be zero 1086s # Alignment must be a power of two 1086s # Alignment must be a multiple of sizeof(void*) 1086s ok 28 /utils/aligned-mem 1086s # /utils/free-sized summary: Check that g_free_sized() works 1086s ok 29 /utils/free-sized 1086s ok 30 /utils/nullify 1086s ok 31 /utils/atexit 1086s ok 32 /utils/check-setuid 1086s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1086s ok 33 /utils/int-limits 1086s ok 34 /utils/clear-list 1086s ok 35 /utils/clear-slist 1086s # Start of specialdir tests 1086s ok 36 /utils/specialdir/desktop 1086s # End of specialdir tests 1086s # Start of clear-pointer tests 1086s ok 37 /utils/clear-pointer/side-effects 1086s # End of clear-pointer tests 1086s # Start of aligned-mem tests 1086s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1086s ok 38 /utils/aligned-mem/alignment 1086s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1086s ok 39 /utils/aligned-mem/zeroed 1086s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1086s ok 40 /utils/aligned-mem/free-sized 1086s # Start of subprocess tests 1086s # End of subprocess tests 1086s # End of aligned-mem tests 1086s # End of utils tests 1086s ok - glib/utils-c-11.test 1086s # Running test: glib/gthash.test 1086s TAP version 14 1086s # random seed: R02S157bd4cbdf1583a2d37624d6871eacb6 1086s 1..1 1086s # Start of gthash tests 1086s ok 1 /gthash/build-retrieve 1086s # End of gthash tests 1086s ok - glib/gthash.test 1086s # Running test: glib/macros.test 1086s TAP version 14 1086s # random seed: R02S379f0aedd408a746bd6f1a8345b39d81 1086s 1..3 1086s # Start of alignof tests 1086s ok 1 /alignof/fallback 1086s # End of alignof tests 1086s # Start of assert tests 1086s ok 2 /assert/static 1086s # End of assert tests 1086s # Start of struct tests 1086s ok 3 /struct/sizeof_member 1086s # End of struct tests 1086s ok - glib/macros.test 1086s # Running test: glib/unicode-encoding.test 1086s TAP version 14 1086s # random seed: R02S5ed24231b3b9564f304e3961e669008b 1086s 1..1 1086s # Start of unicode tests 1086s ok 1 /unicode/encoding 1086s # End of unicode tests 1086s ok - glib/unicode-encoding.test 1086s # Running test: glib/network-address.test 1086s TAP version 14 1086s # random seed: R02S1214ae3a64e7d32125741f1ceb10a1dd 1086s 1..72 1086s # Start of network-address tests 1086s ok 1 /network-address/basic 1086s ok 2 /network-address/scope-id 1086s ok 3 /network-address/uri-scope-id 1086s ok 4 /network-address/to-string 1086s # Start of parse-host tests 1086s ok 5 /network-address/parse-host/0 1086s ok 6 /network-address/parse-host/1 1086s ok 7 /network-address/parse-host/2 1086s ok 8 /network-address/parse-host/3 1086s ok 9 /network-address/parse-host/4 1086s ok 10 /network-address/parse-host/5 1086s ok 11 /network-address/parse-host/6 1086s ok 12 /network-address/parse-host/7 1086s ok 13 /network-address/parse-host/8 1086s ok 14 /network-address/parse-host/9 1086s ok 15 /network-address/parse-host/10 1086s ok 16 /network-address/parse-host/11 1086s ok 17 /network-address/parse-host/12 1086s ok 18 /network-address/parse-host/13 1086s # End of parse-host tests 1086s # Start of parse-uri tests 1086s ok 19 /network-address/parse-uri/0 1086s ok 20 /network-address/parse-uri/1 1086s ok 21 /network-address/parse-uri/2 1086s ok 22 /network-address/parse-uri/3 1086s ok 23 /network-address/parse-uri/4 1086s ok 24 /network-address/parse-uri/5 1086s ok 25 /network-address/parse-uri/6 1086s ok 26 /network-address/parse-uri/7 1086s ok 27 /network-address/parse-uri/8 1086s ok 28 /network-address/parse-uri/9 1086s # End of parse-uri tests 1086s # Start of resolve-address tests 1086s # Input: 192.168.1.2 1086s ok 29 /network-address/resolve-address/0 1086s # Input: fe80::42 1086s ok 30 /network-address/resolve-address/1 1086s # Input: 192.168.1.2:80 1086s ok 31 /network-address/resolve-address/2 1086s # Input: [fe80::42] 1086s ok 32 /network-address/resolve-address/3 1086s # Input: [fe80::42]:80 1086s ok 33 /network-address/resolve-address/4 1086s # Input: 192.168.258 1086s ok 34 /network-address/resolve-address/5 1086s # Input: 192.11010306 1086s ok 35 /network-address/resolve-address/6 1086s # Input: 3232235778 1086s ok 36 /network-address/resolve-address/7 1086s # Input: 0300.0250.0001.0001 1086s ok 37 /network-address/resolve-address/8 1086s # Input: 0xC0.0xA8.0x01.0x02 1086s ok 38 /network-address/resolve-address/9 1086s # Input: 0xc0.0xa8.0x01.0x02 1086s ok 39 /network-address/resolve-address/10 1086s # Input: 0xc0a80102 1086s ok 40 /network-address/resolve-address/11 1086s # End of resolve-address tests 1086s # Start of loopback tests 1086s ok 41 /network-address/loopback/basic 1086s ok 42 /network-address/loopback/sync 1086s ok 43 /network-address/loopback/async 1086s # End of loopback tests 1086s # Start of localhost tests 1086s ok 44 /network-address/localhost/async 1086s ok 45 /network-address/localhost/sync 1086s # End of localhost tests 1086s # Start of happy-eyeballs tests 1086s ok 46 /network-address/happy-eyeballs/basic 1086s ok 47 /network-address/happy-eyeballs/parallel 1086s ok 48 /network-address/happy-eyeballs/slow-ipv4 1086s ok 49 /network-address/happy-eyeballs/slow-ipv6 1086s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1087s # Executing: glib/network-address.test 1087s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1087s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1087s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1087s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1087s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1087s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1087s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1087s # /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. 1087s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1087s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1087s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1087s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1087s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1087s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1087s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1087s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1087s ok 57 /network-address/happy-eyeballs/both-error 1087s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1087s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1087s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1087s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1087s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1087s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1087s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1087s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1087s # End of happy-eyeballs tests 1087s # End of network-address tests 1087s # Start of gresolver tests 1087s # Start of resolve-address tests 1087s # Input: 192.168.1.2 1087s ok 61 /gresolver/resolve-address/0 1087s # Input: fe80::42 1087s ok 62 /gresolver/resolve-address/1 1087s # Input: 192.168.1.2:80 1087s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1087s ok 63 /gresolver/resolve-address/2 1087s # Input: [fe80::42] 1087s # Error: Error resolving ?[fe80::42]?: Name or service not known 1087s ok 64 /gresolver/resolve-address/3 1087s # Input: [fe80::42]:80 1087s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1087s ok 65 /gresolver/resolve-address/4 1087s # Input: 192.168.258 1087s # Error: Error resolving ?192.168.258?: Name or service not known 1087s ok 66 /gresolver/resolve-address/5 1087s # Input: 192.11010306 1087s # Error: Error resolving ?192.11010306?: Name or service not known 1087s ok 67 /gresolver/resolve-address/6 1087s # Input: 3232235778 1087s # Error: Error resolving ?3232235778?: Name or service not known 1087s ok 68 /gresolver/resolve-address/7 1087s # Input: 0300.0250.0001.0001 1087s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1087s ok 69 /gresolver/resolve-address/8 1087s # Input: 0xC0.0xA8.0x01.0x02 1087s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1087s ok 70 /gresolver/resolve-address/9 1087s # Input: 0xc0.0xa8.0x01.0x02 1087s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1087s ok 71 /gresolver/resolve-address/10 1087s # Input: 0xc0a80102 1087s # Error: Error resolving ?0xc0a80102?: Name or service not known 1087s ok 72 /gresolver/resolve-address/11 1087s # End of resolve-address tests 1087s # End of gresolver tests 1087s ok - glib/network-address.test 1087s # Running test: glib/gdbus-auth.test 1087s TAP version 14 1087s # random seed: R02S46a304e6f01e8b134f4e6909250741db 1087s 1..5 1087s # Start of gdbus tests 1087s # Start of auth tests 1087s # Start of client tests 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/EXTERNAL/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/EXTERNAL/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/EXTERNAL/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/EXTERNAL/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/EXTERNAL/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1087s ok 1 /gdbus/auth/client/EXTERNAL 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1087s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1087s # End of client tests 1087s # Start of server tests 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/ANONYMOUS/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/ANONYMOUS/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/ANONYMOUS/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/ANONYMOUS/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1087s ok 3 /gdbus/auth/server/ANONYMOUS 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/EXTERNAL/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/EXTERNAL/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/EXTERNAL/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/EXTERNAL/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/EXTERNAL/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1087s ok 4 /gdbus/auth/server/EXTERNAL 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_50TPX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1087s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1087s # End of server tests 1087s # End of auth tests 1087s # End of gdbus tests 1087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1087s ok - glib/gdbus-auth.test 1087s # Running test: glib/macros-c-11.test 1087s TAP version 14 1087s # random seed: R02Sa6a13af3bb11267aae03f5eb92305bd9 1087s 1..4 1087s # Start of C tests 1087s ok 1 /C/standard-11 1087s # End of C tests 1087s # Start of alignof tests 1087s ok 2 /alignof/fallback 1087s # End of alignof tests 1087s # Start of assert tests 1087s ok 3 /assert/static 1087s # End of assert tests 1087s # Start of struct tests 1087s ok 4 /struct/sizeof_member 1087s # End of struct tests 1087s ok - glib/macros-c-11.test 1087s # Running test: glib/tls-database.test 1087s TAP version 14 1087s # random seed: R02Scee8abca2cf2e13add30c5f30214e729 1087s 1..1 1087s # Start of tls-backend tests 1087s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1087s ok 1 /tls-backend/set-default-database 1087s # End of tls-backend tests 1087s ok - glib/tls-database.test 1087s # Running test: glib/checksum.test 1087s TAP version 14 1087s # random seed: R02S4f87c99e2e354f6661be12bdaec13d0e 1087s 1..1851 1087s # Start of checksum tests 1087s ok 1 /checksum/unsupported 1087s # Start of MD5 tests 1087s ok 2 /checksum/MD5/0 1087s ok 3 /checksum/MD5/1 1087s ok 4 /checksum/MD5/2 1087s ok 5 /checksum/MD5/3 1087s ok 6 /checksum/MD5/4 1087s ok 7 /checksum/MD5/5 1087s ok 8 /checksum/MD5/6 1087s ok 9 /checksum/MD5/7 1087s ok 10 /checksum/MD5/8 1087s ok 11 /checksum/MD5/9 1087s ok 12 /checksum/MD5/10 1087s ok 13 /checksum/MD5/11 1087s ok 14 /checksum/MD5/12 1087s ok 15 /checksum/MD5/13 1087s ok 16 /checksum/MD5/14 1087s ok 17 /checksum/MD5/15 1087s ok 18 /checksum/MD5/16 1087s ok 19 /checksum/MD5/17 1087s ok 20 /checksum/MD5/18 1087s ok 21 /checksum/MD5/19 1087s ok 22 /checksum/MD5/20 1087s ok 23 /checksum/MD5/21 1087s ok 24 /checksum/MD5/22 1087s ok 25 /checksum/MD5/23 1087s ok 26 /checksum/MD5/24 1087s ok 27 /checksum/MD5/25 1087s ok 28 /checksum/MD5/26 1087s ok 29 /checksum/MD5/27 1087s ok 30 /checksum/MD5/28 1087s ok 31 /checksum/MD5/29 1087s ok 32 /checksum/MD5/30 1087s ok 33 /checksum/MD5/31 1087s ok 34 /checksum/MD5/32 1087s ok 35 /checksum/MD5/33 1087s ok 36 /checksum/MD5/34 1087s ok 37 /checksum/MD5/35 1087s ok 38 /checksum/MD5/36 1087s ok 39 /checksum/MD5/37 1087s ok 40 /checksum/MD5/38 1087s ok 41 /checksum/MD5/39 1087s ok 42 /checksum/MD5/40 1087s ok 43 /checksum/MD5/41 1087s ok 44 /checksum/MD5/42 1087s ok 45 /checksum/MD5/43 1087s ok 46 /checksum/MD5/44 1087s ok 47 /checksum/MD5/45 1087s ok 48 /checksum/MD5/46 1087s ok 49 /checksum/MD5/47 1087s ok 50 /checksum/MD5/48 1087s ok 51 /checksum/MD5/49 1087s ok 52 /checksum/MD5/50 1087s ok 53 /checksum/MD5/51 1087s ok 54 /checksum/MD5/52 1087s ok 55 /checksum/MD5/53 1087s ok 56 /checksum/MD5/54 1087s ok 57 /checksum/MD5/55 1087s ok 58 /checksum/MD5/56 1087s ok 59 /checksum/MD5/57 1087s ok 60 /checksum/MD5/58 1087s ok 61 /checksum/MD5/59 1087s ok 62 /checksum/MD5/60 1087s ok 63 /checksum/MD5/61 1087s ok 64 /checksum/MD5/62 1087s ok 65 /checksum/MD5/63 1087s ok 66 /checksum/MD5/64 1087s ok 67 /checksum/MD5/65 1087s ok 68 /checksum/MD5/66 1087s ok 69 /checksum/MD5/67 1087s ok 70 /checksum/MD5/68 1087s ok 71 /checksum/MD5/69 1087s ok 72 /checksum/MD5/70 1087s ok 73 /checksum/MD5/71 1087s ok 74 /checksum/MD5/72 1087s ok 75 /checksum/MD5/73 1087s ok 76 /checksum/MD5/74 1087s ok 77 /checksum/MD5/75 1087s ok 78 /checksum/MD5/76 1087s ok 79 /checksum/MD5/77 1087s ok 80 /checksum/MD5/78 1087s ok 81 /checksum/MD5/79 1087s ok 82 /checksum/MD5/80 1087s ok 83 /checksum/MD5/81 1087s ok 84 /checksum/MD5/82 1087s ok 85 /checksum/MD5/83 1087s ok 86 /checksum/MD5/84 1087s ok 87 /checksum/MD5/85 1087s ok 88 /checksum/MD5/86 1087s ok 89 /checksum/MD5/87 1087s ok 90 /checksum/MD5/88 1087s ok 91 /checksum/MD5/89 1087s ok 92 /checksum/MD5/90 1087s ok 93 /checksum/MD5/91 1087s ok 94 /checksum/MD5/92 1087s ok 95 /checksum/MD5/93 1087s ok 96 /checksum/MD5/94 1087s ok 97 /checksum/MD5/95 1087s ok 98 /checksum/MD5/96 1087s ok 99 /checksum/MD5/97 1087s ok 100 /checksum/MD5/98 1087s ok 101 /checksum/MD5/99 1087s ok 102 /checksum/MD5/100 1087s ok 103 /checksum/MD5/101 1087s ok 104 /checksum/MD5/102 1087s ok 105 /checksum/MD5/103 1087s ok 106 /checksum/MD5/104 1087s ok 107 /checksum/MD5/105 1087s ok 108 /checksum/MD5/106 1087s ok 109 /checksum/MD5/107 1087s ok 110 /checksum/MD5/108 1087s ok 111 /checksum/MD5/109 1087s ok 112 /checksum/MD5/110 1087s ok 113 /checksum/MD5/111 1087s ok 114 /checksum/MD5/112 1087s ok 115 /checksum/MD5/113 1087s ok 116 /checksum/MD5/114 1087s ok 117 /checksum/MD5/115 1087s ok 118 /checksum/MD5/116 1087s ok 119 /checksum/MD5/117 1087s ok 120 /checksum/MD5/118 1087s ok 121 /checksum/MD5/119 1087s ok 122 /checksum/MD5/120 1087s ok 123 /checksum/MD5/121 1087s ok 124 /checksum/MD5/122 1087s ok 125 /checksum/MD5/123 1087s ok 126 /checksum/MD5/124 1087s ok 127 /checksum/MD5/125 1087s ok 128 /checksum/MD5/126 1087s ok 129 /checksum/MD5/127 1087s ok 130 /checksum/MD5/128 1087s ok 131 /checksum/MD5/129 1087s ok 132 /checksum/MD5/130 1087s ok 133 /checksum/MD5/131 1087s ok 134 /checksum/MD5/132 1087s ok 135 /checksum/MD5/133 1087s ok 136 /checksum/MD5/134 1087s ok 137 /checksum/MD5/135 1087s ok 138 /checksum/MD5/136 1087s ok 139 /checksum/MD5/137 1087s ok 140 /checksum/MD5/138 1087s ok 141 /checksum/MD5/139 1087s ok 142 /checksum/MD5/140 1087s ok 143 /checksum/MD5/141 1087s ok 144 /checksum/MD5/142 1087s ok 145 /checksum/MD5/143 1087s ok 146 /checksum/MD5/144 1087s ok 147 /checksum/MD5/145 1087s ok 148 /checksum/MD5/146 1087s ok 149 /checksum/MD5/147 1087s ok 150 /checksum/MD5/148 1087s ok 151 /checksum/MD5/149 1087s ok 152 /checksum/MD5/150 1087s ok 153 /checksum/MD5/151 1087s ok 154 /checksum/MD5/152 1087s ok 155 /checksum/MD5/153 1087s ok 156 /checksum/MD5/154 1087s ok 157 /checksum/MD5/155 1087s ok 158 /checksum/MD5/156 1087s ok 159 /checksum/MD5/157 1087s ok 160 /checksum/MD5/158 1087s ok 161 /checksum/MD5/159 1087s ok 162 /checksum/MD5/160 1087s ok 163 /checksum/MD5/161 1087s ok 164 /checksum/MD5/162 1087s ok 165 /checksum/MD5/163 1087s ok 166 /checksum/MD5/164 1087s ok 167 /checksum/MD5/165 1087s ok 168 /checksum/MD5/166 1087s ok 169 /checksum/MD5/167 1087s ok 170 /checksum/MD5/168 1087s ok 171 /checksum/MD5/169 1087s ok 172 /checksum/MD5/170 1087s ok 173 /checksum/MD5/171 1087s ok 174 /checksum/MD5/172 1087s ok 175 /checksum/MD5/173 1087s ok 176 /checksum/MD5/174 1087s ok 177 /checksum/MD5/175 1087s ok 178 /checksum/MD5/176 1087s ok 179 /checksum/MD5/177 1087s ok 180 /checksum/MD5/178 1087s ok 181 /checksum/MD5/179 1087s ok 182 /checksum/MD5/180 1087s ok 183 /checksum/MD5/181 1087s ok 184 /checksum/MD5/182 1087s ok 185 /checksum/MD5/183 1087s ok 186 /checksum/MD5/string 1087s ok 187 /checksum/MD5/bytes 1087s # Start of reset tests 1087s ok 188 /checksum/MD5/reset/0 1087s ok 189 /checksum/MD5/reset/1 1087s ok 190 /checksum/MD5/reset/2 1087s ok 191 /checksum/MD5/reset/3 1087s ok 192 /checksum/MD5/reset/4 1087s ok 193 /checksum/MD5/reset/5 1087s ok 194 /checksum/MD5/reset/6 1087s ok 195 /checksum/MD5/reset/7 1087s ok 196 /checksum/MD5/reset/8 1087s ok 197 /checksum/MD5/reset/9 1087s ok 198 /checksum/MD5/reset/10 1087s ok 199 /checksum/MD5/reset/11 1087s ok 200 /checksum/MD5/reset/12 1087s ok 201 /checksum/MD5/reset/13 1087s ok 202 /checksum/MD5/reset/14 1087s ok 203 /checksum/MD5/reset/15 1087s ok 204 /checksum/MD5/reset/16 1087s ok 205 /checksum/MD5/reset/17 1087s ok 206 /checksum/MD5/reset/18 1087s ok 207 /checksum/MD5/reset/19 1087s ok 208 /checksum/MD5/reset/20 1087s ok 209 /checksum/MD5/reset/21 1087s ok 210 /checksum/MD5/reset/22 1087s ok 211 /checksum/MD5/reset/23 1087s ok 212 /checksum/MD5/reset/24 1087s ok 213 /checksum/MD5/reset/25 1087s ok 214 /checksum/MD5/reset/26 1087s ok 215 /checksum/MD5/reset/27 1087s ok 216 /checksum/MD5/reset/28 1087s ok 217 /checksum/MD5/reset/29 1087s ok 218 /checksum/MD5/reset/30 1087s ok 219 /checksum/MD5/reset/31 1087s ok 220 /checksum/MD5/reset/32 1087s ok 221 /checksum/MD5/reset/33 1087s ok 222 /checksum/MD5/reset/34 1087s ok 223 /checksum/MD5/reset/35 1087s ok 224 /checksum/MD5/reset/36 1087s ok 225 /checksum/MD5/reset/37 1087s ok 226 /checksum/MD5/reset/38 1087s ok 227 /checksum/MD5/reset/39 1087s ok 228 /checksum/MD5/reset/40 1087s ok 229 /checksum/MD5/reset/41 1087s ok 230 /checksum/MD5/reset/42 1087s ok 231 /checksum/MD5/reset/43 1087s ok 232 /checksum/MD5/reset/44 1087s ok 233 /checksum/MD5/reset/45 1087s ok 234 /checksum/MD5/reset/46 1087s ok 235 /checksum/MD5/reset/47 1087s ok 236 /checksum/MD5/reset/48 1087s ok 237 /checksum/MD5/reset/49 1087s ok 238 /checksum/MD5/reset/50 1087s ok 239 /checksum/MD5/reset/51 1087s ok 240 /checksum/MD5/reset/52 1087s ok 241 /checksum/MD5/reset/53 1087s ok 242 /checksum/MD5/reset/54 1087s ok 243 /checksum/MD5/reset/55 1087s ok 244 /checksum/MD5/reset/56 1087s ok 245 /checksum/MD5/reset/57 1087s ok 246 /checksum/MD5/reset/58 1087s ok 247 /checksum/MD5/reset/59 1087s ok 248 /checksum/MD5/reset/60 1087s ok 249 /checksum/MD5/reset/61 1087s ok 250 /checksum/MD5/reset/62 1087s ok 251 /checksum/MD5/reset/63 1087s ok 252 /checksum/MD5/reset/64 1087s ok 253 /checksum/MD5/reset/65 1087s ok 254 /checksum/MD5/reset/66 1087s ok 255 /checksum/MD5/reset/67 1087s ok 256 /checksum/MD5/reset/68 1087s ok 257 /checksum/MD5/reset/69 1087s ok 258 /checksum/MD5/reset/70 1087s ok 259 /checksum/MD5/reset/71 1087s ok 260 /checksum/MD5/reset/72 1087s ok 261 /checksum/MD5/reset/73 1087s ok 262 /checksum/MD5/reset/74 1087s ok 263 /checksum/MD5/reset/75 1087s ok 264 /checksum/MD5/reset/76 1087s ok 265 /checksum/MD5/reset/77 1087s ok 266 /checksum/MD5/reset/78 1087s ok 267 /checksum/MD5/reset/79 1087s ok 268 /checksum/MD5/reset/80 1087s ok 269 /checksum/MD5/reset/81 1087s ok 270 /checksum/MD5/reset/82 1087s ok 271 /checksum/MD5/reset/83 1087s ok 272 /checksum/MD5/reset/84 1087s ok 273 /checksum/MD5/reset/85 1087s ok 274 /checksum/MD5/reset/86 1087s ok 275 /checksum/MD5/reset/87 1087s ok 276 /checksum/MD5/reset/88 1087s ok 277 /checksum/MD5/reset/89 1087s ok 278 /checksum/MD5/reset/90 1087s ok 279 /checksum/MD5/reset/91 1087s ok 280 /checksum/MD5/reset/92 1087s ok 281 /checksum/MD5/reset/93 1087s ok 282 /checksum/MD5/reset/94 1087s ok 283 /checksum/MD5/reset/95 1087s ok 284 /checksum/MD5/reset/96 1087s ok 285 /checksum/MD5/reset/97 1087s ok 286 /checksum/MD5/reset/98 1087s ok 287 /checksum/MD5/reset/99 1087s ok 288 /checksum/MD5/reset/100 1087s ok 289 /checksum/MD5/reset/101 1087s ok 290 /checksum/MD5/reset/102 1087s ok 291 /checksum/MD5/reset/103 1087s ok 292 /checksum/MD5/reset/104 1087s ok 293 /checksum/MD5/reset/105 1087s ok 294 /checksum/MD5/reset/106 1087s ok 295 /checksum/MD5/reset/107 1087s ok 296 /checksum/MD5/reset/108 1087s ok 297 /checksum/MD5/reset/109 1087s ok 298 /checksum/MD5/reset/110 1087s ok 299 /checksum/MD5/reset/111 1087s ok 300 /checksum/MD5/reset/112 1087s ok 301 /checksum/MD5/reset/113 1087s ok 302 /checksum/MD5/reset/114 1087s ok 303 /checksum/MD5/reset/115 1087s ok 304 /checksum/MD5/reset/116 1087s ok 305 /checksum/MD5/reset/117 1087s ok 306 /checksum/MD5/reset/118 1087s ok 307 /checksum/MD5/reset/119 1087s ok 308 /checksum/MD5/reset/120 1087s ok 309 /checksum/MD5/reset/121 1087s ok 310 /checksum/MD5/reset/122 1087s ok 311 /checksum/MD5/reset/123 1087s ok 312 /checksum/MD5/reset/124 1087s ok 313 /checksum/MD5/reset/125 1087s ok 314 /checksum/MD5/reset/126 1087s ok 315 /checksum/MD5/reset/127 1087s ok 316 /checksum/MD5/reset/128 1087s ok 317 /checksum/MD5/reset/129 1087s ok 318 /checksum/MD5/reset/130 1087s ok 319 /checksum/MD5/reset/131 1087s ok 320 /checksum/MD5/reset/132 1087s ok 321 /checksum/MD5/reset/133 1087s ok 322 /checksum/MD5/reset/134 1087s ok 323 /checksum/MD5/reset/135 1087s ok 324 /checksum/MD5/reset/136 1087s ok 325 /checksum/MD5/reset/137 1087s ok 326 /checksum/MD5/reset/138 1087s ok 327 /checksum/MD5/reset/139 1087s ok 328 /checksum/MD5/reset/140 1087s ok 329 /checksum/MD5/reset/141 1087s ok 330 /checksum/MD5/reset/142 1087s ok 331 /checksum/MD5/reset/143 1087s ok 332 /checksum/MD5/reset/144 1087s ok 333 /checksum/MD5/reset/145 1087s ok 334 /checksum/MD5/reset/146 1087s ok 335 /checksum/MD5/reset/147 1087s ok 336 /checksum/MD5/reset/148 1087s ok 337 /checksum/MD5/reset/149 1087s ok 338 /checksum/MD5/reset/150 1087s ok 339 /checksum/MD5/reset/151 1087s ok 340 /checksum/MD5/reset/152 1087s ok 341 /checksum/MD5/reset/153 1087s ok 342 /checksum/MD5/reset/154 1087s ok 343 /checksum/MD5/reset/155 1087s ok 344 /checksum/MD5/reset/156 1087s ok 345 /checksum/MD5/reset/157 1087s ok 346 /checksum/MD5/reset/158 1087s ok 347 /checksum/MD5/reset/159 1087s ok 348 /checksum/MD5/reset/160 1087s ok 349 /checksum/MD5/reset/161 1087s ok 350 /checksum/MD5/reset/162 1087s ok 351 /checksum/MD5/reset/163 1087s ok 352 /checksum/MD5/reset/164 1087s ok 353 /checksum/MD5/reset/165 1087s ok 354 /checksum/MD5/reset/166 1087s ok 355 /checksum/MD5/reset/167 1087s ok 356 /checksum/MD5/reset/168 1087s ok 357 /checksum/MD5/reset/169 1087s ok 358 /checksum/MD5/reset/170 1087s ok 359 /checksum/MD5/reset/171 1087s ok 360 /checksum/MD5/reset/172 1087s ok 361 /checksum/MD5/reset/173 1087s ok 362 /checksum/MD5/reset/174 1087s ok 363 /checksum/MD5/reset/175 1087s ok 364 /checksum/MD5/reset/176 1087s ok 365 /checksum/MD5/reset/177 1087s ok 366 /checksum/MD5/reset/178 1087s ok 367 /checksum/MD5/reset/179 1087s ok 368 /checksum/MD5/reset/180 1087s ok 369 /checksum/MD5/reset/181 1087s ok 370 /checksum/MD5/reset/182 1087s ok 371 /checksum/MD5/reset/183 1087s # End of reset tests 1087s # End of MD5 tests 1087s # Start of SHA1 tests 1087s ok 372 /checksum/SHA1/0 1087s ok 373 /checksum/SHA1/1 1087s ok 374 /checksum/SHA1/2 1087s ok 375 /checksum/SHA1/3 1087s ok 376 /checksum/SHA1/4 1087s ok 377 /checksum/SHA1/5 1087s ok 378 /checksum/SHA1/6 1087s ok 379 /checksum/SHA1/7 1087s ok 380 /checksum/SHA1/8 1087s ok 381 /checksum/SHA1/9 1087s ok 382 /checksum/SHA1/10 1087s ok 383 /checksum/SHA1/11 1087s ok 384 /checksum/SHA1/12 1087s ok 385 /checksum/SHA1/13 1087s ok 386 /checksum/SHA1/14 1087s ok 387 /checksum/SHA1/15 1087s ok 388 /checksum/SHA1/16 1087s ok 389 /checksum/SHA1/17 1087s ok 390 /checksum/SHA1/18 1087s ok 391 /checksum/SHA1/19 1087s ok 392 /checksum/SHA1/20 1087s ok 393 /checksum/SHA1/21 1087s ok 394 /checksum/SHA1/22 1087s ok 395 /checksum/SHA1/23 1087s ok 396 /checksum/SHA1/24 1087s ok 397 /checksum/SHA1/25 1087s ok 398 /checksum/SHA1/26 1087s ok 399 /checksum/SHA1/27 1087s ok 400 /checksum/SHA1/28 1087s ok 401 /checksum/SHA1/29 1087s ok 402 /checksum/SHA1/30 1087s ok 403 /checksum/SHA1/31 1087s ok 404 /checksum/SHA1/32 1087s ok 405 /checksum/SHA1/33 1087s ok 406 /checksum/SHA1/34 1087s ok 407 /checksum/SHA1/35 1087s ok 408 /checksum/SHA1/36 1087s ok 409 /checksum/SHA1/37 1087s ok 410 /checksum/SHA1/38 1087s ok 411 /checksum/SHA1/39 1087s ok 412 /checksum/SHA1/40 1087s ok 413 /checksum/SHA1/41 1087s ok 414 /checksum/SHA1/42 1087s ok 415 /checksum/SHA1/43 1087s ok 416 /checksum/SHA1/44 1087s ok 417 /checksum/SHA1/45 1087s ok 418 /checksum/SHA1/46 1087s ok 419 /checksum/SHA1/47 1087s ok 420 /checksum/SHA1/48 1087s ok 421 /checksum/SHA1/49 1087s ok 422 /checksum/SHA1/50 1087s ok 423 /checksum/SHA1/51 1087s ok 424 /checksum/SHA1/52 1087s ok 425 /checksum/SHA1/53 1087s ok 426 /checksum/SHA1/54 1087s ok 427 /checksum/SHA1/55 1087s ok 428 /checksum/SHA1/56 1087s ok 429 /checksum/SHA1/57 1087s ok 430 /checksum/SHA1/58 1087s ok 431 /checksum/SHA1/59 1087s ok 432 /checksum/SHA1/60 1087s ok 433 /checksum/SHA1/61 1087s ok 434 /checksum/SHA1/62 1087s ok 435 /checksum/SHA1/63 1087s ok 436 /checksum/SHA1/64 1087s ok 437 /checksum/SHA1/65 1087s ok 438 /checksum/SHA1/66 1087s ok 439 /checksum/SHA1/67 1087s ok 440 /checksum/SHA1/68 1087s ok 441 /checksum/SHA1/69 1087s ok 442 /checksum/SHA1/70 1087s ok 443 /checksum/SHA1/71 1087s ok 444 /checksum/SHA1/72 1087s ok 445 /checksum/SHA1/73 1087s ok 446 /checksum/SHA1/74 1087s ok 447 /checksum/SHA1/75 1087s ok 448 /checksum/SHA1/76 1087s ok 449 /checksum/SHA1/77 1087s ok 450 /checksum/SHA1/78 1087s ok 451 /checksum/SHA1/79 1087s ok 452 /checksum/SHA1/80 1087s ok 453 /checksum/SHA1/81 1087s ok 454 /checksum/SHA1/82 1087s ok 455 /checksum/SHA1/83 1087s ok 456 /checksum/SHA1/84 1087s ok 457 /checksum/SHA1/85 1087s ok 458 /checksum/SHA1/86 1087s ok 459 /checksum/SHA1/87 1087s ok 460 /checksum/SHA1/88 1087s ok 461 /checksum/SHA1/89 1087s ok 462 /checksum/SHA1/90 1087s ok 463 /checksum/SHA1/91 1087s ok 464 /checksum/SHA1/92 1087s ok 465 /checksum/SHA1/93 1087s ok 466 /checksum/SHA1/94 1087s ok 467 /checksum/SHA1/95 1087s ok 468 /checksum/SHA1/96 1087s ok 469 /checksum/SHA1/97 1087s ok 470 /checksum/SHA1/98 1087s ok 471 /checksum/SHA1/99 1087s ok 472 /checksum/SHA1/100 1087s ok 473 /checksum/SHA1/101 1087s ok 474 /checksum/SHA1/102 1087s ok 475 /checksum/SHA1/103 1087s ok 476 /checksum/SHA1/104 1087s ok 477 /checksum/SHA1/105 1087s ok 478 /checksum/SHA1/106 1087s ok 479 /checksum/SHA1/107 1087s ok 480 /checksum/SHA1/108 1087s ok 481 /checksum/SHA1/109 1087s ok 482 /checksum/SHA1/110 1087s ok 483 /checksum/SHA1/111 1087s ok 484 /checksum/SHA1/112 1087s ok 485 /checksum/SHA1/113 1087s ok 486 /checksum/SHA1/114 1087s ok 487 /checksum/SHA1/115 1087s ok 488 /checksum/SHA1/116 1087s ok 489 /checksum/SHA1/117 1087s ok 490 /checksum/SHA1/118 1087s ok 491 /checksum/SHA1/119 1087s ok 492 /checksum/SHA1/120 1087s ok 493 /checksum/SHA1/121 1087s ok 494 /checksum/SHA1/122 1087s ok 495 /checksum/SHA1/123 1087s ok 496 /checksum/SHA1/124 1087s ok 497 /checksum/SHA1/125 1088s ok 498 /checksum/SHA1/126 1088s ok 499 /checksum/SHA1/127 1088s ok 500 /checksum/SHA1/128 1088s ok 501 /checksum/SHA1/129 1088s ok 502 /checksum/SHA1/130 1088s ok 503 /checksum/SHA1/131 1088s ok 504 /checksum/SHA1/132 1088s ok 505 /checksum/SHA1/133 1088s ok 506 /checksum/SHA1/134 1088s ok 507 /checksum/SHA1/135 1088s ok 508 /checksum/SHA1/136 1088s ok 509 /checksum/SHA1/137 1088s ok 510 /checksum/SHA1/138 1088s ok 511 /checksum/SHA1/139 1088s ok 512 /checksum/SHA1/140 1088s ok 513 /checksum/SHA1/141 1088s ok 514 /checksum/SHA1/142 1088s ok 515 /checksum/SHA1/143 1088s ok 516 /checksum/SHA1/144 1088s ok 517 /checksum/SHA1/145 1088s ok 518 /checksum/SHA1/146 1088s ok 519 /checksum/SHA1/147 1088s ok 520 /checksum/SHA1/148 1088s ok 521 /checksum/SHA1/149 1088s ok 522 /checksum/SHA1/150 1088s ok 523 /checksum/SHA1/151 1088s ok 524 /checksum/SHA1/152 1088s ok 525 /checksum/SHA1/153 1088s ok 526 /checksum/SHA1/154 1088s ok 527 /checksum/SHA1/155 1088s ok 528 /checksum/SHA1/156 1088s ok 529 /checksum/SHA1/157 1088s ok 530 /checksum/SHA1/158 1088s ok 531 /checksum/SHA1/159 1088s ok 532 /checksum/SHA1/160 1088s ok 533 /checksum/SHA1/161 1088s ok 534 /checksum/SHA1/162 1088s ok 535 /checksum/SHA1/163 1088s ok 536 /checksum/SHA1/164 1088s ok 537 /checksum/SHA1/165 1088s ok 538 /checksum/SHA1/166 1088s ok 539 /checksum/SHA1/167 1088s ok 540 /checksum/SHA1/168 1088s ok 541 /checksum/SHA1/169 1088s ok 542 /checksum/SHA1/170 1088s ok 543 /checksum/SHA1/171 1088s ok 544 /checksum/SHA1/172 1088s ok 545 /checksum/SHA1/173 1088s ok 546 /checksum/SHA1/174 1088s ok 547 /checksum/SHA1/175 1088s ok 548 /checksum/SHA1/176 1088s ok 549 /checksum/SHA1/177 1088s ok 550 /checksum/SHA1/178 1088s ok 551 /checksum/SHA1/179 1088s ok 552 /checksum/SHA1/180 1088s ok 553 /checksum/SHA1/181 1088s ok 554 /checksum/SHA1/182 1088s ok 555 /checksum/SHA1/183 1088s ok 556 /checksum/SHA1/string 1088s ok 557 /checksum/SHA1/bytes 1088s # Start of reset tests 1088s ok 558 /checksum/SHA1/reset/0 1088s ok 559 /checksum/SHA1/reset/1 1088s ok 560 /checksum/SHA1/reset/2 1088s ok 561 /checksum/SHA1/reset/3 1088s ok 562 /checksum/SHA1/reset/4 1088s ok 563 /checksum/SHA1/reset/5 1088s ok 564 /checksum/SHA1/reset/6 1088s ok 565 /checksum/SHA1/reset/7 1088s ok 566 /checksum/SHA1/reset/8 1088s ok 567 /checksum/SHA1/reset/9 1088s ok 568 /checksum/SHA1/reset/10 1088s ok 569 /checksum/SHA1/reset/11 1088s ok 570 /checksum/SHA1/reset/12 1088s ok 571 /checksum/SHA1/reset/13 1088s ok 572 /checksum/SHA1/reset/14 1088s ok 573 /checksum/SHA1/reset/15 1088s ok 574 /checksum/SHA1/reset/16 1088s ok 575 /checksum/SHA1/reset/17 1088s ok 576 /checksum/SHA1/reset/18 1088s ok 577 /checksum/SHA1/reset/19 1088s ok 578 /checksum/SHA1/reset/20 1088s ok 579 /checksum/SHA1/reset/21 1088s ok 580 /checksum/SHA1/reset/22 1088s ok 581 /checksum/SHA1/reset/23 1088s ok 582 /checksum/SHA1/reset/24 1088s ok 583 /checksum/SHA1/reset/25 1088s ok 584 /checksum/SHA1/reset/26 1088s ok 585 /checksum/SHA1/reset/27 1088s ok 586 /checksum/SHA1/reset/28 1088s ok 587 /checksum/SHA1/reset/29 1088s ok 588 /checksum/SHA1/reset/30 1088s ok 589 /checksum/SHA1/reset/31 1088s ok 590 /checksum/SHA1/reset/32 1088s ok 591 /checksum/SHA1/reset/33 1088s ok 592 /checksum/SHA1/reset/34 1088s ok 593 /checksum/SHA1/reset/35 1088s ok 594 /checksum/SHA1/reset/36 1088s ok 595 /checksum/SHA1/reset/37 1088s ok 596 /checksum/SHA1/reset/38 1088s ok 597 /checksum/SHA1/reset/39 1088s ok 598 /checksum/SHA1/reset/40 1088s ok 599 /checksum/SHA1/reset/41 1088s ok 600 /checksum/SHA1/reset/42 1088s ok 601 /checksum/SHA1/reset/43 1088s ok 602 /checksum/SHA1/reset/44 1088s ok 603 /checksum/SHA1/reset/45 1088s ok 604 /checksum/SHA1/reset/46 1088s ok 605 /checksum/SHA1/reset/47 1088s ok 606 /checksum/SHA1/reset/48 1088s ok 607 /checksum/SHA1/reset/49 1088s ok 608 /checksum/SHA1/reset/50 1088s ok 609 /checksum/SHA1/reset/51 1088s ok 610 /checksum/SHA1/reset/52 1088s ok 611 /checksum/SHA1/reset/53 1088s ok 612 /checksum/SHA1/reset/54 1088s ok 613 /checksum/SHA1/reset/55 1088s ok 614 /checksum/SHA1/reset/56 1088s ok 615 /checksum/SHA1/reset/57 1088s ok 616 /checksum/SHA1/reset/58 1088s ok 617 /checksum/SHA1/reset/59 1088s ok 618 /checksum/SHA1/reset/60 1088s ok 619 /checksum/SHA1/reset/61 1088s ok 620 /checksum/SHA1/reset/62 1088s ok 621 /checksum/SHA1/reset/63 1088s ok 622 /checksum/SHA1/reset/64 1088s ok 623 /checksum/SHA1/reset/65 1088s ok 624 /checksum/SHA1/reset/66 1088s ok 625 /checksum/SHA1/reset/67 1088s ok 626 /checksum/SHA1/reset/68 1088s ok 627 /checksum/SHA1/reset/69 1088s ok 628 /checksum/SHA1/reset/70 1088s ok 629 /checksum/SHA1/reset/71 1088s ok 630 /checksum/SHA1/reset/72 1088s ok 631 /checksum/SHA1/reset/73 1088s ok 632 /checksum/SHA1/reset/74 1088s ok 633 /checksum/SHA1/reset/75 1088s ok 634 /checksum/SHA1/reset/76 1088s ok 635 /checksum/SHA1/reset/77 1088s ok 636 /checksum/SHA1/reset/78 1088s ok 637 /checksum/SHA1/reset/79 1088s ok 638 /checksum/SHA1/reset/80 1088s ok 639 /checksum/SHA1/reset/81 1088s ok 640 /checksum/SHA1/reset/82 1088s ok 641 /checksum/SHA1/reset/83 1088s ok 642 /checksum/SHA1/reset/84 1088s ok 643 /checksum/SHA1/reset/85 1088s ok 644 /checksum/SHA1/reset/86 1088s ok 645 /checksum/SHA1/reset/87 1088s ok 646 /checksum/SHA1/reset/88 1088s ok 647 /checksum/SHA1/reset/89 1088s ok 648 /checksum/SHA1/reset/90 1088s ok 649 /checksum/SHA1/reset/91 1088s ok 650 /checksum/SHA1/reset/92 1088s ok 651 /checksum/SHA1/reset/93 1088s ok 652 /checksum/SHA1/reset/94 1088s ok 653 /checksum/SHA1/reset/95 1088s ok 654 /checksum/SHA1/reset/96 1088s ok 655 /checksum/SHA1/reset/97 1088s ok 656 /checksum/SHA1/reset/98 1088s ok 657 /checksum/SHA1/reset/99 1088s ok 658 /checksum/SHA1/reset/100 1088s ok 659 /checksum/SHA1/reset/101 1088s ok 660 /checksum/SHA1/reset/102 1088s ok 661 /checksum/SHA1/reset/103 1088s ok 662 /checksum/SHA1/reset/104 1088s ok 663 /checksum/SHA1/reset/105 1088s ok 664 /checksum/SHA1/reset/106 1088s ok 665 /checksum/SHA1/reset/107 1088s ok 666 /checksum/SHA1/reset/108 1088s ok 667 /checksum/SHA1/reset/109 1088s ok 668 /checksum/SHA1/reset/110 1088s ok 669 /checksum/SHA1/reset/111 1088s ok 670 /checksum/SHA1/reset/112 1088s ok 671 /checksum/SHA1/reset/113 1088s ok 672 /checksum/SHA1/reset/114 1088s ok 673 /checksum/SHA1/reset/115 1088s ok 674 /checksum/SHA1/reset/116 1088s ok 675 /checksum/SHA1/reset/117 1088s ok 676 /checksum/SHA1/reset/118 1088s ok 677 /checksum/SHA1/reset/119 1088s ok 678 /checksum/SHA1/reset/120 1088s ok 679 /checksum/SHA1/reset/121 1088s ok 680 /checksum/SHA1/reset/122 1088s ok 681 /checksum/SHA1/reset/123 1088s ok 682 /checksum/SHA1/reset/124 1088s ok 683 /checksum/SHA1/reset/125 1088s ok 684 /checksum/SHA1/reset/126 1088s ok 685 /checksum/SHA1/reset/127 1088s ok 686 /checksum/SHA1/reset/128 1088s ok 687 /checksum/SHA1/reset/129 1088s ok 688 /checksum/SHA1/reset/130 1088s ok 689 /checksum/SHA1/reset/131 1088s ok 690 /checksum/SHA1/reset/132 1088s ok 691 /checksum/SHA1/reset/133 1088s ok 692 /checksum/SHA1/reset/134 1088s ok 693 /checksum/SHA1/reset/135 1088s ok 694 /checksum/SHA1/reset/136 1088s ok 695 /checksum/SHA1/reset/137 1088s ok 696 /checksum/SHA1/reset/138 1088s ok 697 /checksum/SHA1/reset/139 1088s ok 698 /checksum/SHA1/reset/140 1088s ok 699 /checksum/SHA1/reset/141 1088s ok 700 /checksum/SHA1/reset/142 1088s ok 701 /checksum/SHA1/reset/143 1088s ok 702 /checksum/SHA1/reset/144 1088s ok 703 /checksum/SHA1/reset/145 1088s ok 704 /checksum/SHA1/reset/146 1088s ok 705 /checksum/SHA1/reset/147 1088s ok 706 /checksum/SHA1/reset/148 1088s ok 707 /checksum/SHA1/reset/149 1088s ok 708 /checksum/SHA1/reset/150 1088s ok 709 /checksum/SHA1/reset/151 1088s ok 710 /checksum/SHA1/reset/152 1088s ok 711 /checksum/SHA1/reset/153 1088s ok 712 /checksum/SHA1/reset/154 1088s ok 713 /checksum/SHA1/reset/155 1088s ok 714 /checksum/SHA1/reset/156 1088s ok 715 /checksum/SHA1/reset/157 1088s ok 716 /checksum/SHA1/reset/158 1088s ok 717 /checksum/SHA1/reset/159 1088s ok 718 /checksum/SHA1/reset/160 1088s ok 719 /checksum/SHA1/reset/161 1088s ok 720 /checksum/SHA1/reset/162 1088s ok 721 /checksum/SHA1/reset/163 1088s ok 722 /checksum/SHA1/reset/164 1088s ok 723 /checksum/SHA1/reset/165 1088s ok 724 /checksum/SHA1/reset/166 1088s ok 725 /checksum/SHA1/reset/167 1088s ok 726 /checksum/SHA1/reset/168 1088s ok 727 /checksum/SHA1/reset/169 1088s ok 728 /checksum/SHA1/reset/170 1088s ok 729 /checksum/SHA1/reset/171 1088s ok 730 /checksum/SHA1/reset/172 1088s ok 731 /checksum/SHA1/reset/173 1088s ok 732 /checksum/SHA1/reset/174 1088s ok 733 /checksum/SHA1/reset/175 1088s ok 734 /checksum/SHA1/reset/176 1088s ok 735 /checksum/SHA1/reset/177 1088s ok 736 /checksum/SHA1/reset/178 1088s ok 737 /checksum/SHA1/reset/179 1088s ok 738 /checksum/SHA1/reset/180 1088s ok 739 /checksum/SHA1/reset/181 1088s ok 740 /checksum/SHA1/reset/182 1088s ok 741 /checksum/SHA1/reset/183 1088s # End of reset tests 1088s # End of SHA1 tests 1088s # Start of SHA256 tests 1088s ok 742 /checksum/SHA256/0 1088s ok 743 /checksum/SHA256/1 1088s ok 744 /checksum/SHA256/2 1088s ok 745 /checksum/SHA256/3 1088s ok 746 /checksum/SHA256/4 1088s ok 747 /checksum/SHA256/5 1088s ok 748 /checksum/SHA256/6 1088s ok 749 /checksum/SHA256/7 1088s ok 750 /checksum/SHA256/8 1088s ok 751 /checksum/SHA256/9 1088s ok 752 /checksum/SHA256/10 1088s ok 753 /checksum/SHA256/11 1088s ok 754 /checksum/SHA256/12 1088s ok 755 /checksum/SHA256/13 1088s ok 756 /checksum/SHA256/14 1088s ok 757 /checksum/SHA256/15 1088s ok 758 /checksum/SHA256/16 1088s ok 759 /checksum/SHA256/17 1088s ok 760 /checksum/SHA256/18 1088s ok 761 /checksum/SHA256/19 1088s ok 762 /checksum/SHA256/20 1088s ok 763 /checksum/SHA256/21 1088s ok 764 /checksum/SHA256/22 1088s ok 765 /checksum/SHA256/23 1088s ok 766 /checksum/SHA256/24 1088s ok 767 /checksum/SHA256/25 1088s ok 768 /checksum/SHA256/26 1088s ok 769 /checksum/SHA256/27 1088s ok 770 /checksum/SHA256/28 1088s ok 771 /checksum/SHA256/29 1088s ok 772 /checksum/SHA256/30 1088s ok 773 /checksum/SHA256/31 1088s ok 774 /checksum/SHA256/32 1088s ok 775 /checksum/SHA256/33 1088s ok 776 /checksum/SHA256/34 1088s ok 777 /checksum/SHA256/35 1088s ok 778 /checksum/SHA256/36 1088s ok 779 /checksum/SHA256/37 1088s ok 780 /checksum/SHA256/38 1088s ok 781 /checksum/SHA256/39 1088s ok 782 /checksum/SHA256/40 1088s ok 783 /checksum/SHA256/41 1088s ok 784 /checksum/SHA256/42 1088s ok 785 /checksum/SHA256/43 1088s ok 786 /checksum/SHA256/44 1088s ok 787 /checksum/SHA256/45 1088s ok 788 /checksum/SHA256/46 1088s ok 789 /checksum/SHA256/47 1088s ok 790 /checksum/SHA256/48 1088s ok 791 /checksum/SHA256/49 1088s ok 792 /checksum/SHA256/50 1088s ok 793 /checksum/SHA256/51 1088s ok 794 /checksum/SHA256/52 1088s ok 795 /checksum/SHA256/53 1088s ok 796 /checksum/SHA256/54 1088s ok 797 /checksum/SHA256/55 1088s ok 798 /checksum/SHA256/56 1088s ok 799 /checksum/SHA256/57 1088s ok 800 /checksum/SHA256/58 1088s ok 801 /checksum/SHA256/59 1088s ok 802 /checksum/SHA256/60 1088s ok 803 /checksum/SHA256/61 1088s ok 804 /checksum/SHA256/62 1088s ok 805 /checksum/SHA256/63 1088s ok 806 /checksum/SHA256/64 1088s ok 807 /checksum/SHA256/65 1088s ok 808 /checksum/SHA256/66 1088s ok 809 /checksum/SHA256/67 1088s ok 810 /checksum/SHA256/68 1088s ok 811 /checksum/SHA256/69 1088s ok 812 /checksum/SHA256/70 1088s ok 813 /checksum/SHA256/71 1088s ok 814 /checksum/SHA256/72 1088s ok 815 /checksum/SHA256/73 1088s ok 816 /checksum/SHA256/74 1088s ok 817 /checksum/SHA256/75 1088s ok 818 /checksum/SHA256/76 1088s ok 819 /checksum/SHA256/77 1088s ok 820 /checksum/SHA256/78 1088s ok 821 /checksum/SHA256/79 1088s ok 822 /checksum/SHA256/80 1088s ok 823 /checksum/SHA256/81 1088s ok 824 /checksum/SHA256/82 1088s ok 825 /checksum/SHA256/83 1088s ok 826 /checksum/SHA256/84 1088s ok 827 /checksum/SHA256/85 1088s ok 828 /checksum/SHA256/86 1088s ok 829 /checksum/SHA256/87 1088s ok 830 /checksum/SHA256/88 1088s ok 831 /checksum/SHA256/89 1088s ok 832 /checksum/SHA256/90 1088s ok 833 /checksum/SHA256/91 1088s ok 834 /checksum/SHA256/92 1088s ok 835 /checksum/SHA256/93 1088s ok 836 /checksum/SHA256/94 1088s ok 837 /checksum/SHA256/95 1088s ok 838 /checksum/SHA256/96 1088s ok 839 /checksum/SHA256/97 1088s ok 840 /checksum/SHA256/98 1088s ok 841 /checksum/SHA256/99 1088s ok 842 /checksum/SHA256/100 1088s ok 843 /checksum/SHA256/101 1088s ok 844 /checksum/SHA256/102 1088s ok 845 /checksum/SHA256/103 1088s ok 846 /checksum/SHA256/104 1088s ok 847 /checksum/SHA256/105 1088s ok 848 /checksum/SHA256/106 1088s ok 849 /checksum/SHA256/107 1088s ok 850 /checksum/SHA256/108 1088s ok 851 /checksum/SHA256/109 1088s ok 852 /checksum/SHA256/110 1088s ok 853 /checksum/SHA256/111 1088s ok 854 /checksum/SHA256/112 1088s ok 855 /checksum/SHA256/113 1088s ok 856 /checksum/SHA256/114 1088s ok 857 /checksum/SHA256/115 1088s ok 858 /checksum/SHA256/116 1088s ok 859 /checksum/SHA256/117 1088s ok 860 /checksum/SHA256/118 1088s ok 861 /checksum/SHA256/119 1088s ok 862 /checksum/SHA256/120 1088s ok 863 /checksum/SHA256/121 1088s ok 864 /checksum/SHA256/122 1088s ok 865 /checksum/SHA256/123 1088s ok 866 /checksum/SHA256/124 1088s ok 867 /checksum/SHA256/125 1088s ok 868 /checksum/SHA256/126 1088s ok 869 /checksum/SHA256/127 1088s ok 870 /checksum/SHA256/128 1088s ok 871 /checksum/SHA256/129 1088s ok 872 /checksum/SHA256/130 1088s ok 873 /checksum/SHA256/131 1088s ok 874 /checksum/SHA256/132 1088s ok 875 /checksum/SHA256/133 1088s ok 876 /checksum/SHA256/134 1088s ok 877 /checksum/SHA256/135 1088s ok 878 /checksum/SHA256/136 1088s ok 879 /checksum/SHA256/137 1088s ok 880 /checksum/SHA256/138 1088s ok 881 /checksum/SHA256/139 1088s ok 882 /checksum/SHA256/140 1088s ok 883 /checksum/SHA256/141 1088s ok 884 /checksum/SHA256/142 1088s ok 885 /checksum/SHA256/143 1088s ok 886 /checksum/SHA256/144 1088s ok 887 /checksum/SHA256/145 1088s ok 888 /checksum/SHA256/146 1088s ok 889 /checksum/SHA256/147 1088s ok 890 /checksum/SHA256/148 1088s ok 891 /checksum/SHA256/149 1088s ok 892 /checksum/SHA256/150 1088s ok 893 /checksum/SHA256/151 1088s ok 894 /checksum/SHA256/152 1088s ok 895 /checksum/SHA256/153 1088s ok 896 /checksum/SHA256/154 1088s ok 897 /checksum/SHA256/155 1088s ok 898 /checksum/SHA256/156 1088s ok 899 /checksum/SHA256/157 1088s ok 900 /checksum/SHA256/158 1088s ok 901 /checksum/SHA256/159 1088s ok 902 /checksum/SHA256/160 1088s ok 903 /checksum/SHA256/161 1088s ok 904 /checksum/SHA256/162 1088s ok 905 /checksum/SHA256/163 1088s ok 906 /checksum/SHA256/164 1088s ok 907 /checksum/SHA256/165 1088s ok 908 /checksum/SHA256/166 1088s ok 909 /checksum/SHA256/167 1088s ok 910 /checksum/SHA256/168 1088s ok 911 /checksum/SHA256/169 1088s ok 912 /checksum/SHA256/170 1088s ok 913 /checksum/SHA256/171 1088s ok 914 /checksum/SHA256/172 1088s ok 915 /checksum/SHA256/173 1088s ok 916 /checksum/SHA256/174 1088s ok 917 /checksum/SHA256/175 1088s ok 918 /checksum/SHA256/176 1088s ok 919 /checksum/SHA256/177 1088s ok 920 /checksum/SHA256/178 1088s ok 921 /checksum/SHA256/179 1088s ok 922 /checksum/SHA256/180 1088s ok 923 /checksum/SHA256/181 1088s ok 924 /checksum/SHA256/182 1088s ok 925 /checksum/SHA256/183 1088s ok 926 /checksum/SHA256/string 1088s ok 927 /checksum/SHA256/bytes 1088s # Start of reset tests 1088s ok 928 /checksum/SHA256/reset/0 1088s ok 929 /checksum/SHA256/reset/1 1088s ok 930 /checksum/SHA256/reset/2 1088s ok 931 /checksum/SHA256/reset/3 1088s ok 932 /checksum/SHA256/reset/4 1088s ok 933 /checksum/SHA256/reset/5 1088s ok 934 /checksum/SHA256/reset/6 1088s ok 935 /checksum/SHA256/reset/7 1088s ok 936 /checksum/SHA256/reset/8 1088s ok 937 /checksum/SHA256/reset/9 1088s ok 938 /checksum/SHA256/reset/10 1088s ok 939 /checksum/SHA256/reset/11 1088s ok 940 /checksum/SHA256/reset/12 1088s ok 941 /checksum/SHA256/reset/13 1088s ok 942 /checksum/SHA256/reset/14 1088s ok 943 /checksum/SHA256/reset/15 1088s ok 944 /checksum/SHA256/reset/16 1088s ok 945 /checksum/SHA256/reset/17 1088s ok 946 /checksum/SHA256/reset/18 1088s ok 947 /checksum/SHA256/reset/19 1088s ok 948 /checksum/SHA256/reset/20 1088s ok 949 /checksum/SHA256/reset/21 1088s ok 950 /checksum/SHA256/reset/22 1088s ok 951 /checksum/SHA256/reset/23 1088s ok 952 /checksum/SHA256/reset/24 1088s ok 953 /checksum/SHA256/reset/25 1088s ok 954 /checksum/SHA256/reset/26 1088s ok 955 /checksum/SHA256/reset/27 1088s ok 956 /checksum/SHA256/reset/28 1088s ok 957 /checksum/SHA256/reset/29 1088s ok 958 /checksum/SHA256/reset/30 1088s ok 959 /checksum/SHA256/reset/31 1088s ok 960 /checksum/SHA256/reset/32 1088s ok 961 /checksum/SHA256/reset/33 1088s ok 962 /checksum/SHA256/reset/34 1088s ok 963 /checksum/SHA256/reset/35 1088s ok 964 /checksum/SHA256/reset/36 1088s ok 965 /checksum/SHA256/reset/37 1088s ok 966 /checksum/SHA256/reset/38 1088s ok 967 /checksum/SHA256/reset/39 1088s ok 968 /checksum/SHA256/reset/40 1088s ok 969 /checksum/SHA256/reset/41 1088s ok 970 /checksum/SHA256/reset/42 1088s ok 971 /checksum/SHA256/reset/43 1088s ok 972 /checksum/SHA256/reset/44 1088s ok 973 /checksum/SHA256/reset/45 1088s ok 974 /checksum/SHA256/reset/46 1088s ok 975 /checksum/SHA256/reset/47 1088s ok 976 /checksum/SHA256/reset/48 1088s ok 977 /checksum/SHA256/reset/49 1088s ok 978 /checksum/SHA256/reset/50 1088s ok 979 /checksum/SHA256/reset/51 1088s ok 980 /checksum/SHA256/reset/52 1088s ok 981 /checksum/SHA256/reset/53 1088s ok 982 /checksum/SHA256/reset/54 1088s ok 983 /checksum/SHA256/reset/55 1088s ok 984 /checksum/SHA256/reset/56 1088s ok 985 /checksum/SHA256/reset/57 1088s ok 986 /checksum/SHA256/reset/58 1088s ok 987 /checksum/SHA256/reset/59 1088s ok 988 /checksum/SHA256/reset/60 1088s ok 989 /checksum/SHA256/reset/61 1088s ok 990 /checksum/SHA256/reset/62 1088s ok 991 /checksum/SHA256/reset/63 1088s ok 992 /checksum/SHA256/reset/64 1088s ok 993 /checksum/SHA256/reset/65 1088s ok 994 /checksum/SHA256/reset/66 1088s ok 995 /checksum/SHA256/reset/67 1088s ok 996 /checksum/SHA256/reset/68 1088s ok 997 /checksum/SHA256/reset/69 1088s ok 998 /checksum/SHA256/reset/70 1088s ok 999 /checksum/SHA256/reset/71 1088s ok 1000 /checksum/SHA256/reset/72 1088s ok 1001 /checksum/SHA256/reset/73 1088s ok 1002 /checksum/SHA256/reset/74 1088s ok 1003 /checksum/SHA256/reset/75 1088s ok 1004 /checksum/SHA256/reset/76 1088s ok 1005 /checksum/SHA256/reset/77 1088s ok 1006 /checksum/SHA256/reset/78 1088s ok 1007 /checksum/SHA256/reset/79 1088s ok 1008 /checksum/SHA256/reset/80 1088s ok 1009 /checksum/SHA256/reset/81 1088s ok 1010 /checksum/SHA256/reset/82 1088s ok 1011 /checksum/SHA256/reset/83 1088s ok 1012 /checksum/SHA256/reset/84 1088s ok 1013 /checksum/SHA256/reset/85 1088s ok 1014 /checksum/SHA256/reset/86 1088s ok 1015 /checksum/SHA256/reset/87 1088s ok 1016 /checksum/SHA256/reset/88 1088s ok 1017 /checksum/SHA256/reset/89 1088s ok 1018 /checksum/SHA256/reset/90 1088s ok 1019 /checksum/SHA256/reset/91 1088s ok 1020 /checksum/SHA256/reset/92 1088s ok 1021 /checksum/SHA256/reset/93 1088s ok 1022 /checksum/SHA256/reset/94 1088s ok 1023 /checksum/SHA256/reset/95 1088s ok 1024 /checksum/SHA256/reset/96 1088s ok 1025 /checksum/SHA256/reset/97 1088s ok 1026 /checksum/SHA256/reset/98 1088s ok 1027 /checksum/SHA256/reset/99 1088s ok 1028 /checksum/SHA256/reset/100 1088s ok 1029 /checksum/SHA256/reset/101 1088s ok 1030 /checksum/SHA256/reset/102 1088s ok 1031 /checksum/SHA256/reset/103 1088s ok 1032 /checksum/SHA256/reset/104 1088s ok 1033 /checksum/SHA256/reset/105 1088s ok 1034 /checksum/SHA256/reset/106 1088s ok 1035 /checksum/SHA256/reset/107 1088s ok 1036 /checksum/SHA256/reset/108 1088s ok 1037 /checksum/SHA256/reset/109 1088s ok 1038 /checksum/SHA256/reset/110 1088s ok 1039 /checksum/SHA256/reset/111 1088s ok 1040 /checksum/SHA256/reset/112 1088s ok 1041 /checksum/SHA256/reset/113 1088s ok 1042 /checksum/SHA256/reset/114 1088s ok 1043 /checksum/SHA256/reset/115 1088s ok 1044 /checksum/SHA256/reset/116 1088s ok 1045 /checksum/SHA256/reset/117 1088s ok 1046 /checksum/SHA256/reset/118 1088s ok 1047 /checksum/SHA256/reset/119 1088s ok 1048 /checksum/SHA256/reset/120 1088s ok 1049 /checksum/SHA256/reset/121 1088s ok 1050 /checksum/SHA256/reset/122 1088s ok 1051 /checksum/SHA256/reset/123 1088s ok 1052 /checksum/SHA256/reset/124 1088s ok 1053 /checksum/SHA256/reset/125 1088s ok 1054 /checksum/SHA256/reset/126 1088s ok 1055 /checksum/SHA256/reset/127 1088s ok 1056 /checksum/SHA256/reset/128 1088s ok 1057 /checksum/SHA256/reset/129 1088s ok 1058 /checksum/SHA256/reset/130 1088s ok 1059 /checksum/SHA256/reset/131 1088s ok 1060 /checksum/SHA256/reset/132 1088s ok 1061 /checksum/SHA256/reset/133 1088s ok 1062 /checksum/SHA256/reset/134 1088s ok 1063 /checksum/SHA256/reset/135 1088s ok 1064 /checksum/SHA256/reset/136 1088s ok 1065 /checksum/SHA256/reset/137 1088s ok 1066 /checksum/SHA256/reset/138 1088s ok 1067 /checksum/SHA256/reset/139 1088s ok 1068 /checksum/SHA256/reset/140 1088s ok 1069 /checksum/SHA256/reset/141 1088s ok 1070 /checksum/SHA256/reset/142 1088s ok 1071 /checksum/SHA256/reset/143 1088s ok 1072 /checksum/SHA256/reset/144 1088s ok 1073 /checksum/SHA256/reset/145 1088s ok 1074 /checksum/SHA256/reset/146 1088s ok 1075 /checksum/SHA256/reset/147 1088s ok 1076 /checksum/SHA256/reset/148 1088s ok 1077 /checksum/SHA256/reset/149 1088s ok 1078 /checksum/SHA256/reset/150 1088s ok 1079 /checksum/SHA256/reset/151 1088s ok 1080 /checksum/SHA256/reset/152 1088s ok 1081 /checksum/SHA256/reset/153 1088s ok 1082 /checksum/SHA256/reset/154 1088s ok 1083 /checksum/SHA256/reset/155 1088s ok 1084 /checksum/SHA256/reset/156 1088s ok 1085 /checksum/SHA256/reset/157 1088s ok 1086 /checksum/SHA256/reset/158 1088s ok 1087 /checksum/SHA256/reset/159 1088s ok 1088 /checksum/SHA256/reset/160 1088s ok 1089 /checksum/SHA256/reset/161 1088s ok 1090 /checksum/SHA256/reset/162 1088s ok 1091 /checksum/SHA256/reset/163 1088s ok 1092 /checksum/SHA256/reset/164 1088s ok 1093 /checksum/SHA256/reset/165 1088s ok 1094 /checksum/SHA256/reset/166 1088s ok 1095 /checksum/SHA256/reset/167 1088s ok 1096 /checksum/SHA256/reset/168 1088s ok 1097 /checksum/SHA256/reset/169 1088s ok 1098 /checksum/SHA256/reset/170 1088s ok 1099 /checksum/SHA256/reset/171 1088s ok 1100 /checksum/SHA256/reset/172 1088s ok 1101 /checksum/SHA256/reset/173 1088s ok 1102 /checksum/SHA256/reset/174 1088s ok 1103 /checksum/SHA256/reset/175 1088s ok 1104 /checksum/SHA256/reset/176 1088s ok 1105 /checksum/SHA256/reset/177 1088s ok 1106 /checksum/SHA256/reset/178 1088s ok 1107 /checksum/SHA256/reset/179 1088s ok 1108 /checksum/SHA256/reset/180 1088s ok 1109 /checksum/SHA256/reset/181 1088s ok 1110 /checksum/SHA256/reset/182 1088s ok 1111 /checksum/SHA256/reset/183 1088s # End of reset tests 1088s # End of SHA256 tests 1088s # Start of SHA384 tests 1088s ok 1112 /checksum/SHA384/0 1088s ok 1113 /checksum/SHA384/1 1088s ok 1114 /checksum/SHA384/2 1088s ok 1115 /checksum/SHA384/3 1088s ok 1116 /checksum/SHA384/4 1088s ok 1117 /checksum/SHA384/5 1088s ok 1118 /checksum/SHA384/6 1088s ok 1119 /checksum/SHA384/7 1088s ok 1120 /checksum/SHA384/8 1088s ok 1121 /checksum/SHA384/9 1088s ok 1122 /checksum/SHA384/10 1088s ok 1123 /checksum/SHA384/11 1088s ok 1124 /checksum/SHA384/12 1088s ok 1125 /checksum/SHA384/13 1088s ok 1126 /checksum/SHA384/14 1088s ok 1127 /checksum/SHA384/15 1088s ok 1128 /checksum/SHA384/16 1088s ok 1129 /checksum/SHA384/17 1088s ok 1130 /checksum/SHA384/18 1088s ok 1131 /checksum/SHA384/19 1088s ok 1132 /checksum/SHA384/20 1088s ok 1133 /checksum/SHA384/21 1088s ok 1134 /checksum/SHA384/22 1088s ok 1135 /checksum/SHA384/23 1088s ok 1136 /checksum/SHA384/24 1088s ok 1137 /checksum/SHA384/25 1088s ok 1138 /checksum/SHA384/26 1088s ok 1139 /checksum/SHA384/27 1088s ok 1140 /checksum/SHA384/28 1088s ok 1141 /checksum/SHA384/29 1088s ok 1142 /checksum/SHA384/30 1088s ok 1143 /checksum/SHA384/31 1088s ok 1144 /checksum/SHA384/32 1088s ok 1145 /checksum/SHA384/33 1088s ok 1146 /checksum/SHA384/34 1088s ok 1147 /checksum/SHA384/35 1088s ok 1148 /checksum/SHA384/36 1088s ok 1149 /checksum/SHA384/37 1088s ok 1150 /checksum/SHA384/38 1088s ok 1151 /checksum/SHA384/39 1088s ok 1152 /checksum/SHA384/40 1088s ok 1153 /checksum/SHA384/41 1088s ok 1154 /checksum/SHA384/42 1088s ok 1155 /checksum/SHA384/43 1088s ok 1156 /checksum/SHA384/44 1088s ok 1157 /checksum/SHA384/45 1088s ok 1158 /checksum/SHA384/46 1088s ok 1159 /checksum/SHA384/47 1088s ok 1160 /checksum/SHA384/48 1088s ok 1161 /checksum/SHA384/49 1088s ok 1162 /checksum/SHA384/50 1088s ok 1163 /checksum/SHA384/51 1088s ok 1164 /checksum/SHA384/52 1088s ok 1165 /checksum/SHA384/53 1088s ok 1166 /checksum/SHA384/54 1088s ok 1167 /checksum/SHA384/55 1088s ok 1168 /checksum/SHA384/56 1088s ok 1169 /checksum/SHA384/57 1088s ok 1170 /checksum/SHA384/58 1088s ok 1171 /checksum/SHA384/59 1088s ok 1172 /checksum/SHA384/60 1088s ok 1173 /checksum/SHA384/61 1088s ok 1174 /checksum/SHA384/62 1088s ok 1175 /checksum/SHA384/63 1088s ok 1176 /checksum/SHA384/64 1088s ok 1177 /checksum/SHA384/65 1088s ok 1178 /checksum/SHA384/66 1088s ok 1179 /checksum/SHA384/67 1088s ok 1180 /checksum/SHA384/68 1088s ok 1181 /checksum/SHA384/69 1088s ok 1182 /checksum/SHA384/70 1088s ok 1183 /checksum/SHA384/71 1088s ok 1184 /checksum/SHA384/72 1088s ok 1185 /checksum/SHA384/73 1088s ok 1186 /checksum/SHA384/74 1088s ok 1187 /checksum/SHA384/75 1088s ok 1188 /checksum/SHA384/76 1088s ok 1189 /checksum/SHA384/77 1088s ok 1190 /checksum/SHA384/78 1088s ok 1191 /checksum/SHA384/79 1088s ok 1192 /checksum/SHA384/80 1088s ok 1193 /checksum/SHA384/81 1088s ok 1194 /checksum/SHA384/82 1088s ok 1195 /checksum/SHA384/83 1088s ok 1196 /checksum/SHA384/84 1088s ok 1197 /checksum/SHA384/85 1088s ok 1198 /checksum/SHA384/86 1088s ok 1199 /checksum/SHA384/87 1088s ok 1200 /checksum/SHA384/88 1088s ok 1201 /checksum/SHA384/89 1088s ok 1202 /checksum/SHA384/90 1088s ok 1203 /checksum/SHA384/91 1088s ok 1204 /checksum/SHA384/92 1088s ok 1205 /checksum/SHA384/93 1088s ok 1206 /checksum/SHA384/94 1088s ok 1207 /checksum/SHA384/95 1088s ok 1208 /checksum/SHA384/96 1088s ok 1209 /checksum/SHA384/97 1088s ok 1210 /checksum/SHA384/98 1088s ok 1211 /checksum/SHA384/99 1088s ok 1212 /checksum/SHA384/100 1088s ok 1213 /checksum/SHA384/101 1088s ok 1214 /checksum/SHA384/102 1088s ok 1215 /checksum/SHA384/103 1088s ok 1216 /checksum/SHA384/104 1088s ok 1217 /checksum/SHA384/105 1088s ok 1218 /checksum/SHA384/106 1088s ok 1219 /checksum/SHA384/107 1088s ok 1220 /checksum/SHA384/108 1088s ok 1221 /checksum/SHA384/109 1088s ok 1222 /checksum/SHA384/110 1088s ok 1223 /checksum/SHA384/111 1088s ok 1224 /checksum/SHA384/112 1088s ok 1225 /checksum/SHA384/113 1088s ok 1226 /checksum/SHA384/114 1088s ok 1227 /checksum/SHA384/115 1088s ok 1228 /checksum/SHA384/116 1088s ok 1229 /checksum/SHA384/117 1088s ok 1230 /checksum/SHA384/118 1088s ok 1231 /checksum/SHA384/119 1088s ok 1232 /checksum/SHA384/120 1088s ok 1233 /checksum/SHA384/121 1088s ok 1234 /checksum/SHA384/122 1088s ok 1235 /checksum/SHA384/123 1088s ok 1236 /checksum/SHA384/124 1088s ok 1237 /checksum/SHA384/125 1088s ok 1238 /checksum/SHA384/126 1088s ok 1239 /checksum/SHA384/127 1088s ok 1240 /checksum/SHA384/128 1088s ok 1241 /checksum/SHA384/129 1088s ok 1242 /checksum/SHA384/130 1088s ok 1243 /checksum/SHA384/131 1088s ok 1244 /checksum/SHA384/132 1088s ok 1245 /checksum/SHA384/133 1088s ok 1246 /checksum/SHA384/134 1088s ok 1247 /checksum/SHA384/135 1088s ok 1248 /checksum/SHA384/136 1088s ok 1249 /checksum/SHA384/137 1088s ok 1250 /checksum/SHA384/138 1088s ok 1251 /checksum/SHA384/139 1088s ok 1252 /checksum/SHA384/140 1088s ok 1253 /checksum/SHA384/141 1088s ok 1254 /checksum/SHA384/142 1088s ok 1255 /checksum/SHA384/143 1088s ok 1256 /checksum/SHA384/144 1088s ok 1257 /checksum/SHA384/145 1088s ok 1258 /checksum/SHA384/146 1088s ok 1259 /checksum/SHA384/147 1088s ok 1260 /checksum/SHA384/148 1088s ok 1261 /checksum/SHA384/149 1088s ok 1262 /checksum/SHA384/150 1088s ok 1263 /checksum/SHA384/151 1088s ok 1264 /checksum/SHA384/152 1088s ok 1265 /checksum/SHA384/153 1088s ok 1266 /checksum/SHA384/154 1088s ok 1267 /checksum/SHA384/155 1088s ok 1268 /checksum/SHA384/156 1088s ok 1269 /checksum/SHA384/157 1088s ok 1270 /checksum/SHA384/158 1088s ok 1271 /checksum/SHA384/159 1088s ok 1272 /checksum/SHA384/160 1088s ok 1273 /checksum/SHA384/161 1088s ok 1274 /checksum/SHA384/162 1088s ok 1275 /checksum/SHA384/163 1088s ok 1276 /checksum/SHA384/164 1088s ok 1277 /checksum/SHA384/165 1088s ok 1278 /checksum/SHA384/166 1088s ok 1279 /checksum/SHA384/167 1088s ok 1280 /checksum/SHA384/168 1088s ok 1281 /checksum/SHA384/169 1088s ok 1282 /checksum/SHA384/170 1088s ok 1283 /checksum/SHA384/171 1088s ok 1284 /checksum/SHA384/172 1088s ok 1285 /checksum/SHA384/173 1088s ok 1286 /checksum/SHA384/174 1088s ok 1287 /checksum/SHA384/175 1088s ok 1288 /checksum/SHA384/176 1088s ok 1289 /checksum/SHA384/177 1088s ok 1290 /checksum/SHA384/178 1088s ok 1291 /checksum/SHA384/179 1088s ok 1292 /checksum/SHA384/180 1088s ok 1293 /checksum/SHA384/181 1088s ok 1294 /checksum/SHA384/182 1088s ok 1295 /checksum/SHA384/183 1088s ok 1296 /checksum/SHA384/string 1088s ok 1297 /checksum/SHA384/bytes 1088s # Start of reset tests 1088s ok 1298 /checksum/SHA384/reset/0 1088s ok 1299 /checksum/SHA384/reset/1 1088s ok 1300 /checksum/SHA384/reset/2 1088s ok 1301 /checksum/SHA384/reset/3 1088s ok 1302 /checksum/SHA384/reset/4 1088s ok 1303 /checksum/SHA384/reset/5 1088s ok 1304 /checksum/SHA384/reset/6 1088s ok 1305 /checksum/SHA384/reset/7 1088s ok 1306 /checksum/SHA384/reset/8 1088s ok 1307 /checksum/SHA384/reset/9 1088s ok 1308 /checksum/SHA384/reset/10 1088s ok 1309 /checksum/SHA384/reset/11 1088s ok 1310 /checksum/SHA384/reset/12 1088s ok 1311 /checksum/SHA384/reset/13 1088s ok 1312 /checksum/SHA384/reset/14 1088s ok 1313 /checksum/SHA384/reset/15 1088s ok 1314 /checksum/SHA384/reset/16 1088s ok 1315 /checksum/SHA384/reset/17 1088s ok 1316 /checksum/SHA384/reset/18 1088s ok 1317 /checksum/SHA384/reset/19 1088s ok 1318 /checksum/SHA384/reset/20 1088s ok 1319 /checksum/SHA384/reset/21 1088s ok 1320 /checksum/SHA384/reset/22 1088s ok 1321 /checksum/SHA384/reset/23 1088s ok 1322 /checksum/SHA384/reset/24 1088s ok 1323 /checksum/SHA384/reset/25 1088s ok 1324 /checksum/SHA384/reset/26 1088s ok 1325 /checksum/SHA384/reset/27 1088s ok 1326 /checksum/SHA384/reset/28 1088s ok 1327 /checksum/SHA384/reset/29 1088s ok 1328 /checksum/SHA384/reset/30 1088s ok 1329 /checksum/SHA384/reset/31 1088s ok 1330 /checksum/SHA384/reset/32 1088s ok 1331 /checksum/SHA384/reset/33 1088s ok 1332 /checksum/SHA384/reset/34 1088s ok 1333 /checksum/SHA384/reset/35 1088s ok 1334 /checksum/SHA384/reset/36 1088s ok 1335 /checksum/SHA384/reset/37 1088s ok 1336 /checksum/SHA384/reset/38 1088s ok 1337 /checksum/SHA384/reset/39 1088s ok 1338 /checksum/SHA384/reset/40 1088s ok 1339 /checksum/SHA384/reset/41 1088s ok 1340 /checksum/SHA384/reset/42 1088s ok 1341 /checksum/SHA384/reset/43 1088s ok 1342 /checksum/SHA384/reset/44 1088s ok 1343 /checksum/SHA384/reset/45 1088s ok 1344 /checksum/SHA384/reset/46 1088s ok 1345 /checksum/SHA384/reset/47 1088s ok 1346 /checksum/SHA384/reset/48 1088s ok 1347 /checksum/SHA384/reset/49 1088s ok 1348 /checksum/SHA384/reset/50 1088s ok 1349 /checksum/SHA384/reset/51 1088s ok 1350 /checksum/SHA384/reset/52 1088s ok 1351 /checksum/SHA384/reset/53 1088s ok 1352 /checksum/SHA384/reset/54 1088s ok 1353 /checksum/SHA384/reset/55 1088s ok 1354 /checksum/SHA384/reset/56 1088s ok 1355 /checksum/SHA384/reset/57 1088s ok 1356 /checksum/SHA384/reset/58 1088s ok 1357 /checksum/SHA384/reset/59 1088s ok 1358 /checksum/SHA384/reset/60 1088s ok 1359 /checksum/SHA384/reset/61 1088s ok 1360 /checksum/SHA384/reset/62 1088s ok 1361 /checksum/SHA384/reset/63 1088s ok 1362 /checksum/SHA384/reset/64 1088s ok 1363 /checksum/SHA384/reset/65 1088s ok 1364 /checksum/SHA384/reset/66 1088s ok 1365 /checksum/SHA384/reset/67 1088s ok 1366 /checksum/SHA384/reset/68 1088s ok 1367 /checksum/SHA384/reset/69 1088s ok 1368 /checksum/SHA384/reset/70 1088s ok 1369 /checksum/SHA384/reset/71 1088s ok 1370 /checksum/SHA384/reset/72 1088s ok 1371 /checksum/SHA384/reset/73 1088s ok 1372 /checksum/SHA384/reset/74 1088s ok 1373 /checksum/SHA384/reset/75 1088s ok 1374 /checksum/SHA384/reset/76 1088s ok 1375 /checksum/SHA384/reset/77 1088s ok 1376 /checksum/SHA384/reset/78 1088s ok 1377 /checksum/SHA384/reset/79 1088s ok 1378 /checksum/SHA384/reset/80 1088s ok 1379 /checksum/SHA384/reset/81 1088s ok 1380 /checksum/SHA384/reset/82 1088s ok 1381 /checksum/SHA384/reset/83 1088s ok 1382 /checksum/SHA384/reset/84 1088s ok 1383 /checksum/SHA384/reset/85 1088s ok 1384 /checksum/SHA384/reset/86 1088s ok 1385 /checksum/SHA384/reset/87 1088s ok 1386 /checksum/SHA384/reset/88 1088s ok 1387 /checksum/SHA384/reset/89 1088s ok 1388 /checksum/SHA384/reset/90 1088s ok 1389 /checksum/SHA384/reset/91 1088s ok 1390 /checksum/SHA384/reset/92 1088s ok 1391 /checksum/SHA384/reset/93 1088s ok 1392 /checksum/SHA384/reset/94 1088s ok 1393 /checksum/SHA384/reset/95 1088s ok 1394 /checksum/SHA384/reset/96 1088s ok 1395 /checksum/SHA384/reset/97 1088s ok 1396 /checksum/SHA384/reset/98 1088s ok 1397 /checksum/SHA384/reset/99 1088s ok 1398 /checksum/SHA384/reset/100 1088s ok 1399 /checksum/SHA384/reset/101 1088s ok 1400 /checksum/SHA384/reset/102 1088s ok 1401 /checksum/SHA384/reset/103 1088s ok 1402 /checksum/SHA384/reset/104 1088s ok 1403 /checksum/SHA384/reset/105 1088s ok 1404 /checksum/SHA384/reset/106 1088s ok 1405 /checksum/SHA384/reset/107 1088s ok 1406 /checksum/SHA384/reset/108 1088s ok 1407 /checksum/SHA384/reset/109 1088s ok 1408 /checksum/SHA384/reset/110 1088s ok 1409 /checksum/SHA384/reset/111 1088s ok 1410 /checksum/SHA384/reset/112 1088s ok 1411 /checksum/SHA384/reset/113 1088s ok 1412 /checksum/SHA384/reset/114 1088s ok 1413 /checksum/SHA384/reset/115 1088s ok 1414 /checksum/SHA384/reset/116 1088s ok 1415 /checksum/SHA384/reset/117 1088s ok 1416 /checksum/SHA384/reset/118 1088s ok 1417 /checksum/SHA384/reset/119 1088s ok 1418 /checksum/SHA384/reset/120 1088s ok 1419 /checksum/SHA384/reset/121 1088s ok 1420 /checksum/SHA384/reset/122 1088s ok 1421 /checksum/SHA384/reset/123 1088s ok 1422 /checksum/SHA384/reset/124 1088s ok 1423 /checksum/SHA384/reset/125 1088s ok 1424 /checksum/SHA384/reset/126 1088s ok 1425 /checksum/SHA384/reset/127 1088s ok 1426 /checksum/SHA384/reset/128 1088s ok 1427 /checksum/SHA384/reset/129 1088s ok 1428 /checksum/SHA384/reset/130 1088s ok 1429 /checksum/SHA384/reset/131 1088s ok 1430 /checksum/SHA384/reset/132 1088s ok 1431 /checksum/SHA384/reset/133 1088s ok 1432 /checksum/SHA384/reset/134 1088s ok 1433 /checksum/SHA384/reset/135 1088s ok 1434 /checksum/SHA384/reset/136 1088s ok 1435 /checksum/SHA384/reset/137 1088s ok 1436 /checksum/SHA384/reset/138 1088s ok 1437 /checksum/SHA384/reset/139 1088s ok 1438 /checksum/SHA384/reset/140 1088s ok 1439 /checksum/SHA384/reset/141 1088s ok 1440 /checksum/SHA384/reset/142 1088s ok 1441 /checksum/SHA384/reset/143 1088s ok 1442 /checksum/SHA384/reset/144 1088s ok 1443 /checksum/SHA384/reset/145 1088s ok 1444 /checksum/SHA384/reset/146 1088s ok 1445 /checksum/SHA384/reset/147 1088s ok 1446 /checksum/SHA384/reset/148 1088s ok 1447 /checksum/SHA384/reset/149 1088s ok 1448 /checksum/SHA384/reset/150 1088s ok 1449 /checksum/SHA384/reset/151 1088s ok 1450 /checksum/SHA384/reset/152 1088s ok 1451 /checksum/SHA384/reset/153 1088s ok 1452 /checksum/SHA384/reset/154 1088s ok 1453 /checksum/SHA384/reset/155 1088s ok 1454 /checksum/SHA384/reset/156 1088s ok 1455 /checksum/SHA384/reset/157 1088s ok 1456 /checksum/SHA384/reset/158 1088s ok 1457 /checksum/SHA384/reset/159 1088s ok 1458 /checksum/SHA384/reset/160 1088s ok 1459 /checksum/SHA384/reset/161 1088s ok 1460 /checksum/SHA384/reset/162 1088s ok 1461 /checksum/SHA384/reset/163 1088s ok 1462 /checksum/SHA384/reset/164 1088s ok 1463 /checksum/SHA384/reset/165 1088s ok 1464 /checksum/SHA384/reset/166 1088s ok 1465 /checksum/SHA384/reset/167 1088s ok 1466 /checksum/SHA384/reset/168 1088s ok 1467 /checksum/SHA384/reset/169 1088s ok 1468 /checksum/SHA384/reset/170 1088s ok 1469 /checksum/SHA384/reset/171 1088s ok 1470 /checksum/SHA384/reset/172 1088s ok 1471 /checksum/SHA384/reset/173 1088s ok 1472 /checksum/SHA384/reset/174 1088s ok 1473 /checksum/SHA384/reset/175 1088s ok 1474 /checksum/SHA384/reset/176 1088s ok 1475 /checksum/SHA384/reset/177 1088s ok 1476 /checksum/SHA384/reset/178 1088s ok 1477 /checksum/SHA384/reset/179 1088s ok 1478 /checksum/SHA384/reset/180 1088s ok 1479 /checksum/SHA384/reset/181 1088s ok 1480 /checksum/SHA384/reset/182 1088s ok 1481 /checksum/SHA384/reset/183 1088s # End of reset tests 1088s # End of SHA384 tests 1088s # Start of SHA512 tests 1088s ok 1482 /checksum/SHA512/0 1088s ok 1483 /checksum/SHA512/1 1088s ok 1484 /checksum/SHA512/2 1088s ok 1485 /checksum/SHA512/3 1088s ok 1486 /checksum/SHA512/4 1088s ok 1487 /checksum/SHA512/5 1088s ok 1488 /checksum/SHA512/6 1088s ok 1489 /checksum/SHA512/7 1088s ok 1490 /checksum/SHA512/8 1088s ok 1491 /checksum/SHA512/9 1088s ok 1492 /checksum/SHA512/10 1088s ok 1493 /checksum/SHA512/11 1088s ok 1494 /checksum/SHA512/12 1088s ok 1495 /checksum/SHA512/13 1088s ok 1496 /checksum/SHA512/14 1088s ok 1497 /checksum/SHA512/15 1088s ok 1498 /checksum/SHA512/16 1088s ok 1499 /checksum/SHA512/17 1088s ok 1500 /checksum/SHA512/18 1088s ok 1501 /checksum/SHA512/19 1088s ok 1502 /checksum/SHA512/20 1088s ok 1503 /checksum/SHA512/21 1088s ok 1504 /checksum/SHA512/22 1088s ok 1505 /checksum/SHA512/23 1088s ok 1506 /checksum/SHA512/24 1088s ok 1507 /checksum/SHA512/25 1088s ok 1508 /checksum/SHA512/26 1088s ok 1509 /checksum/SHA512/27 1088s ok 1510 /checksum/SHA512/28 1088s ok 1511 /checksum/SHA512/29 1088s ok 1512 /checksum/SHA512/30 1088s ok 1513 /checksum/SHA512/31 1088s ok 1514 /checksum/SHA512/32 1088s ok 1515 /checksum/SHA512/33 1088s ok 1516 /checksum/SHA512/34 1088s ok 1517 /checksum/SHA512/35 1088s ok 1518 /checksum/SHA512/36 1088s ok 1519 /checksum/SHA512/37 1088s ok 1520 /checksum/SHA512/38 1088s ok 1521 /checksum/SHA512/39 1088s ok 1522 /checksum/SHA512/40 1088s ok 1523 /checksum/SHA512/41 1088s ok 1524 /checksum/SHA512/42 1088s ok 1525 /checksum/SHA512/43 1088s ok 1526 /checksum/SHA512/44 1088s ok 1527 /checksum/SHA512/45 1088s ok 1528 /checksum/SHA512/46 1088s ok 1529 /checksum/SHA512/47 1088s ok 1530 /checksum/SHA512/48 1088s ok 1531 /checksum/SHA512/49 1088s ok 1532 /checksum/SHA512/50 1088s ok 1533 /checksum/SHA512/51 1088s ok 1534 /checksum/SHA512/52 1088s ok 1535 /checksum/SHA512/53 1088s ok 1536 /checksum/SHA512/54 1088s ok 1537 /checksum/SHA512/55 1088s ok 1538 /checksum/SHA512/56 1088s ok 1539 /checksum/SHA512/57 1088s ok 1540 /checksum/SHA512/58 1088s ok 1541 /checksum/SHA512/59 1088s ok 1542 /checksum/SHA512/60 1088s ok 1543 /checksum/SHA512/61 1088s ok 1544 /checksum/SHA512/62 1088s ok 1545 /checksum/SHA512/63 1088s ok 1546 /checksum/SHA512/64 1088s ok 1547 /checksum/SHA512/65 1088s ok 1548 /checksum/SHA512/66 1088s ok 1549 /checksum/SHA512/67 1088s ok 1550 /checksum/SHA512/68 1088s ok 1551 /checksum/SHA512/69 1088s ok 1552 /checksum/SHA512/70 1088s ok 1553 /checksum/SHA512/71 1088s ok 1554 /checksum/SHA512/72 1088s ok 1555 /checksum/SHA512/73 1088s ok 1556 /checksum/SHA512/74 1088s ok 1557 /checksum/SHA512/75 1088s ok 1558 /checksum/SHA512/76 1088s ok 1559 /checksum/SHA512/77 1088s ok 1560 /checksum/SHA512/78 1088s ok 1561 /checksum/SHA512/79 1088s ok 1562 /checksum/SHA512/80 1088s ok 1563 /checksum/SHA512/81 1088s ok 1564 /checksum/SHA512/82 1088s ok 1565 /checksum/SHA512/83 1088s ok 1566 /checksum/SHA512/84 1088s ok 1567 /checksum/SHA512/85 1088s ok 1568 /checksum/SHA512/86 1088s ok 1569 /checksum/SHA512/87 1088s ok 1570 /checksum/SHA512/88 1088s ok 1571 /checksum/SHA512/89 1088s ok 1572 /checksum/SHA512/90 1088s ok 1573 /checksum/SHA512/91 1088s ok 1574 /checksum/SHA512/92 1088s ok 1575 /checksum/SHA512/93 1088s ok 1576 /checksum/SHA512/94 1088s ok 1577 /checksum/SHA512/95 1088s ok 1578 /checksum/SHA512/96 1088s ok 1579 /checksum/SHA512/97 1088s ok 1580 /checksum/SHA512/98 1088s ok 1581 /checksum/SHA512/99 1088s ok 1582 /checksum/SHA512/100 1088s ok 1583 /checksum/SHA512/101 1088s ok 1584 /checksum/SHA512/102 1088s ok 1585 /checksum/SHA512/103 1088s ok 1586 /checksum/SHA512/104 1088s ok 1587 /checksum/SHA512/105 1088s ok 1588 /checksum/SHA512/106 1088s ok 1589 /checksum/SHA512/107 1088s ok 1590 /checksum/SHA512/108 1088s ok 1591 /checksum/SHA512/109 1088s ok 1592 /checksum/SHA512/110 1088s ok 1593 /checksum/SHA512/111 1088s ok 1594 /checksum/SHA512/112 1088s ok 1595 /checksum/SHA512/113 1088s ok 1596 /checksum/SHA512/114 1088s ok 1597 /checksum/SHA512/115 1088s ok 1598 /checksum/SHA512/116 1088s ok 1599 /checksum/SHA512/117 1088s ok 1600 /checksum/SHA512/118 1088s ok 1601 /checksum/SHA512/119 1088s ok 1602 /checksum/SHA512/120 1088s ok 1603 /checksum/SHA512/121 1088s ok 1604 /checksum/SHA512/122 1088s ok 1605 /checksum/SHA512/123 1088s ok 1606 /checksum/SHA512/124 1088s ok 1607 /checksum/SHA512/125 1088s ok 1608 /checksum/SHA512/126 1088s ok 1609 /checksum/SHA512/127 1088s ok 1610 /checksum/SHA512/128 1088s ok 1611 /checksum/SHA512/129 1088s ok 1612 /checksum/SHA512/130 1088s ok 1613 /checksum/SHA512/131 1088s ok 1614 /checksum/SHA512/132 1088s ok 1615 /checksum/SHA512/133 1088s ok 1616 /checksum/SHA512/134 1088s ok 1617 /checksum/SHA512/135 1088s ok 1618 /checksum/SHA512/136 1088s ok 1619 /checksum/SHA512/137 1088s ok 1620 /checksum/SHA512/138 1088s ok 1621 /checksum/SHA512/139 1088s ok 1622 /checksum/SHA512/140 1088s ok 1623 /checksum/SHA512/141 1088s ok 1624 /checksum/SHA512/142 1088s ok 1625 /checksum/SHA512/143 1088s ok 1626 /checksum/SHA512/144 1088s ok 1627 /checksum/SHA512/145 1088s ok 1628 /checksum/SHA512/146 1088s ok 1629 /checksum/SHA512/147 1088s ok 1630 /checksum/SHA512/148 1088s ok 1631 /checksum/SHA512/149 1088s ok 1632 /checksum/SHA512/150 1088s ok 1633 /checksum/SHA512/151 1088s ok 1634 /checksum/SHA512/152 1088s ok 1635 /checksum/SHA512/153 1088s ok 1636 /checksum/SHA512/154 1088s ok 1637 /checksum/SHA512/155 1088s ok 1638 /checksum/SHA512/156 1088s ok 1639 /checksum/SHA512/157 1088s ok 1640 /checksum/SHA512/158 1088s ok 1641 /checksum/SHA512/159 1088s ok 1642 /checksum/SHA512/160 1088s ok 1643 /checksum/SHA512/161 1088s ok 1644 /checksum/SHA512/162 1088s ok 1645 /checksum/SHA512/163 1088s ok 1646 /checksum/SHA512/164 1088s ok 1647 /checksum/SHA512/165 1088s ok 1648 /checksum/SHA512/166 1088s ok 1649 /checksum/SHA512/167 1088s ok 1650 /checksum/SHA512/168 1088s ok 1651 /checksum/SHA512/169 1088s ok 1652 /checksum/SHA512/170 1088s ok 1653 /checksum/SHA512/171 1088s ok 1654 /checksum/SHA512/172 1088s ok 1655 /checksum/SHA512/173 1088s ok 1656 /checksum/SHA512/174 1088s ok 1657 /checksum/SHA512/175 1088s ok 1658 /checksum/SHA512/176 1088s ok 1659 /checksum/SHA512/177 1088s ok 1660 /checksum/SHA512/178 1088s ok 1661 /checksum/SHA512/179 1088s ok 1662 /checksum/SHA512/180 1088s ok 1663 /checksum/SHA512/181 1088s ok 1664 /checksum/SHA512/182 1088s ok 1665 /checksum/SHA512/183 1088s ok 1666 /checksum/SHA512/string 1088s ok 1667 /checksum/SHA512/bytes 1088s # Start of reset tests 1088s ok 1668 /checksum/SHA512/reset/0 1088s ok 1669 /checksum/SHA512/reset/1 1088s ok 1670 /checksum/SHA512/reset/2 1088s ok 1671 /checksum/SHA512/reset/3 1088s ok 1672 /checksum/SHA512/reset/4 1088s ok 1673 /checksum/SHA512/reset/5 1088s ok 1674 /checksum/SHA512/reset/6 1088s ok 1675 /checksum/SHA512/reset/7 1088s ok 1676 /checksum/SHA512/reset/8 1088s ok 1677 /checksum/SHA512/reset/9 1088s ok 1678 /checksum/SHA512/reset/10 1088s ok 1679 /checksum/SHA512/reset/11 1088s ok 1680 /checksum/SHA512/reset/12 1088s ok 1681 /checksum/SHA512/reset/13 1088s ok 1682 /checksum/SHA512/reset/14 1088s ok 1683 /checksum/SHA512/reset/15 1088s ok 1684 /checksum/SHA512/reset/16 1088s ok 1685 /checksum/SHA512/reset/17 1088s ok 1686 /checksum/SHA512/reset/18 1088s ok 1687 /checksum/SHA512/reset/19 1088s ok 1688 /checksum/SHA512/reset/20 1088s ok 1689 /checksum/SHA512/reset/21 1088s ok 1690 /checksum/SHA512/reset/22 1088s ok 1691 /checksum/SHA512/reset/23 1088s ok 1692 /checksum/SHA512/reset/24 1088s ok 1693 /checksum/SHA512/reset/25 1088s ok 1694 /checksum/SHA512/reset/26 1088s ok 1695 /checksum/SHA512/reset/27 1088s ok 1696 /checksum/SHA512/reset/28 1088s ok 1697 /checksum/SHA512/reset/29 1088s ok 1698 /checksum/SHA512/reset/30 1088s ok 1699 /checksum/SHA512/reset/31 1088s ok 1700 /checksum/SHA512/reset/32 1088s ok 1701 /checksum/SHA512/reset/33 1088s ok 1702 /checksum/SHA512/reset/34 1088s ok 1703 /checksum/SHA512/reset/35 1088s ok 1704 /checksum/SHA512/reset/36 1088s ok 1705 /checksum/SHA512/reset/37 1088s ok 1706 /checksum/SHA512/reset/38 1088s ok 1707 /checksum/SHA512/reset/39 1088s ok 1708 /checksum/SHA512/reset/40 1088s ok 1709 /checksum/SHA512/reset/41 1088s ok 1710 /checksum/SHA512/reset/42 1088s ok 1711 /checksum/SHA512/reset/43 1088s ok 1712 /checksum/SHA512/reset/44 1088s ok 1713 /checksum/SHA512/reset/45 1088s ok 1714 /checksum/SHA512/reset/46 1088s ok 1715 /checksum/SHA512/reset/47 1088s ok 1716 /checksum/SHA512/reset/48 1088s ok 1717 /checksum/SHA512/reset/49 1088s ok 1718 /checksum/SHA512/reset/50 1088s ok 1719 /checksum/SHA512/reset/51 1088s ok 1720 /checksum/SHA512/reset/52 1088s ok 1721 /checksum/SHA512/reset/53 1088s ok 1722 /checksum/SHA512/reset/54 1088s ok 1723 /checksum/SHA512/reset/55 1088s ok 1724 /checksum/SHA512/reset/56 1088s ok 1725 /checksum/SHA512/reset/57 1088s ok 1726 /checksum/SHA512/reset/58 1088s ok 1727 /checksum/SHA512/reset/59 1088s ok 1728 /checksum/SHA512/reset/60 1088s ok 1729 /checksum/SHA512/reset/61 1088s ok 1730 /checksum/SHA512/reset/62 1088s ok 1731 /checksum/SHA512/reset/63 1088s ok 1732 /checksum/SHA512/reset/64 1088s ok 1733 /checksum/SHA512/reset/65 1088s ok 1734 /checksum/SHA512/reset/66 1088s ok 1735 /checksum/SHA512/reset/67 1088s ok 1736 /checksum/SHA512/reset/68 1088s ok 1737 /checksum/SHA512/reset/69 1088s ok 1738 /checksum/SHA512/reset/70 1088s ok 1739 /checksum/SHA512/reset/71 1088s ok 1740 /checksum/SHA512/reset/72 1088s ok 1741 /checksum/SHA512/reset/73 1088s ok 1742 /checksum/SHA512/reset/74 1088s ok 1743 /checksum/SHA512/reset/75 1088s ok 1744 /checksum/SHA512/reset/76 1088s ok 1745 /checksum/SHA512/reset/77 1088s ok 1746 /checksum/SHA512/reset/78 1088s ok 1747 /checksum/SHA512/reset/79 1088s ok 1748 /checksum/SHA512/reset/80 1088s ok 1749 /checksum/SHA512/reset/81 1088s ok 1750 /checksum/SHA512/reset/82 1088s ok 1751 /checksum/SHA512/reset/83 1088s ok 1752 /checksum/SHA512/reset/84 1088s ok 1753 /checksum/SHA512/reset/85 1088s ok 1754 /checksum/SHA512/reset/86 1088s ok 1755 /checksum/SHA512/reset/87 1088s ok 1756 /checksum/SHA512/reset/88 1088s ok 1757 /checksum/SHA512/reset/89 1088s ok 1758 /checksum/SHA512/reset/90 1088s ok 1759 /checksum/SHA512/reset/91 1088s ok 1760 /checksum/SHA512/reset/92 1088s ok 1761 /checksum/SHA512/reset/93 1088s ok 1762 /checksum/SHA512/reset/94 1088s ok 1763 /checksum/SHA512/reset/95 1088s ok 1764 /checksum/SHA512/reset/96 1088s ok 1765 /checksum/SHA512/reset/97 1088s ok 1766 /checksum/SHA512/reset/98 1088s ok 1767 /checksum/SHA512/reset/99 1088s ok 1768 /checksum/SHA512/reset/100 1088s ok 1769 /checksum/SHA512/reset/101 1088s ok 1770 /checksum/SHA512/reset/102 1088s ok 1771 /checksum/SHA512/reset/103 1088s ok 1772 /checksum/SHA512/reset/104 1088s ok 1773 /checksum/SHA512/reset/105 1088s ok 1774 /checksum/SHA512/reset/106 1088s ok 1775 /checksum/SHA512/reset/107 1088s ok 1776 /checksum/SHA512/reset/108 1088s ok 1777 /checksum/SHA512/reset/109 1088s ok 1778 /checksum/SHA512/reset/110 1088s ok 1779 /checksum/SHA512/reset/111 1088s ok 1780 /checksum/SHA512/reset/112 1088s ok 1781 /checksum/SHA512/reset/113 1088s ok 1782 /checksum/SHA512/reset/114 1088s ok 1783 /checksum/SHA512/reset/115 1088s ok 1784 /checksum/SHA512/reset/116 1088s ok 1785 /checksum/SHA512/reset/117 1088s ok 1786 /checksum/SHA512/reset/118 1088s ok 1787 /checksum/SHA512/reset/119 1088s ok 1788 /checksum/SHA512/reset/120 1088s ok 1789 /checksum/SHA512/reset/121 1088s ok 1790 /checksum/SHA512/reset/122 1088s ok 1791 /checksum/SHA512/reset/123 1088s ok 1792 /checksum/SHA512/reset/124 1088s ok 1793 /checksum/SHA512/reset/125 1088s ok 1794 /checksum/SHA512/reset/126 1088s ok 1795 /checksum/SHA512/reset/127 1088s ok 1796 /checksum/SHA512/reset/128 1088s ok 1797 /checksum/SHA512/reset/129 1088s ok 1798 /checksum/SHA512/reset/130 1088s ok 1799 /checksum/SHA512/reset/131 1088s ok 1800 /checksum/SHA512/reset/132 1088s ok 1801 /checksum/SHA512/reset/133 1088s ok 1802 /checksum/SHA512/reset/134 1088s ok 1803 /checksum/SHA512/reset/135 1088s ok 1804 /checksum/SHA512/reset/136 1088s ok 1805 /checksum/SHA512/reset/137 1088s ok 1806 /checksum/SHA512/reset/138 1088s ok 1807 /checksum/SHA512/reset/139 1088s ok 1808 /checksum/SHA512/reset/140 1088s ok 1809 /checksum/SHA512/reset/141 1088s ok 1810 /checksum/SHA512/reset/142 1088s ok 1811 /checksum/SHA512/reset/143 1088s ok 1812 /checksum/SHA512/reset/144 1088s ok 1813 /checksum/SHA512/reset/145 1088s ok 1814 /checksum/SHA512/reset/146 1088s ok 1815 /checksum/SHA512/reset/147 1088s ok 1816 /checksum/SHA512/reset/148 1088s ok 1817 /checksum/SHA512/reset/149 1088s ok 1818 /checksum/SHA512/reset/150 1088s ok 1819 /checksum/SHA512/reset/151 1088s ok 1820 /checksum/SHA512/reset/152 1088s ok 1821 /checksum/SHA512/reset/153 1088s ok 1822 /checksum/SHA512/reset/154 1088s ok 1823 /checksum/SHA512/reset/155 1088s ok 1824 /checksum/SHA512/reset/156 1088s ok 1825 /checksum/SHA512/reset/157 1088s ok 1826 /checksum/SHA512/reset/158 1088s ok 1827 /checksum/SHA512/reset/159 1088s ok 1828 /checksum/SHA512/reset/160 1088s ok 1829 /checksum/SHA512/reset/161 1088s ok 1830 /checksum/SHA512/reset/162 1088s ok 1831 /checksum/SHA512/reset/163 1088s ok 1832 /checksum/SHA512/reset/164 1088s ok 1833 /checksum/SHA512/reset/165 1088s ok 1834 /checksum/SHA512/reset/166 1088s ok 1835 /checksum/SHA512/reset/167 1088s ok 1836 /checksum/SHA512/reset/168 1088s ok 1837 /checksum/SHA512/reset/169 1088s ok 1838 /checksum/SHA512/reset/170 1088s ok 1839 /checksum/SHA512/reset/171 1088s ok 1840 /checksum/SHA512/reset/172 1088s ok 1841 /checksum/SHA512/reset/173 1088s ok 1842 /checksum/SHA512/reset/174 1088s ok 1843 /checksum/SHA512/reset/175 1088s ok 1844 /checksum/SHA512/reset/176 1088s ok 1845 /checksum/SHA512/reset/177 1088s ok 1846 /checksum/SHA512/reset/178 1088s ok 1847 /checksum/SHA512/reset/179 1088s ok 1848 /checksum/SHA512/reset/180 1088s ok 1849 /checksum/SHA512/reset/181 1088s ok 1850 /checksum/SHA512/reset/182 1088s ok 1851 /checksum/SHA512/reset/183 1088s # End of reset tests 1088s # End of SHA512 tests 1088s # End of checksum tests 1088s ok - glib/checksum.test 1088s # Running test: glib/gio-tool.py.test 1088s TAP version 13 1088s ok 1 __main__.TestGioTool.test_help 1088s # tmpdir: /tmp/tmpvhzrfmrg 1088s # gio: /usr/bin/gio 1088s # Running: ['/usr/bin/gio', '--help'] 1088s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: Usage: 1088s # gio COMMAND [ARGS…] 1088s # 1088s # Commands: 1088s # help Print help 1088s # version Print version 1088s # cat Concatenate files to standard output 1088s # copy Copy one or more files 1088s # info Show information about locations 1088s # launch Launch an application from a desktop file 1088s # list List the contents of locations 1088s # mime Get or set the handler for a mimetype 1088s # mkdir Create directories 1088s # monitor Monitor files and directories for changes 1088s # mount Mount or unmount the locations 1088s # move Move one or more files 1088s # open Open files with the default application 1088s # rename Rename a file 1088s # remove Delete one or more files 1088s # save Read from standard input and save 1088s # set Set a file attribute 1088s # trash Move files or directories to the trash 1088s # tree Lists the contents of locations in a tree 1088s # 1088s # Use “gio help COMMAND†to get detailed help. 1088s # Running: ['/usr/bin/gio', 'help'] 1088s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: Usage: 1088s # gio COMMAND [ARGS…] 1088s # 1088s # Commands: 1088s # help Print help 1088s # version Print version 1088s # cat Concatenate files to standard output 1088s # copy Copy one or more files 1088s # info Show information about locations 1088s # launch Launch an application from a desktop file 1088s # list List the contents of locations 1088s # mime Get or set the handler for a mimetype 1088s # mkdir Create directories 1088s # monitor Monitor files and directories for changes 1088s # mount Mount or unmount the locations 1088s # move Move one or more files 1088s # open Open files with the default application 1088s # rename Rename a file 1088s # remove Delete one or more files 1088s # save Read from standard input and save 1088s # set Set a file attribute 1088s # trash Move files or directories to the trash 1088s # tree Lists the contents of locations in a tree 1088s # 1088s # Use “gio help COMMAND†to get detailed help. 1088s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1088s # tmpdir: /tmp/tmp914hykkh 1088s # gio: /usr/bin/gio 1088s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp914hykkh/tmphpasnmpl'] 1088s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: uri: file:///tmp/tmp914hykkh/tmphpasnmpl 1088s # local path: /tmp/tmp914hykkh/tmphpasnmpl 1088s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1088s # attributes: 1088s # standard::content-type: application/x-zerosize 1088s ok 3 __main__.TestGioTool.test_no_args 1088s # tmpdir: /tmp/tmpxepdehl1 1088s # gio: /usr/bin/gio 1088s # Running: ['/usr/bin/gio'] 1088s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s 1..3 1088s ok - glib/gio-tool.py.test 1088s # Running test: glib/registered-type-info.test 1088s TAP version 14 1088s # random seed: R02Sc875ed0d45cbad73fa00c7e58accf2f7 1088s 1..1 1088s # Start of registered-type-info tests 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_FCB4X2/registered-type-info/boxed/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_FCB4X2/registered-type-info/boxed/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_FCB4X2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_FCB4X2/registered-type-info/boxed/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_FCB4X2/registered-type-info/boxed/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_FCB4X2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_FCB4X2/registered-type-info/boxed/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_FCB4X2/registered-type-info/boxed/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_FCB4X2/registered-type-info/boxed/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_FCB4X2/registered-type-info/boxed/.dirs/runtime 1088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1088s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1088s # Expecting CClosure to not be boxed 1088s # Expecting TypeCValue to not be boxed 1088s # Expecting InitiallyUnownedClass to not be boxed 1088s # Expecting BookmarkFile to be boxed 1088s # Expecting Closure to be boxed 1088s # Expecting Object to not be boxed 1088s ok 1 /registered-type-info/boxed 1088s # End of registered-type-info tests 1088s ok - glib/registered-type-info.test 1088s # Running test: glib/appmonitor.test 1088s TAP version 14 1088s # random seed: R02Sb09fec6545d7baec44d458b6d4d5abac 1088s 1..1 1088s # Start of monitor tests 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_PYF3X2/monitor/app/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_PYF3X2/monitor/app/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_PYF3X2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_PYF3X2/monitor/app/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_PYF3X2/monitor/app/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_PYF3X2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_PYF3X2/monitor/app/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_PYF3X2/monitor/app/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_PYF3X2/monitor/app/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_PYF3X2/monitor/app/.dirs/runtime 1088s # Using data directory: /tmp/test_appmonitor_PYF3X2/monitor/app/.dirs/data 1088s ok 1 /monitor/app 1088s # End of monitor tests 1088s ok - glib/appmonitor.test 1088s # Running test: glib/g-file.test 1088s TAP version 14 1088s # random seed: R02S4a0c50b063d4ce6535ac2f281c18ac49 1088s 1..8 1088s # Start of g-file tests 1088s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1088s ok 1 /g-file/test_g_file_new_null 1088s ok 2 /g-file/test_g_file_new_for_path 1088s ok 3 /g-file/test_g_file_new_for_uri 1088s ok 4 /g-file/test_g_file_dup 1088s ok 5 /g-file/test_g_file_get_parse_name_utf8 1088s file:///tmp/test-tmp-glib_g-file.test-V0C3X2 1088s file:///tmp 1088s file:///tmp 1088s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1088s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1088s ok 6 /g-file/test_g_file_new_for_commandline_arg 1088s /dir1 /dir1/dir2/dir3/ 1088s /dir1/ /dir1/dir2/dir3/ 1088s /dir1 /dir1/dir2/dir3 1088s /dir1/ /dir1/dir2/dir3 1088s /tmp/ /something/ 1088s /dir1/dir2 /dir1/ 1088s //dir1/new //dir1/new/dir2/dir3 1088s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1088s file:///dir1 file:///dir1/dir2/dir3/ 1088s file:///dir1/ file:///dir1/dir2/dir3/ 1088s file:///dir1 file:///dir1/dir2/dir3 1088s file:///dir1/ file:///dir1/dir2/dir3 1088s file:///tmp/ file:///something/ 1088s file:///dir1/dir2 file:///dir1/ 1088s file:////dir1/new file:////dir1/new/dir2/dir3 1088s 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 1088s ok 7 /g-file/test_g_file_has_prefix 1088s ok 8 /g-file/test_g_file_get_parent_child 1088s # End of g-file tests 1088s ok - glib/g-file.test 1088s # Running test: glib/performance-threaded.test 1088s Running test "liststore-is-a" 1089s 16965 runs, min/avg/max = 0.058/0.059/0.281 ms 1089s Running test "liststore-interface-peek" 1090s 30331 runs, min/avg/max = 0.032/0.033/0.396 ms 1090s Running test "liststore-interface-peek-same" 1091s 30564 runs, min/avg/max = 0.031/0.033/0.212 ms 1091s ok - glib/performance-threaded.test 1091s # Running test: glib/volumemonitor.test 1091s TAP version 14 1091s # random seed: R02Se3510b6c2dd55e77c8c355ae2aa1b12b 1091s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1091s 1..3 1091s # Start of volumemonitor tests 1091s ok 1 /volumemonitor/connected_drives 1091s ok 2 /volumemonitor/volumes 1091s ok 3 /volumemonitor/mounts 1091s # End of volumemonitor tests 1091s ok - glib/volumemonitor.test 1091s # Running test: glib/assert-msg-test.py.test 1091s TAP version 13 1091s ok 1 __main__.TestAssertMessage.test_gassert 1091s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1091s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1091s # 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', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-rupDxzDzR2,guid=b9f69c6ac9aa9e8b573c1c9a674fba18', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Gp36pX/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Gp36pX/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.Gp36pX/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.URGxLhdtfL', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.yrv2kR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Gp36pX/wrapper.sh --artifacts=/tmp/autopkgtest.Gp36pX/installed-tests-artifacts --chdir=/tmp/autopkgtest.Gp36pX/build.345/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --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.Gp36pX/installed-tests-stderr --stdout=/tmp/autopkgtest.Gp36pX/installed-tests-stdout --tmp=/tmp/autopkgtest.Gp36pX/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests -- /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Gp36pX/build.345/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Gp36pX/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1091s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1091s # Error: ** 1091s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1091s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1091s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1091s 1..2 1091s ok - glib/assert-msg-test.py.test 1091s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=184.6s; system=65.8s; maxrss=143724 1091s autopkgtest [02:16:20]: test installed-tests: -----------------------] 1092s installed-tests PASSautopkgtest [02:16:21]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1092s 1093s autopkgtest [02:16:22]: test closure-refcount: preparing testbed 1093s Reading package lists... 1093s Building dependency tree... 1093s Reading state information... 1093s Starting pkgProblemResolver with broken count: 0 1093s Starting 2 pkgProblemResolver with broken count: 0 1093s Done 1094s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1095s autopkgtest [02:16:24]: test closure-refcount: [----------------------- 1095s Running test: glib/closure-refcount.test 1095s TAP version 14 1095s # random seed: R02S5e06bee73ab8ca68a0a40c8cfaa0788b 1095s 1..1 1095s # Start of closure tests 1095s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1095s # End of closure tests 1095s PASS: glib/closure-refcount.test 1095s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3148 1095s autopkgtest [02:16:24]: test closure-refcount: -----------------------] 1096s closure-refcount PASS 1096s autopkgtest [02:16:25]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1096s autopkgtest [02:16:25]: test debugcontroller: preparing testbed 1096s Reading package lists... 1097s Building dependency tree... 1097s Reading state information... 1097s Starting pkgProblemResolver with broken count: 0 1097s Starting 2 pkgProblemResolver with broken count: 0 1097s Done 1098s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1098s autopkgtest [02:16:27]: test debugcontroller: [----------------------- 1099s Running test: glib/debugcontroller.test 1099s TAP version 14 1099s # random seed: R02S1a1712ec14f3c5559c2a9ec2760d1e4a 1099s 1..3 1099s # Start of debug-controller tests 1099s # Start of dbus tests 1099s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1099s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1099s # GLib-GIO-DEBUG: Debug output enabled 1099s # GLib-GIO-DEBUG: Debug output disabled 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s ok 1 /debug-controller/dbus/basic 1099s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s ok 2 /debug-controller/dbus/duplicate 1099s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1099s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1099s # GLib-GIO-DEBUG: Debug output enabled 1099s # GLib-GIO-DEBUG: Debug output disabled 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1099s ok 3 /debug-controller/dbus/properties 1099s # End of dbus tests 1099s # End of debug-controller tests 1099s PASS: glib/debugcontroller.test 1099s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5856 1099s autopkgtest [02:16:28]: test debugcontroller: -----------------------] 1099s autopkgtest [02:16:28]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1099s debugcontroller PASS 1100s autopkgtest [02:16:29]: test gdbus-server-auth: preparing testbed 1100s Reading package lists... 1100s Building dependency tree... 1100s Reading state information... 1100s Starting pkgProblemResolver with broken count: 0 1101s Starting 2 pkgProblemResolver with broken count: 0 1101s Done 1101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1102s autopkgtest [02:16:31]: test gdbus-server-auth: [----------------------- 1102s Running test: glib/gdbus-server-auth.test 1102s TAP version 14 1102s # random seed: R02Sae8bf1c71508a25252748d70e2588125 1102s 1..9 1102s # Start of gdbus tests 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/.dirs/runtime 1102s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8BKUX2/gdbus-server-auth-0UJUX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1102s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8BKUX2/gdbus-server-auth-0UJUX2/dbus-B7eG7MNi 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16664 1102s ok 1 /gdbus/server-auth 1102s # Start of server-auth tests 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/abstract/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/abstract/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/abstract/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/abstract/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/abstract/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/abstract/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/abstract/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/abstract/.dirs/runtime 1102s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_8BKUX2/gdbus-server-auth-SKLTX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1102s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8BKUX2/gdbus-server-auth-SKLTX2/dbus-lVHENxDK 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16664 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1102s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16664 1102s ok 2 /gdbus/server-auth/abstract 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/tcp/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/tcp/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/tcp/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/tcp/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/tcp/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/tcp/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/tcp/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/tcp/.dirs/runtime 1102s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1102s # Connectable address: tcp:host=127.0.0.1,port=43005 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1102s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1102s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1102s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1102s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1103s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1103s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1103s ok 3 /gdbus/server-auth/tcp 1103s # slow test /gdbus/server-auth/tcp executed in 0.87 secs 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/.dirs/runtime 1103s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8BKUX2/gdbus-server-auth-V16VX2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1103s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8BKUX2/gdbus-server-auth-V16VX2/dbus-pdty5qcK 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16664 1103s ok 4 /gdbus/server-auth/anonymous 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/.dirs/runtime 1103s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8BKUX2/gdbus-server-auth-5ILWX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1103s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8BKUX2/gdbus-server-auth-5ILWX2/dbus-7eKFvcGY 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1103s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16664 1103s ok 5 /gdbus/server-auth/external 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/.dirs/runtime 1103s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8BKUX2/gdbus-server-auth-9NNVX2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1103s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8BKUX2/gdbus-server-auth-9NNVX2/dbus-vtV9nhuN 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16664 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1103s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16664 1103s ok 6 /gdbus/server-auth/sha1 1103s # Start of anonymous tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/tcp/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/tcp/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/tcp/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/tcp/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1103s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1103s # Connectable address: tcp:host=127.0.0.1,port=42047 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1103s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1103s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1103s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1103s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1103s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1104s ok 7 /gdbus/server-auth/anonymous/tcp 1104s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.84 secs 1104s # End of anonymous tests 1104s # Start of external tests 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/require-same-user/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/require-same-user/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/require-same-user/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/require-same-user/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/require-same-user/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1104s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_8BKUX2/gdbus-server-auth-TNUYX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1104s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_8BKUX2/gdbus-server-auth-TNUYX2/dbus-yNq7uT0l 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16664 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1104s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16664,uid=1000,gid=1000 1104s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16664 1104s ok 8 /gdbus/server-auth/external/require-same-user 1104s # End of external tests 1104s # Start of sha1 tests 1104s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/tcp/.dirs/home 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/tcp/.dirs/cache 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/tcp/.dirs/config 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/tcp/.dirs/data 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/tcp/.dirs/state 1104s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_8BKUX2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1104s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1104s # Connectable address: tcp:host=127.0.0.1,port=41983 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1104s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1104s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1104s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1104s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1104s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1105s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1105s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1105s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1105s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1105s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1105s ok 9 /gdbus/server-auth/sha1/tcp 1105s # slow test /gdbus/server-auth/sha1/tcp executed in 0.85 secs 1105s # End of sha1 tests 1105s # End of server-auth tests 1105s # End of gdbus tests 1105s PASS: glib/gdbus-server-auth.test 1105s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=7964 1105s autopkgtest [02:16:34]: test gdbus-server-auth: -----------------------] 1106s gdbus-server-auth PASS 1106s autopkgtest [02:16:35]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1106s autopkgtest [02:16:35]: test gdbus-threading: preparing testbed 1106s Reading package lists... 1106s Building dependency tree... 1106s Reading state information... 1107s Starting pkgProblemResolver with broken count: 0 1107s Starting 2 pkgProblemResolver with broken count: 0 1107s Done 1108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1108s autopkgtest [02:16:37]: test gdbus-threading: [----------------------- 1108s Running test: glib/gdbus-threading.test 1108s TAP version 14 1108s # random seed: R02Se0b99498e1ef983e3eb79262b34d18d8 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1108s 1..3 1108s # Start of gdbus tests 1108s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/delivery-in-thread/.dirs/home 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/delivery-in-thread/.dirs/cache 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_W70NX2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_W70NX2/gdbus/delivery-in-thread/.dirs/system-config2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/delivery-in-thread/.dirs/config 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_W70NX2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_W70NX2/gdbus/delivery-in-thread/.dirs/system-data2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/delivery-in-thread/.dirs/data 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/delivery-in-thread/.dirs/state 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_W70NX2/gdbus/delivery-in-thread/.dirs/runtime 1108s ok 1 /gdbus/delivery-in-thread 1108s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/method-calls-in-thread/.dirs/home 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/method-calls-in-thread/.dirs/cache 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_W70NX2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_W70NX2/gdbus/method-calls-in-thread/.dirs/system-config2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/method-calls-in-thread/.dirs/config 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_W70NX2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_W70NX2/gdbus/method-calls-in-thread/.dirs/system-data2 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/method-calls-in-thread/.dirs/data 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/method-calls-in-thread/.dirs/state 1108s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_W70NX2/gdbus/method-calls-in-thread/.dirs/runtime 1109s ok 2 /gdbus/method-calls-in-thread 1109s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/threaded-singleton/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/threaded-singleton/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_W70NX2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_W70NX2/gdbus/threaded-singleton/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/threaded-singleton/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_W70NX2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_W70NX2/gdbus/threaded-singleton/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/threaded-singleton/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_W70NX2/gdbus/threaded-singleton/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_W70NX2/gdbus/threaded-singleton/.dirs/runtime 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0xe3fd88000f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: refcount of 0xe3fd88000f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: refcount of 0xe3fd88006370 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0xe3fd880065e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0xe3fd880075f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0xe3fd88001ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0xe3fd88006910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0xe3fd88005330 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: refcount of 0xe3fd88005350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0xe3fd88001510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0xe3fd88005300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0xe3fd880077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0xe3fd88001fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0xe3fd88000a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0xe3fd88006030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0xe3fd880075e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0xe3fd88007060 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0xe3fd880077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: refcount of 0xe3fd880070e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1111s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0xe3fd88007ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0xe3fd88006570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: refcount of 0xe3fd88006570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0xe3fd88001970 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0xe3fd88007840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0xe3fd880041e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0xe3fd88007e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: refcount of 0xe3fd88006470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: refcount of 0xe3fd880068c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: refcount of 0xe3fd88007d60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s ok 3 /gdbus/threaded-singleton 1113s # slow test /gdbus/threaded-singleton executed in 3.38 secs 1113s # End of gdbus tests 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s PASS: glib/gdbus-threading.test 1113s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.0s; system=0.7s; maxrss=5624 1113s autopkgtest [02:16:42]: test gdbus-threading: -----------------------] 1114s autopkgtest [02:16:43]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1114s gdbus-threading PASS 1114s autopkgtest [02:16:43]: test gmenumodel: preparing testbed 1114s Reading package lists... 1114s Building dependency tree... 1114s Reading state information... 1115s Starting pkgProblemResolver with broken count: 0 1115s Starting 2 pkgProblemResolver with broken count: 0 1115s Done 1116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1116s autopkgtest [02:16:45]: test gmenumodel: [----------------------- 1117s Running test: glib/gmenumodel.test 1117s TAP version 14 1117s # random seed: R02Sbc483f89b3d351b2fd2e72e126d32a95 1117s 1..15 1117s # Start of gmenu tests 1117s ok 1 /gmenu/equality 1117s # slow test /gmenu/equality executed in 0.57 secs 1118s ok 2 /gmenu/random 1118s # slow test /gmenu/random executed in 0.70 secs 1118s ok 3 /gmenu/attributes 1118s ok 4 /gmenu/links 1118s ok 5 /gmenu/mutable 1118s ok 6 /gmenu/convenience 1118s ok 7 /gmenu/menuitem 1118s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1118s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1118s ok 8 /gmenu/input-validation 1118s # Start of dbus tests 1118s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1119s ok 9 /gmenu/dbus/roundtrip 1119s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1119s ok 10 /gmenu/dbus/subscriptions 1120s ok 11 /gmenu/dbus/threaded 1120s # slow test /gmenu/dbus/threaded executed in 0.81 secs 1120s # Start of peer tests 1121s ok 12 /gmenu/dbus/peer/roundtrip 1121s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1122s Executing: glib/gmenumodel.test 1122s ok 13 /gmenu/dbus/peer/subscriptions 1122s # End of peer tests 1122s # Start of export tests 1122s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1122s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1122s ok 14 /gmenu/dbus/export/error-handling 1122s # End of export tests 1122s # End of dbus tests 1122s # Start of attributes tests 1122s ok 15 /gmenu/attributes/iterate 1122s # End of attributes tests 1122s # End of gmenu tests 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1122s PASS: glib/gmenumodel.test 1122s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.8s; system=0.1s; maxrss=21228 1122s autopkgtest [02:16:51]: test gmenumodel: -----------------------] 1122s gmenumodel PASS 1122s autopkgtest [02:16:51]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1123s autopkgtest [02:16:52]: test mainloop: preparing testbed 1123s Reading package lists... 1123s Building dependency tree... 1123s Reading state information... 1124s Starting pkgProblemResolver with broken count: 0 1124s Starting 2 pkgProblemResolver with broken count: 0 1124s Done 1124s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1125s autopkgtest [02:16:54]: test mainloop: [----------------------- 1125s Running test: glib/mainloop.test 1125s TAP version 14 1125s # random seed: R02S704187d509aacfaf2fed7d6335c16be0 1125s 1..45 1125s # Start of maincontext tests 1125s ok 1 /maincontext/basic 1125s # Add same-priority sources: 15 1125s # Find each source: 2 1125s # Remove in random order: 33 1125s ok 2 /maincontext/nsources_same_priority 1125s # Add different-priority sources: 17 1125s # Find each source: 2 1126s # Remove in random order: 38 1126s ok 3 /maincontext/nsources_different_priority 1126s # Add sources from threads: 146 1126s # Remove sources from threads: 39 1126s ok 4 /maincontext/nsources_threadpool 1126s ok 5 /maincontext/source_finalization 1126s # /maincontext/idle-once summary: Test g_idle_add_once() works 1126s ok 6 /maincontext/idle-once 1126s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1126s ok 7 /maincontext/timeout-once 1126s # Start of source_finalization_from_source tests 1126s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1126s ok 8 /maincontext/source_finalization_from_source/0 1126s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1126s ok 9 /maincontext/source_finalization_from_source/1 1126s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1126s ok 10 /maincontext/source_finalization_from_source/2 1126s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1126s ok 11 /maincontext/source_finalization_from_source/3 1126s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1126s ok 12 /maincontext/source_finalization_from_source/4 1126s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1126s ok 13 /maincontext/source_finalization_from_source/5 1126s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1126s ok 14 /maincontext/source_finalization_from_source/6 1126s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1126s ok 15 /maincontext/source_finalization_from_source/7 1126s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1126s ok 16 /maincontext/source_finalization_from_source/8 1126s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1126s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1126s ok 17 /maincontext/source_finalization_from_source/9 1126s # End of source_finalization_from_source tests 1126s # Start of source_finalization_from_dispatch tests 1126s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1126s ok 18 /maincontext/source_finalization_from_dispatch/0 1126s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1126s ok 19 /maincontext/source_finalization_from_dispatch/1 1126s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1126s ok 20 /maincontext/source_finalization_from_dispatch/2 1126s # End of source_finalization_from_dispatch tests 1126s # End of maincontext tests 1126s # Start of mainloop tests 1126s ok 21 /mainloop/basic 1126s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1126s ok 23 /mainloop/priorities 1126s ok 24 /mainloop/invoke 1126s # slow test /mainloop/invoke executed in 0.50 secs 1127s ok 25 /mainloop/child_sources 1127s # slow test /mainloop/child_sources executed in 1.18 secs 1130s ok 26 /mainloop/recursive_child_sources 1130s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 1130s ok 27 /mainloop/recursive_loop_child_sources 1130s ok 28 /mainloop/swapping_child_sources 1130s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1130s ok 29 /mainloop/blocked_child_sources 1131s Executing: glib/mainloop.test 1131s ok 30 /mainloop/source_time 1131s # slow test /mainloop/source_time executed in 1.00 secs 1131s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1131s ok 31 /mainloop/overflow 1131s ok 32 /mainloop/ready-time 1131s # slow test /mainloop/ready-time executed in 0.50 secs 1131s ok 33 /mainloop/wakeup 1131s ok 34 /mainloop/remove-invalid 1131s ok 35 /mainloop/unref-while-pending 1132s ok 36 /mainloop/unix-fd 1132s # slow test /mainloop/unix-fd executed in 0.58 secs 1132s ok 37 /mainloop/unix-fd-source 1132s ok 38 /mainloop/source-unix-fd-api 1132s ok 39 /mainloop/wait 1132s ok 40 /mainloop/unix-file-poll 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1132s ok 41 /mainloop/unix-fd-priority 1132s ok 42 /mainloop/nfds 1132s ok 43 /mainloop/steal-fd 1132s # Start of ownerless-polling tests 1132s ok 44 /mainloop/ownerless-polling/attach-first 1132s ok 45 /mainloop/ownerless-polling/pop-first 1132s # End of ownerless-polling tests 1132s # End of mainloop tests 1132s PASS: glib/mainloop.test 1132s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.6s; maxrss=15400 1132s autopkgtest [02:17:01]: test mainloop: -----------------------] 1133s mainloop PASS 1133s autopkgtest [02:17:02]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1133s autopkgtest [02:17:02]: test memory-monitor-dbus: preparing testbed 1133s Reading package lists... 1134s Building dependency tree... 1134s Reading state information... 1134s Starting pkgProblemResolver with broken count: 0 1134s Starting 2 pkgProblemResolver with broken count: 0 1134s Done 1135s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1135s autopkgtest [02:17:04]: test memory-monitor-dbus: [----------------------- 1136s Running test: glib/memory-monitor-dbus.test 1136s TAP version 13 1136s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1136s # Received memory warning signal, level 1136s # Received memory warning signal, level 1136s # Received memory warning signal, level 1136s # Received memory warning signal, level 1136s 1..1 1136s PASS: glib/memory-monitor-dbus.test 1136s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=29060 1136s autopkgtest [02:17:05]: test memory-monitor-dbus: -----------------------] 1137s autopkgtest [02:17:06]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1137s memory-monitor-dbus PASS 1137s autopkgtest [02:17:06]: test socket: 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 1139s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1139s autopkgtest [02:17:08]: test socket: [----------------------- 1140s Running test: glib/socket.test 1140s TAP version 14 1140s # random seed: R02S25e58d23586d34dda1f070ecc0111f31 1140s 1..28 1140s # Start of socket tests 1141s ok 1 /socket/ipv4_sync 1141s # slow test /socket/ipv4_sync executed in 1.00 secs 1142s ok 2 /socket/ipv4_async 1142s # slow test /socket/ipv4_async executed in 1.00 secs 1142s ok 3 /socket/ipv6_sync 1142s ok 4 /socket/ipv6_async 1142s ok 5 /socket/ipv6_v4mapped 1143s ok 6 /socket/close_graceful 1143s # slow test /socket/close_graceful executed in 1.00 secs 1143s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1143s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1143s ok 8 /socket/fd_reuse 1143s ok 9 /socket/address 1143s ok 10 /socket/unix-from-fd 1143s ok 11 /socket/unix-connection 1143s ok 12 /socket/unix-connection-ancillary-data 1143s ok 13 /socket/source-postmortem 1143s ok 14 /socket/read_write 1143s ok 15 /socket/read_writev 1143s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1143s ok 16 /socket/receive_bytes 1143s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1143s ok 17 /socket/receive_bytes_from 1143s # Start of ipv4_sync tests 1143s ok 18 /socket/ipv4_sync/datagram 1143s # Start of datagram tests 1144s ok 19 /socket/ipv4_sync/datagram/timeouts 1144s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1144s # End of datagram tests 1144s # End of ipv4_sync tests 1144s # Start of ipv6_sync tests 1144s ok 20 /socket/ipv6_sync/datagram 1144s # Start of datagram tests 1145s Executing: glib/socket.test 1145s ok 21 /socket/ipv6_sync/datagram/timeouts 1145s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1145s # End of datagram tests 1145s # End of ipv6_sync tests 1145s # Start of reuse tests 1145s ok 22 /socket/reuse/tcp 1145s ok 23 /socket/reuse/udp 1145s # End of reuse tests 1145s # Start of get_available tests 1145s ok 24 /socket/get_available/datagram 1145s ok 25 /socket/get_available/stream 1145s # End of get_available tests 1145s # Start of credentials tests 1145s # Supported on this OS: GCredentials:linux-ucred:pid=0 1145s ok 26 /socket/credentials/tcp_client 1145s # Supported on this OS: GCredentials:linux-ucred:pid=0 1145s ok 27 /socket/credentials/tcp_server 1145s # Supported on this OS: GCredentials:linux-ucred:pid=18509,uid=1000,gid=1000 1145s ok 28 /socket/credentials/unix_socketpair 1145s # End of credentials tests 1145s # End of socket tests 1145s PASS: glib/socket.test 1145s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5412 1145s autopkgtest [02:17:14]: test socket: -----------------------] 1146s socket PASS 1146s autopkgtest [02:17:15]: test socket: - - - - - - - - - - results - - - - - - - - - - 1146s autopkgtest [02:17:15]: test testfilemonitor: preparing testbed 1146s Reading package lists... 1146s Building dependency tree... 1146s Reading state information... 1147s Starting pkgProblemResolver with broken count: 0 1147s Starting 2 pkgProblemResolver with broken count: 0 1147s Done 1148s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1148s autopkgtest [02:17:17]: test testfilemonitor: [----------------------- 1149s Running test: glib/testfilemonitor.test 1149s TAP version 14 1149s # random seed: R02Sd16975d81126234379c629d763ad1ade 1149s 1..8 1149s # Start of monitor tests 1149s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1149s # Using temporary directory: /tmp/gio-test-testfilemonitor_2UR8X2 1149s # Using GFileMonitor GInotifyFileMonitor 1151s ok 1 /monitor/atomic-replace 1151s # slow test /monitor/atomic-replace executed in 2.00 secs 1151s # Using temporary directory: /tmp/gio-test-testfilemonitor_QTN8X2 1151s # Using GFileMonitor GInotifyFileMonitor 1153s ok 2 /monitor/file-changes 1153s # slow test /monitor/file-changes executed in 2.50 secs 1153s # Using temporary directory: /tmp/gio-test-testfilemonitor_U65WX2 1153s # Using GFileMonitor GInotifyFileMonitor 1154s Executing: glib/testfilemonitor.test 1157s ok 3 /monitor/dir-monitor 1157s # slow test /monitor/dir-monitor executed in 3.50 secs 1157s # Using temporary directory: /tmp/gio-test-testfilemonitor_JXH8X2 1157s # Using GFileMonitor GInotifyFileMonitor 1159s Executing: glib/testfilemonitor.test 1164s Executing: glib/testfilemonitor.test 1169s Executing: glib/testfilemonitor.test 1174s Executing: glib/testfilemonitor.test 1179s Executing: glib/testfilemonitor.test 1182s ok 4 /monitor/dir-not-existent 1182s # slow test /monitor/dir-not-existent executed in 25.02 secs 1182s # Using temporary directory: /tmp/gio-test-testfilemonitor_8D17X2 1182s # Using GFileMonitor 0 GInotifyFileMonitor 1182s # Using GFileMonitor 1 GInotifyFileMonitor 1184s ok 5 /monitor/cross-dir-moves 1184s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1184s # Using temporary directory: /tmp/gio-test-testfilemonitor_KAY7X2 1184s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1184s ok 6 /monitor/finalize-in-callback 1184s # Using temporary directory: /tmp/gio-test-testfilemonitor_HX06X2 1184s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1184s ok 7 /monitor/root 1184s # Start of file tests 1184s # Using temporary directory: /tmp/gio-test-testfilemonitor_5TY6X2 1184s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1184s # Running with hard link tests 1184s # Using GFileMonitor GInotifyFileMonitor 1184s Executing: glib/testfilemonitor.test 1187s # Event 0 at expected index 7 skipped because it is marked as optional 1187s # Event 2 at expected index 11 skipped because it is marked as optional 1187s ok 8 /monitor/file/hard-links 1187s # slow test /monitor/file/hard-links executed in 3.51 secs 1187s # End of file tests 1187s # End of monitor tests 1187s PASS: glib/testfilemonitor.test 1187s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5372 1187s autopkgtest [02:17:56]: test testfilemonitor: -----------------------] 1188s testfilemonitor PASS 1188s autopkgtest [02:17:57]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1188s autopkgtest [02:17:57]: test thread-pool-slow: preparing testbed 1189s Reading package lists... 1189s Building dependency tree... 1189s Reading state information... 1189s Starting pkgProblemResolver with broken count: 0 1189s Starting 2 pkgProblemResolver with broken count: 0 1189s Done 1190s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1191s autopkgtest [02:18:00]: test thread-pool-slow: [----------------------- 1191s Running test: glib/thread-pool-slow.test 1191s TAP version 14 1191s # random seed: R02S20afe33002ab63c32875f5b82d3f80ed 1191s 1..7 1191s # Start of threadpool tests 1191s ok 1 /threadpool/functions 1192s ok 2 /threadpool/stop-unused 1192s # slow test /threadpool/stop-unused executed in 0.51 secs 1192s ok 3 /threadpool/pools 1192s # [unsorted] ===> pushed new thread with id:47, number of threads:1, unprocessed:1 1192s # [unsorted] ===> pushed new thread with id:59, number of threads:2, unprocessed:2 1192s # [unsorted] ===> pushed new thread with id:70, number of threads:3, unprocessed:3 1192s # [unsorted] ===> pushed new thread with id:70, number of threads:4, unprocessed:4 1192s # [unsorted] ===> pushed new thread with id:6, number of threads:5, unprocessed:5 1192s # [unsorted] ===> pushed new thread with id:85, number of threads:6, unprocessed:6 1192s # [unsorted] ===> pushed new thread with id:81, number of threads:7, unprocessed:7 1192s # [unsorted] ===> pushed new thread with id:16, number of threads:8, unprocessed:8 1192s # [unsorted] ===> pushed new thread with id:19, number of threads:9, unprocessed:9 1192s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:10 1192s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:11 1192s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:12 1192s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:12 1192s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:13 1192s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:14 1192s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:15 1192s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:16 1192s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:17 1192s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:18 1192s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:19 1192s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:20 1192s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:21 1192s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:22 1192s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:23 1192s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:24 1192s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:25 1192s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:26 1192s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:27 1192s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:28 1192s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:29 1192s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:30 1192s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:31 1192s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:32 1192s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:33 1192s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:34 1192s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:35 1192s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:36 1192s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:37 1192s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:37 1192s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:38 1192s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:31 1192s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:32 1192s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:33 1192s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:34 1192s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:35 1192s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:36 1192s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:37 1192s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:38 1192s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:39 1192s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:40 1192s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:41 1192s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:42 1192s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:43 1192s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:44 1192s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:45 1192s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:46 1192s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:47 1192s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:48 1192s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:49 1192s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:50 1192s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:51 1192s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:52 1192s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:53 1192s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:54 1192s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:55 1192s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:56 1192s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:57 1192s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:58 1192s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:59 1192s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:60 1192s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:61 1192s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:62 1192s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:63 1192s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:64 1192s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:65 1192s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:66 1192s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:67 1192s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:68 1192s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:69 1192s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:70 1192s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:71 1192s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:72 1192s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:73 1192s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:74 1192s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:75 1192s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:76 1192s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:77 1192s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:78 1192s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:79 1192s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:80 1192s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:81 1192s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:82 1192s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:83 1192s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:84 1192s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:85 1192s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:86 1192s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:87 1192s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:88 1192s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:89 1192s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:90 1192s ok 4 /threadpool/no-sort 1192s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:1 1192s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:2 1192s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:3 1192s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:4 1192s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:5 1192s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:6 1192s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:7 1192s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:8 1192s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:9 1192s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:10 1192s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:11 1192s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:12 1192s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:13 1192s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:14 1192s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:15 1192s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:16 1192s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:17 1192s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:18 1192s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:19 1192s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:20 1192s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:21 1192s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:22 1192s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:23 1192s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:24 1192s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:25 1192s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:26 1192s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:27 1192s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:28 1192s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:29 1192s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:30 1192s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:31 1192s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:32 1192s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:33 1192s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:34 1192s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:35 1192s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:36 1192s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:37 1192s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:38 1192s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:39 1192s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:40 1192s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:41 1192s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:42 1192s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:43 1192s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:44 1192s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:45 1192s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:46 1192s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:47 1192s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:48 1192s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:49 1192s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:50 1192s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:51 1192s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:52 1192s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:53 1192s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:54 1192s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:55 1192s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:56 1192s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:57 1192s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:58 1192s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:59 1192s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:60 1192s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:61 1192s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:62 1192s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:63 1192s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:64 1192s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:65 1192s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:66 1192s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:67 1192s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:68 1192s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:69 1192s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:70 1192s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:71 1192s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:72 1192s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:73 1192s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:74 1192s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:75 1192s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:76 1192s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:77 1192s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:78 1192s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:79 1192s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:80 1192s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:81 1192s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:82 1192s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:83 1192s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:84 1192s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:85 1192s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:86 1192s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:87 1192s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:88 1192s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:89 1192s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:90 1192s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:91 1192s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:92 1192s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:93 1192s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:94 1192s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:95 1192s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:96 1192s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:97 1192s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:98 1192s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:99 1192s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:100 1192s # Starting thread pool processing 1192s ok 5 /threadpool/sort 1192s ok 6 /threadpool/stop-unused-multiple 1192s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1192s # Pool idle thread count: 0, unprocessed jobs: 47 1193s # Pool idle thread count: 0, unprocessed jobs: 0 1193s # Pool idle thread count: 0, unprocessed jobs: 0 1193s # Pool idle thread count: 10, unprocessed jobs: 0 1193s # Pool idle thread count: 10, unprocessed jobs: 0 1194s # Pool idle thread count: 10, unprocessed jobs: 0 1194s # Pool idle thread count: 10, unprocessed jobs: 0 1194s # Pool idle thread count: 10, unprocessed jobs: 0 1194s # Pool idle thread count: 10, unprocessed jobs: 0 1195s # Pool idle thread count: 10, unprocessed jobs: 0 1195s # Pool idle thread count: 10, unprocessed jobs: 0 1195s # Pool idle thread count: 10, unprocessed jobs: 0 1195s # Pool idle thread count: 10, unprocessed jobs: 0 1196s # Pool idle thread count: 10, unprocessed jobs: 0 1196s # Pool idle thread count: 10, unprocessed jobs: 0 1196s # Pool idle thread count: 10, unprocessed jobs: 0 1196s # Pool idle thread count: 10, unprocessed jobs: 0 1197s Executing: glib/thread-pool-slow.test 1197s # Pool idle thread count: 10, unprocessed jobs: 0 1197s # Pool idle thread count: 10, unprocessed jobs: 0 1197s # Pool idle thread count: 10, unprocessed jobs: 0 1197s # Pool idle thread count: 10, unprocessed jobs: 0 1198s # Pool idle thread count: 10, unprocessed jobs: 0 1198s # Pool idle thread count: 10, unprocessed jobs: 0 1198s # Pool idle thread count: 10, unprocessed jobs: 0 1198s # Pool idle thread count: 10, unprocessed jobs: 0 1199s # Pool idle thread count: 10, unprocessed jobs: 0 1199s # Pool idle thread count: 10, unprocessed jobs: 0 1199s # Pool idle thread count: 10, unprocessed jobs: 0 1199s # Pool idle thread count: 10, unprocessed jobs: 0 1200s # Pool idle thread count: 10, unprocessed jobs: 0 1200s # Pool idle thread count: 10, unprocessed jobs: 0 1200s # Pool idle thread count: 10, unprocessed jobs: 0 1200s # Pool idle thread count: 10, unprocessed jobs: 0 1201s # Pool idle thread count: 10, unprocessed jobs: 0 1201s # Pool idle thread count: 10, unprocessed jobs: 0 1201s # Pool idle thread count: 10, unprocessed jobs: 2 1201s # Pool idle thread count: 8, unprocessed jobs: 0 1201s # Pool idle thread count: 8, unprocessed jobs: 0 1201s # Pool idle thread count: 8, unprocessed jobs: 0 1202s Executing: glib/thread-pool-slow.test 1202s # Pool idle thread count: 10, unprocessed jobs: 0 1202s # Pool idle thread count: 10, unprocessed jobs: 0 1202s # Pool idle thread count: 10, unprocessed jobs: 0 1202s # Pool idle thread count: 10, unprocessed jobs: 0 1203s # Pool idle thread count: 10, unprocessed jobs: 0 1203s # Pool idle thread count: 10, unprocessed jobs: 0 1203s # Pool idle thread count: 2, unprocessed jobs: 0 1203s # Pool idle thread count: 2, unprocessed jobs: 0 1204s # Pool idle thread count: 2, unprocessed jobs: 0 1204s # Pool idle thread count: 2, unprocessed jobs: 0 1204s # Pool idle thread count: 2, unprocessed jobs: 0 1204s # Pool idle thread count: 2, unprocessed jobs: 0 1205s # Pool idle thread count: 2, unprocessed jobs: 0 1205s # Pool idle thread count: 2, unprocessed jobs: 0 1205s # Pool idle thread count: 2, unprocessed jobs: 0 1205s # Pool idle thread count: 2, unprocessed jobs: 0 1206s # Pool idle thread count: 2, unprocessed jobs: 0 1206s # Pool idle thread count: 2, unprocessed jobs: 0 1206s # Pool idle thread count: 2, unprocessed jobs: 0 1206s # Pool idle thread count: 2, unprocessed jobs: 0 1207s Executing: glib/thread-pool-slow.test 1207s # Pool idle thread count: 2, unprocessed jobs: 0 1207s # Pool idle thread count: 2, unprocessed jobs: 0 1207s # Pool idle thread count: 2, unprocessed jobs: 0 1207s # Pool idle thread count: 2, unprocessed jobs: 0 1208s # Pool idle thread count: 2, unprocessed jobs: 0 1208s # Pool idle thread count: 2, unprocessed jobs: 0 1208s # Pool idle thread count: 2, unprocessed jobs: 0 1208s # Pool idle thread count: 2, unprocessed jobs: 0 1209s # Pool idle thread count: 2, unprocessed jobs: 0 1209s # Pool idle thread count: 2, unprocessed jobs: 0 1209s # Pool idle thread count: 2, unprocessed jobs: 0 1209s # Pool idle thread count: 2, unprocessed jobs: 0 1210s # Pool idle thread count: 2, unprocessed jobs: 0 1210s # Pool idle thread count: 2, unprocessed jobs: 0 1210s # Pool idle thread count: 2, unprocessed jobs: 0 1210s # Pool idle thread count: 2, unprocessed jobs: 0 1211s # Pool idle thread count: 2, unprocessed jobs: 0 1211s # Pool idle thread count: 2, unprocessed jobs: 0 1211s # Pool idle thread count: 2, unprocessed jobs: 0 1211s # Pool idle thread count: 2, unprocessed jobs: 0 1212s Executing: glib/thread-pool-slow.test 1212s ok 7 /threadpool/idle-time 1212s # slow test /threadpool/idle-time executed in 19.53 secs 1212s # End of threadpool tests 1212s PASS: glib/thread-pool-slow.test 1212s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3504 1212s autopkgtest [02:18:21]: test thread-pool-slow: -----------------------] 1213s thread-pool-slow PASS 1213s autopkgtest [02:18:22]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1213s autopkgtest [02:18:22]: test threadtests: preparing testbed 1213s Reading package lists... 1214s Building dependency tree... 1214s Reading state information... 1214s Starting pkgProblemResolver with broken count: 0 1214s Starting 2 pkgProblemResolver with broken count: 0 1214s Done 1215s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1215s autopkgtest [02:18:24]: test threadtests: [----------------------- 1216s Running test: glib/threadtests.test 1216s TAP version 14 1216s # random seed: R02S7bf10a3492438897d0772f5ee5262a7c 1216s 1..5 1216s # Start of GObject tests 1216s ok 1 /GObject/threaded-object-init 1216s ok 2 /GObject/threaded-weak-ref 1216s # slow test /GObject/threaded-weak-ref executed in 0.67 secs 1216s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1216s # /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 1216s ok 3 /GObject/threaded-toggle-notify 1216s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1216s # Start of threaded-weak-ref tests 1216s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1216s # /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. 1216s ok 5 /GObject/threaded-weak-ref/on-finalization 1216s # End of threaded-weak-ref tests 1216s # End of GObject tests 1216s PASS: glib/threadtests.test 1216s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.4s; maxrss=3476 1217s autopkgtest [02:18:26]: test threadtests: -----------------------] 1217s threadtests PASS 1217s autopkgtest [02:18:26]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1218s autopkgtest [02:18:27]: test timeout: preparing testbed 1218s Reading package lists... 1218s Building dependency tree... 1218s Reading state information... 1218s Starting pkgProblemResolver with broken count: 0 1218s Starting 2 pkgProblemResolver with broken count: 0 1218s Done 1219s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1220s autopkgtest [02:18:29]: test timeout: [----------------------- 1220s Running test: glib/timeout.test 1220s TAP version 14 1220s # random seed: R02S11ad433a0190a7b9c66689a4d2c8198f 1220s 1..5 1220s # Start of timeout tests 1220s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1222s ok 1 /timeout/seconds 1222s # slow test /timeout/seconds executed in 2.10 secs 1224s ok 2 /timeout/seconds-once 1224s # slow test /timeout/seconds-once executed in 2.10 secs 1224s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1226s Executing: glib/timeout.test 1226s ok 3 /timeout/weeks-overflow 1226s # slow test /timeout/weeks-overflow executed in 2.10 secs 1226s ok 4 /timeout/far-future-ready-time 1231s Executing: glib/timeout.test 1236s Executing: glib/timeout.test 1237s ok 5 /timeout/rounding 1237s # slow test /timeout/rounding executed in 10.27 secs 1237s # End of timeout tests 1237s PASS: glib/timeout.test 1237s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2732 1237s autopkgtest [02:18:46]: test timeout: -----------------------] 1237s timeout PASS 1237s autopkgtest [02:18:46]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1238s autopkgtest [02:18:47]: test timer: preparing testbed 1238s Reading package lists... 1238s Building dependency tree... 1238s 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 [02:18:49]: test timer: [----------------------- 1240s Running test: glib/timer.test 1240s TAP version 14 1240s # random seed: R02Sabc648eb5de35050b58f834294bf3749 1240s 1..10 1240s # Start of timer tests 1240s ok 1 /timer/basic 1240s ok 2 /timer/stop 1240s ok 3 /timer/continue 1240s ok 4 /timer/reset 1240s ok 5 /timer/is_active 1240s # End of timer tests 1240s # Start of timeval tests 1240s ok 6 /timeval/add 1240s ok 7 /timeval/from-iso8601 1240s ok 8 /timeval/to-iso8601 1240s # Start of to-iso8601 tests 1240s ok 9 /timeval/to-iso8601/overflow 1240s # End of to-iso8601 tests 1240s # End of timeval tests 1240s # Start of usleep tests 1240s ok 10 /usleep/with-zero-wait 1240s # End of usleep tests 1240s PASS: glib/timer.test 1240s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2868 1241s autopkgtest [02:18:50]: test timer: -----------------------] 1241s timer PASS 1241s autopkgtest [02:18:50]: test timer: - - - - - - - - - - results - - - - - - - - - - 1242s autopkgtest [02:18:51]: test 1065022-futureproofing: preparing testbed 1329s autopkgtest [02:20:18]: testbed dpkg architecture: arm64 1329s autopkgtest [02:20:18]: testbed apt version: 2.9.14ubuntu1 1330s autopkgtest [02:20:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1330s autopkgtest [02:20:19]: testbed release detected to be: plucky 1331s autopkgtest [02:20:20]: updating testbed package index (apt update) 1331s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1331s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1331s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1331s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1331s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 1332s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1332s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 1332s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 1332s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [131 kB] 1332s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [58.2 kB] 1332s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [627 kB] 1332s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [20.8 kB] 1332s Fetched 1753 kB in 1s (1896 kB/s) 1333s Reading package lists... 1334s Reading package lists... 1334s Building dependency tree... 1334s Reading state information... 1335s Calculating upgrade... 1336s The following package was automatically installed and is no longer required: 1336s libassuan0 1336s Use 'sudo apt autoremove' to remove it. 1336s The following packages will be upgraded: 1336s binutils binutils-aarch64-linux-gnu binutils-common dirmngr gnupg gnupg-l10n 1336s gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv keyboxd 1336s libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgprofng0 libsframe1 1336s publicsuffix 1336s 21 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1336s Need to get 7826 kB of archives. 1336s After this operation, 52.2 kB disk space will be freed. 1336s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libcap-ng0 arm64 0.8.5-4 [14.9 kB] 1336s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg-wks-client arm64 2.4.4-2ubuntu20 [70.3 kB] 1336s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dirmngr arm64 2.4.4-2ubuntu20 [320 kB] 1337s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgsm arm64 2.4.4-2ubuntu20 [227 kB] 1337s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg-utils arm64 2.4.4-2ubuntu20 [107 kB] 1337s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg-agent arm64 2.4.4-2ubuntu20 [224 kB] 1337s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 gpg arm64 2.4.4-2ubuntu20 [554 kB] 1337s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgconf arm64 2.4.4-2ubuntu20 [103 kB] 1337s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg all 2.4.4-2ubuntu20 [359 kB] 1337s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 keyboxd arm64 2.4.4-2ubuntu20 [76.0 kB] 1337s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 gpgv arm64 2.4.4-2ubuntu20 [153 kB] 1337s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 publicsuffix all 20241025.1547-0.1 [135 kB] 1337s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libgprofng0 arm64 2.43.50.20241126-3ubuntu1 [781 kB] 1337s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libctf0 arm64 2.43.50.20241126-3ubuntu1 [99.0 kB] 1337s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libctf-nobfd0 arm64 2.43.50.20241126-3ubuntu1 [102 kB] 1337s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils arm64 2.43.50.20241126-3ubuntu1 [3258 B] 1337s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils-aarch64-linux-gnu arm64 2.43.50.20241126-3ubuntu1 [3390 kB] 1337s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libbinutils arm64 2.43.50.20241126-3ubuntu1 [782 kB] 1337s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 binutils-common arm64 2.43.50.20241126-3ubuntu1 [244 kB] 1337s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libsframe1 arm64 2.43.50.20241126-3ubuntu1 [14.3 kB] 1337s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 1337s Fetched 7826 kB in 1s (8516 kB/s) 1338s (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 ... 80333 files and directories currently installed.) 1338s Preparing to unpack .../libcap-ng0_0.8.5-4_arm64.deb ... 1338s Unpacking libcap-ng0:arm64 (0.8.5-4) over (0.8.5-3build1) ... 1338s Setting up libcap-ng0:arm64 (0.8.5-4) ... 1338s (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 ... 80333 files and directories currently installed.) 1338s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_arm64.deb ... 1338s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1338s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_arm64.deb ... 1338s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1338s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_arm64.deb ... 1338s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1338s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_arm64.deb ... 1338s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1338s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_arm64.deb ... 1338s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1338s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_arm64.deb ... 1338s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1338s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_arm64.deb ... 1338s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1339s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 1339s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1339s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_arm64.deb ... 1339s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1339s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_arm64.deb ... 1339s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1339s Setting up gpgv (2.4.4-2ubuntu20) ... 1339s (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 ... 80333 files and directories currently installed.) 1339s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 1339s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 1339s Preparing to unpack .../1-libgprofng0_2.43.50.20241126-3ubuntu1_arm64.deb ... 1339s Unpacking libgprofng0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1339s Preparing to unpack .../2-libctf0_2.43.50.20241126-3ubuntu1_arm64.deb ... 1339s Unpacking libctf0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1339s Preparing to unpack .../3-libctf-nobfd0_2.43.50.20241126-3ubuntu1_arm64.deb ... 1339s Unpacking libctf-nobfd0:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1339s Preparing to unpack .../4-binutils_2.43.50.20241126-3ubuntu1_arm64.deb ... 1339s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1339s Preparing to unpack .../5-binutils-aarch64-linux-gnu_2.43.50.20241126-3ubuntu1_arm64.deb ... 1339s Unpacking binutils-aarch64-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1339s Preparing to unpack .../6-libbinutils_2.43.50.20241126-3ubuntu1_arm64.deb ... 1339s Unpacking libbinutils:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1339s Preparing to unpack .../7-binutils-common_2.43.50.20241126-3ubuntu1_arm64.deb ... 1339s Unpacking binutils-common:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1340s Preparing to unpack .../8-libsframe1_2.43.50.20241126-3ubuntu1_arm64.deb ... 1340s Unpacking libsframe1:arm64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1340s Preparing to unpack .../9-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 1340s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1340s Setting up binutils-common:arm64 (2.43.50.20241126-3ubuntu1) ... 1340s Setting up libctf-nobfd0:arm64 (2.43.50.20241126-3ubuntu1) ... 1340s Setting up libsframe1:arm64 (2.43.50.20241126-3ubuntu1) ... 1340s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 1340s Setting up gpgconf (2.4.4-2ubuntu20) ... 1340s Setting up libbinutils:arm64 (2.43.50.20241126-3ubuntu1) ... 1340s Setting up publicsuffix (20241025.1547-0.1) ... 1340s Setting up gpg (2.4.4-2ubuntu20) ... 1340s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 1340s Setting up libctf0:arm64 (2.43.50.20241126-3ubuntu1) ... 1340s Setting up gpg-agent (2.4.4-2ubuntu20) ... 1340s Setting up gpgsm (2.4.4-2ubuntu20) ... 1340s Setting up dirmngr (2.4.4-2ubuntu20) ... 1341s Setting up libgprofng0:arm64 (2.43.50.20241126-3ubuntu1) ... 1341s Setting up keyboxd (2.4.4-2ubuntu20) ... 1341s Setting up gnupg (2.4.4-2ubuntu20) ... 1341s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 1341s Setting up binutils-aarch64-linux-gnu (2.43.50.20241126-3ubuntu1) ... 1341s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 1341s Processing triggers for install-info (7.1.1-1) ... 1341s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1341s Processing triggers for man-db (2.13.0-1) ... 1343s Reading package lists... 1343s Building dependency tree... 1343s Reading state information... 1343s The following packages will be REMOVED: 1343s libassuan0* 1344s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 1344s After this operation, 156 kB disk space will be freed. 1344s (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 ... 80338 files and directories currently installed.) 1344s Removing libassuan0:arm64 (2.5.6-1build1) ... 1344s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1344s autopkgtest [02:20:33]: upgrading testbed (apt dist-upgrade and autopurge) 1345s Reading package lists... 1345s Building dependency tree... 1345s Reading state information... 1347s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1347s Starting 2 pkgProblemResolver with broken count: 0 1347s Done 1349s Entering ResolveByKeep 1349s 1350s The following packages will be upgraded: 1350s xauth 1351s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1351s Need to get 25.1 kB of archives. 1351s After this operation, 0 B of additional disk space will be used. 1351s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 xauth arm64 1:1.1.2-1.1 [25.1 kB] 1351s Fetched 25.1 kB in 0s (116 kB/s) 1351s (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 ... 80333 files and directories currently installed.) 1351s Preparing to unpack .../xauth_1%3a1.1.2-1.1_arm64.deb ... 1351s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1351s Setting up xauth (1:1.1.2-1.1) ... 1351s Processing triggers for man-db (2.13.0-1) ... 1352s Reading package lists... 1353s Building dependency tree... 1353s Reading state information... 1353s Starting pkgProblemResolver with broken count: 0 1353s Starting 2 pkgProblemResolver with broken count: 0 1353s Done 1354s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1357s Reading package lists... 1358s Building dependency tree... 1358s Reading state information... 1359s Starting pkgProblemResolver with broken count: 0 1359s Starting 2 pkgProblemResolver with broken count: 0 1359s Done 1360s The following NEW packages will be installed: 1360s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1360s libdconf1 1360s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1360s Need to get 137 kB of archives. 1360s After this operation, 693 kB of additional disk space will be used. 1360s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libdconf1 arm64 0.40.0-4build2 [39.8 kB] 1360s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-service arm64 0.40.0-4build2 [26.9 kB] 1360s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-gsettings-backend arm64 0.40.0-4build2 [22.0 kB] 1360s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 dpkg-repack all 1.54 [11.2 kB] 1360s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1361s Fetched 137 kB in 0s (373 kB/s) 1361s Selecting previously unselected package libdconf1:arm64. 1361s (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 ... 80333 files and directories currently installed.) 1361s Preparing to unpack .../libdconf1_0.40.0-4build2_arm64.deb ... 1361s Unpacking libdconf1:arm64 (0.40.0-4build2) ... 1361s Selecting previously unselected package dconf-service. 1361s Preparing to unpack .../dconf-service_0.40.0-4build2_arm64.deb ... 1361s Unpacking dconf-service (0.40.0-4build2) ... 1361s Selecting previously unselected package dconf-gsettings-backend:arm64. 1361s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_arm64.deb ... 1361s Unpacking dconf-gsettings-backend:arm64 (0.40.0-4build2) ... 1361s Selecting previously unselected package dpkg-repack. 1361s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1361s Unpacking dpkg-repack (1.54) ... 1361s Selecting previously unselected package gsettings-desktop-schemas. 1361s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1361s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1361s Setting up dpkg-repack (1.54) ... 1361s Setting up libdconf1:arm64 (0.40.0-4build2) ... 1361s Setting up dconf-service (0.40.0-4build2) ... 1361s Setting up dconf-gsettings-backend:arm64 (0.40.0-4build2) ... 1361s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1361s Processing triggers for man-db (2.13.0-1) ... 1362s Processing triggers for libglib2.0-0t64:arm64 (2.82.2-3) ... 1362s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1367s autopkgtest [02:20:56]: test 1065022-futureproofing: [----------------------- 1368s + export DEBIAN_FRONTEND=noninteractive 1368s + n=0 1368s + failed=0 1368s + binary_package=libglib2.0-0t64 1368s + future_binary_package=libglib2.0-0xyz 1368s + pwd 1368s + srcdir=/tmp/autopkgtest.Gp36pX/build.345/src 1368s + mktemp -d 1368s + tmpdir=/tmp/tmp.jvhdTeKLFi 1368s + cd /tmp/tmp.jvhdTeKLFi 1368s + [ -e /tmp/autopkgtest.Gp36pX/build.345/src/debian/tests/manual/local-1065022.sources ] 1368s + dpkg-query -W dpkg-repack 1368s dpkg-repack 1.54 1368s + dpkg-repack --generate libglib2.0-0t64 1368s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1368s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.6Kkx1B for libglib2.0-0t64 1368s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.6Kkx1B ." 1368s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.6Kkx1B/DEBIAN/control 1368s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.6Kkx1B/DEBIAN/control 1368s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.6Kkx1B/DEBIAN/control 1368s + 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.6Kkx1B/DEBIAN/control 1368s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.6Kkx1B libglib2.0-0xyz.deb 1368s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1370s + apt-get -y install ./libglib2.0-0xyz.deb 1370s Reading package lists... 1370s Building dependency tree... 1370s Reading state information... 1371s The following packages were automatically installed and are no longer required: 1371s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1371s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 1371s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1371s libonig5 libprotobuf-c1 libstemmer0d python3-apport python3-certifi 1371s python3-chardet python3-configobj python3-debconf python3-markdown-it 1371s python3-mdurl python3-openssl python3-problem-report python3-pygments 1371s python3-requests python3-rich python3-systemd python3-urllib3 sgml-base 1371s xml-core 1371s Use 'sudo apt autoremove' to remove them. 1371s The following additional packages will be installed: 1371s xdg-user-dirs 1371s Suggested packages: 1371s low-memory-monitor 1371s Recommended packages: 1371s shared-mime-info 1371s The following packages will be REMOVED: 1371s apport apport-core-dump-handler appstream bolt cloud-init cloud-init-base 1371s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1371s gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gsettings-desktop-schemas 1371s libappstream5 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 1371s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 1371s libblockdev-utils3 libblockdev3 libdconf1 libfwupd3 libgirepository-1.0-1 1371s libglib2.0-0t64 libglib2.0-bin libgstreamer1.0-0 libgudev-1.0-0 libjcat1 1371s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 1371s libpackagekit-glib2-18 libpolkit-agent-1-0 libpolkit-gobject-1-0 1371s libqmi-glib5 libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1371s netplan-generator netplan.io networkd-dispatcher packagekit packagekit-tools 1371s polkitd python3-dbus python3-gi python3-netplan python3-software-properties 1371s shared-mime-info software-properties-common ubuntu-minimal udisks2 1371s The following NEW packages will be installed: 1371s libglib2.0-0xyz xdg-user-dirs 1371s 0 upgraded, 2 newly installed, 59 to remove and 0 not upgraded. 1371s Need to get 18.4 kB/1579 kB of archives. 1371s After this operation, 44.4 MB disk space will be freed. 1371s Get:1 /tmp/tmp.jvhdTeKLFi/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.82.2-3 [1560 kB] 1371s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 xdg-user-dirs arm64 0.18-1build1 [18.4 kB] 1372s Fetched 18.4 kB in 0s (79.2 kB/s) 1372s (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 ... 80401 files and directories currently installed.) 1372s Removing appstream (1.0.3-1) ... 1372s Removing bolt (0.9.8-1) ... 1372s Removing cloud-init (24.4-0ubuntu1) ... 1372s Removing cloud-init-base (24.4-0ubuntu1) ... 1373s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1373s Removing dconf-gsettings-backend:arm64 (0.40.0-4build2) ... 1373s Removing dconf-service (0.40.0-4build2) ... 1373s Removing fwupd (2.0.2-2) ... 1374s Removing software-properties-common (0.107) ... 1374s Removing python3-software-properties (0.107) ... 1374s Removing gir1.2-packagekitglib-1.0 (1.3.0-2) ... 1374s Removing networkd-dispatcher (2.2.4-1.1) ... 1375s Removing packagekit-tools (1.3.0-2) ... 1375s Removing packagekit (1.3.0-2) ... 1375s Removing libappstream5:arm64 (1.0.3-1) ... 1375s Removing udisks2 (2.10.1-11ubuntu1) ... 1375s Removing libblockdev-crypto3:arm64 (3.2.1-1) ... 1375s Removing libblockdev-fs3:arm64 (3.2.1-1) ... 1376s Removing libblockdev-loop3:arm64 (3.2.1-1) ... 1376s Removing libblockdev-mdraid3:arm64 (3.2.1-1) ... 1376s Removing libblockdev-nvme3:arm64 (3.2.1-1) ... 1376s Removing libblockdev-part3:arm64 (3.2.1-1) ... 1376s Removing libblockdev-swap3:arm64 (3.2.1-1) ... 1376s Removing libblockdev3:arm64 (3.2.1-1) ... 1376s Removing libblockdev-utils3:arm64 (3.2.1-1) ... 1376s Removing libdconf1:arm64 (0.40.0-4build2) ... 1376s Removing libfwupd3:arm64 (2.0.2-2) ... 1376s Removing shared-mime-info (2.4-5) ... 1376s Removing python3-dbus (1.3.2-5build4) ... 1376s Removing libglib2.0-bin (2.82.2-3) ... 1376s Removing libgstreamer1.0-0:arm64 (1.24.9-1) ... 1376s Removing libgudev-1.0-0:arm64 (1:238-5ubuntu1) ... 1376s Removing libjcat1:arm64 (0.2.0-2build3) ... 1376s Removing libjson-glib-1.0-0:arm64 (1.10.0+ds-3) ... 1377s Removing libqmi-proxy (1.35.2-0ubuntu2) ... 1377s Removing libqmi-glib5:arm64 (1.35.2-0ubuntu2) ... 1377s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1377s Removing libmbim-glib4:arm64 (1.31.2-0ubuntu4) ... 1377s Removing libmm-glib0:arm64 (1.23.4-0ubuntu2) ... 1377s Removing ubuntu-minimal (1.544) ... 1377s Removing netplan.io (1.1.1-1) ... 1377s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1377s Removing python3-netplan (1.1.1-1) ... 1377s Removing netplan-generator (1.1.1-1) ... 1377s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1377s Removing libnetplan1:arm64 (1.1.1-1) ... 1377s Removing libpackagekit-glib2-18:arm64 (1.3.0-2) ... 1377s Removing polkitd (125-2ubuntu1) ... 1378s Removing libpolkit-agent-1-0:arm64 (125-2ubuntu1) ... 1378s Removing libpolkit-gobject-1-0:arm64 (125-2ubuntu1) ... 1378s Removing libqrtr-glib0:arm64 (1.2.2-1ubuntu4) ... 1378s Removing libudisks2-0:arm64 (2.10.1-11ubuntu1) ... 1378s Removing libvolume-key1:arm64 (0.3.12-8) ... 1378s Removing libxmlb2:arm64 (0.3.21-1) ... 1378s Removing apport (2.30.0-0ubuntu5) ... 1378s Removing apport-core-dump-handler (2.30.0-0ubuntu5) ... 1379s Removing python3-gi (3.50.0-3build1) ... 1379s Removing gir1.2-girepository-2.0:arm64 (1.82.0-2) ... 1379s Removing gir1.2-glib-2.0:arm64 (2.82.2-3) ... 1379s Removing libgirepository-1.0-1:arm64 (1.82.0-2) ... 1379s Removing libglib2.0-0t64:arm64 (2.82.2-3) ... 1379s Selecting previously unselected package libglib2.0-0xyz:arm64. 1379s (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 ... 79143 files and directories currently installed.) 1379s Preparing to unpack .../libglib2.0-0xyz.deb ... 1379s Unpacking libglib2.0-0xyz:arm64 (2.82.2-3) ... 1379s Selecting previously unselected package xdg-user-dirs. 1379s Preparing to unpack .../xdg-user-dirs_0.18-1build1_arm64.deb ... 1379s Unpacking xdg-user-dirs (0.18-1build1) ... 1379s Setting up xdg-user-dirs (0.18-1build1) ... 1379s Setting up libglib2.0-0xyz:arm64 (2.82.2-3) ... 1380s No schema files found: removed existing output file. 1380s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1380s Processing triggers for sgml-base (1.31) ... 1380s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1380s Processing triggers for man-db (2.13.0-1) ... 1381s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1381s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1381s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1381s + n=1 1381s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1381s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1381s + failed=1 1381s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1381s + n=2 1381s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1381s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1381s + failed=1 1381s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1381s + n=3 1381s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1381s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1381s + failed=1 1381s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1381s + n=4 1381s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1381s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1381s + failed=1 1381s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1381s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1381s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1381s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1381s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1381s + n=5 1381s + test -e /usr/lib/*/gio/modules/giomodule.cache 1381s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1381s + failed=1 1381s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1381s + n=6 1381s + test -s /usr/lib/*/gio/modules/giomodule.cache 1381s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1381s + failed=1 1381s + apt-get -y purge libglib2.0-0t64 1381s Reading package lists... 1381s Building dependency tree... 1381s Reading state information... 1381s The following packages were automatically installed and are no longer required: 1381s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1381s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 1381s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1381s libonig5 libprotobuf-c1 libstemmer0d python3-apport python3-certifi 1381s python3-chardet python3-configobj python3-debconf python3-markdown-it 1381s python3-mdurl python3-openssl python3-problem-report python3-pygments 1381s python3-requests python3-rich python3-systemd python3-urllib3 sgml-base 1381s xml-core 1381s Use 'sudo apt autoremove' to remove them. 1382s The following packages will be REMOVED: 1382s libglib2.0-0t64* 1382s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1382s After this operation, 0 B of additional disk space will be used. 1382s (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 ... 79178 files and directories currently installed.) 1382s Purging configuration files for libglib2.0-0t64:arm64 (2.82.2-3) ... 1382s + not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1382s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1382s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1382s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1382s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1382s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1382s assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1382s + n=7 1382s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1382s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1382s + failed=1 1382s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1382s + n=8 1382s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1382s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1382s + failed=1 1382s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1382s + n=9 1382s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1382s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1382s + failed=1 1382s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1382s + n=10 1382s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1382s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1382s + failed=1 1382s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1382s + n=11 1382s + test -e /usr/lib/*/gio/modules/giomodule.cache 1382s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1382s + failed=1 1382s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1382s + n=12 1382s + test -s /usr/lib/*/gio/modules/giomodule.cache 1382s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1382s + failed=1 1382s + apt-get -y purge libglib2.0-0xyz 1382s Reading package lists... 1382s Building dependency tree... 1382s Reading state information... 1383s The following packages were automatically installed and are no longer required: 1383s apport-symptoms fwupd-signed jq libatasmart4 libatomic1 libbytesize-common 1383s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 1383s libftdi1-2 libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common 1383s libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 libstemmer0d 1383s python3-apport python3-certifi python3-chardet python3-configobj 1383s python3-debconf python3-markdown-it python3-mdurl python3-openssl 1383s python3-problem-report python3-pygments python3-requests python3-rich 1383s python3-systemd python3-urllib3 sgml-base xdg-user-dirs xml-core 1383s Use 'sudo apt autoremove' to remove them. 1383s The following packages will be REMOVED: 1383s libglib2.0-0xyz* 1383s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1383s After this operation, 4895 kB disk space will be freed. 1384s (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 ... 79178 files and directories currently installed.) 1384s Removing libglib2.0-0xyz:arm64 (2.82.2-3) ... 1384s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1384s (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 ... 79153 files and directories currently installed.) 1384s Purging configuration files for libglib2.0-0xyz:arm64 (2.82.2-3) ... 1384s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1384s + n=13 1384s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1384s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1384s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1384s + n=14 1384s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1384s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1384s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1384s + n=15 1384s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1384s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1384s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1384s + n=16 1384s + test -e /usr/lib/*/gio/modules/giomodule.cache 1384s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1384s + echo 1..16 1384s + exit 1 1384s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1384s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1384s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1384s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1384s 1..16 1384s autopkgtest [02:21:13]: test 1065022-futureproofing: -----------------------] 1385s autopkgtest [02:21:14]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1385s 1065022-futureproofing FLAKY non-zero exit status 1 1385s autopkgtest [02:21:14]: @@@@@@@@@@@@@@@@@@@@ summary 1385s build PASS (superficial) 1385s build-static PASS (superficial) 1385s girepository-tools PASS (superficial) 1385s libgio-2.0-dev-bin PASS (superficial) 1385s libglib2.0-dev PASS (superficial) 1385s installed-tests PASS 1385s closure-refcount PASS 1385s debugcontroller PASS 1385s gdbus-server-auth PASS 1385s gdbus-threading PASS 1385s gmenumodel PASS 1385s mainloop PASS 1385s memory-monitor-dbus PASS 1385s socket PASS 1385s testfilemonitor PASS 1385s thread-pool-slow PASS 1385s threadtests PASS 1385s timeout PASS 1385s timer PASS 1385s 1065022-futureproofing FLAKY non-zero exit status 1 1397s nova [W] Using flock in prodstack6-arm64 1397s flock: timeout while waiting to get lock 1397s Creating nova instance adt-plucky-arm64-glib2.0-20241204-012817-juju-7f2275-prod-proposed-migration-environment-15-bd7aeeb4-0eff-4956-a68d-869465396118 from image adt/ubuntu-plucky-arm64-server-20241203.img (UUID b9293590-1195-42ea-ba16-5ab4b1e94eab)... 1397s nova [W] Using flock in prodstack6-arm64 1397s Creating nova instance adt-plucky-arm64-glib2.0-20241204-012817-juju-7f2275-prod-proposed-migration-environment-15-bd7aeeb4-0eff-4956-a68d-869465396118 from image adt/ubuntu-plucky-arm64-server-20241203.img (UUID b9293590-1195-42ea-ba16-5ab4b1e94eab)... 1397s nova [W] Using flock in prodstack6-arm64 1397s Creating nova instance adt-plucky-arm64-glib2.0-20241204-012817-juju-7f2275-prod-proposed-migration-environment-15-bd7aeeb4-0eff-4956-a68d-869465396118 from image adt/ubuntu-plucky-arm64-server-20241203.img (UUID b9293590-1195-42ea-ba16-5ab4b1e94eab)... 1397s nova [W] Using flock in prodstack6-arm64 1397s Creating nova instance adt-plucky-arm64-glib2.0-20241204-012817-juju-7f2275-prod-proposed-migration-environment-15-bd7aeeb4-0eff-4956-a68d-869465396118 from image adt/ubuntu-plucky-arm64-server-20241203.img (UUID b9293590-1195-42ea-ba16-5ab4b1e94eab)... 1397s nova [W] Using flock in prodstack6-arm64 1397s Creating nova instance adt-plucky-arm64-glib2.0-20241204-012817-juju-7f2275-prod-proposed-migration-environment-15-bd7aeeb4-0eff-4956-a68d-869465396118 from image adt/ubuntu-plucky-arm64-server-20241203.img (UUID b9293590-1195-42ea-ba16-5ab4b1e94eab)... 1397s nova [W] Using flock in prodstack6-arm64 1397s Creating nova instance adt-plucky-arm64-glib2.0-20241204-012817-juju-7f2275-prod-proposed-migration-environment-15-bd7aeeb4-0eff-4956-a68d-869465396118 from image adt/ubuntu-plucky-arm64-server-20241203.img (UUID b9293590-1195-42ea-ba16-5ab4b1e94eab)...